Forum

Backtest exlude some options

Hello, i wrote an EA and inside of this EA im able to enable or disable a Moving Average, but during the backtest if i select disable to the MA i wouldn't like during the backtest the counter of possible MA values increase, because it has a dependency of a bool use_M,A if i won't use it i'd like to

Export data from indicator to iCustom

Hello, im trying to use this indicator -> https://www.mql5.com/en/code/11432 inside of my EA, but via iCustom i cannot obtain the candle result, how i can export data from this indicator to the iCustom ? if possible can you provide me an example of iCustom call ? I tried to add an buffer and store