View Single Post
  #36 (permalink)  
Old 11-24-2008, 07:34 AM
newdigital newdigital is offline
Administrator
 
Join Date: Sep 2005
Posts: 20,079
Blog Entries: 241
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
I am using those indicators all the time periodically and no any delay. I have the other problem: it has alert once only and I have 10 charts with 2 BT indicators on it ... too many alerts and those alerts are coming immediately all together ... If I close alert window so this alert will not repeat anymore and I will need to go to Terminal's Experts window just to see whole alerts in that time ...

I am using
AlertMode = 2; //0-off,1-warning mode,2-alert mode
that is alert on closed bar.
I did not use warning mode as I do not want to trade the signal which may be repainted ... because warning mode is alert on open bar. So I am using alert on close bar (AlertMode = 2).
When bar is closed so I am receiving many alerts and it is immediately. But I am not trading the alerts. I am trading when dot and arrow are on the same close bar ... and it is not often case ...

As to Time[i] ...
I am not a coder but as I know - it is the time to open the bar and num ber of the bar is i.

May be it is better to use:
datetime iTime( string symbol, int timeframe, int shift)

But I do not know sorry.
__________________
My blog on TSD
Reply With Quote