(MQL4) How to code First indicator's data?

 

i want moving averages with  Apply value First Indicator's data? In code only 7 Enum Allowed how can i get this value.

 
Muhammad Zubair Ashraf:

i want moving averages with  Apply value First Indicator's data? In code only 7 Enum Allowed how can i get this value.

  1. MQL4 should go to the thread at the bottom of the forum!
  2. What do you mean with first data: a) oldest (Time[Bars-1])  b) most recent (Time[0]) ??
  3. To understand this put the cursor above e.g. Bars and press F1 and start reading.
 
Muhammad Zubair Ashraf: i want moving averages with Apply value First Indicator's data? In code only 7 Enum Allowed how can i get this value.
  1. Why did you post your MT4 question in the Root / MT5 General section instead of the MQL4 section, (bottom of the Root page?) General rules and best pratices of the Forum. - General - MQL5 programming forum
  2. On the Chart to drag the MA on to the previous indicator and select First/Previous Indicator's data.
  3. In code, add a second buffer and populate it (perhaps with iMAOnArray.)
Reason: