Forum

parameters of indicators handle change in OnTick() in MT5, how to assign the handle in OnInit()

I have been always told the indicator handle should be assigned in the OnInit() in MT5, however if the indicator parameters will be changed in the OnTick(), for example indicators MA 's period will be varied in the OnTick(), how to address this problem

MT5 backtesting chart pile up

MT5 chart pile up to make chart to mangle while strategy apply indicators, some of which use time series (ArraySetAsSeries = true), some use non time series. how to solve this problem