Custom Indicator History

 

Hello!

Im new in MQL4, I'm creating a CI but I note that every time I switch from one chart to another the trends Im crating began from zero, there is a way to keep the local history in a chart?

Best Regards


 
forrante:

Hello!

Im new in MQL4, I'm creating a CI but I note that every time I switch from one chart to another the trends Im crating began from zero, there is a way to keep the local history in a chart?

If you just use tick data or the current Bid or Ask to create your Indicator then it will reset each time, it's up to you to save the data if thats what you want . . .
Reason: