Guilherme Guimaraes:
could someone help me with this code, because i want the sign to appear on candle 1 + i when closing, and my sign only appears on i.
Buffer2[i] = Close[1+i]; //Set indicator value at Candlestick Close
if(i == 0 && Time[0] != time_alert) { myAlert("indicator", "Sell"); time_alert = Time[0]; } //Instant alert, only once per bar
Yes
Buffer2[i+1] = Close[i+1]; //Set indicator value at Candlestick Close if(i == 0 && Time[0] != time_alert) { myAlert("indicator", "Sell"); time_alert = Time[0]; } //Instant alert, only once per bar
Lorentzos Roussos:
Yes
TH!

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
could someone help me with this code, because i want the sign to appear on candle 1 + i when closing, and my sign only appears on i.
Buffer2[i] = Close[1+i]; //Set indicator value at Candlestick Close
if(i == 0 && Time[0] != time_alert) { myAlert("indicator", "Sell"); time_alert = Time[0]; } //Instant alert, only once per bar