First/Previous Indicator's Data in MQL

 

Hello,


Is there a way of doing in MQL something similar to the 'First indicator's data' and 'Previous indicator's data' option in the 'Apply to' dropdown box in the Indicator Parameters tab? I would like to apply, for example, a Bollinger Band on top of another indicator. Is there any way to do this in code or can it only be done in the terminal?


Thanks,

Andrew

 

FB


AFAIK - you can do this in both chart window and code...


-BB-

 
BarrowBoy:

FB


AFAIK - you can do this in both chart window and code...


-BB-

Hi

Could you please tell how we can use that in code ?

just a simple example please . :-)

really thanks .

Reason: