Applying One Indicator to Another in code

To add comments, please log in or register
Aleksei Beliakov
41676
Aleksei Beliakov  

maybe somebody knows how use this in code

for instance

can i pass in iMA volumes instead prices

Applying One Indicator to Another
Applying One Indicator to Another
  • 2010.02.08
  • MetaQuotes Software Corp.
  • www.mql5.com
When writing an indicator that uses the short form of the OnCalculate() function call, you might miss the fact that an indicator can be calculated not only by price data, but also by data of some other indicator (no matter whether it is a built-in or custom one). Do you want to improve an indicator for its correct application to the other indicator's data? In this article we'll review all the steps required for such modification.
JD4
840
JD4  
Did you try asking this at the discussion thread of the linked article?
Siriporn Sorwong
12
Siriporn Sorwong  
Aleksei Beliakov :

อาจจะมีใครบางคนรู้วิธีการใช้วิธีนี้ในรหัส

เช่น

ฉันสามารถผ่านในปริมาณ IMA แทนราคา

Keith Watford
Moderator
15013
Keith Watford  
Siriporn Sorwong:
Why have you translated the OP's original question into Thai?
To add comments, please log in or register