How to use other indicators value as a source price in MQL5

 

Hi

for instance when I use iMACD function, I can only pass the open, high, low or close price as a applied price

I want to know how can I pass other indicator data as a applied price. I want to pass an iEMA values to iMACD for example.

Is there any way to do that?

 
MohammadX: I want to know how can I pass other indicator data as a applied price. I

Perhaps you should read the manual. iMACD - Technical Indicators - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
   How To Ask Questions The Smart Way. (2004)
      How To Interpret Answers.
         RTFM and STFW: How To Tell You've Seriously Screwed Up.

applied_price

[in]  The price used. Can be any of the price constants ENUM_APPLIED_PRICE or a handle of another indicator.