how select a candel
Perhaps you should read the manual. Timeseries and Indicators Access - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
How To Ask Questions The Smart Way. (2004)
How To Interpret Answers.
RTFM and STFW: How To Tell You've Seriously Screwed Up.
hi dears
i want to select a candel for exampel number 1 and check myCondition is true in candel 1 or no. i cant whrite this in expert
void OnTick() { int selected_candle = 1; bool your_condition; double candle_select = iClose(NULL,0,selected_candle); if(your_condition == candle_select){ // do something here } }
your question is not clear with logic how you are going to select a candle but you can do something like this, code is not compiled, its for reference only
hi dears
i want to select a candel for exampel number 1 and check myCondition is true in candel 1 or no. i cant whrite this in expert