First/Previous Indicator's Data in MQL

Andrew Young
44
Andrew Young  

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

Brian Dee - Random Trader
1758
Brian Dee - Random Trader  

FB


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


-BB-

Mehdi_sobhani
40
Mehdi_sobhani  
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 .