Applying One Indicator to Another in code

 

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.
 
Did you try asking this at the discussion thread of the linked article?
 
Aleksei Beliakov :

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

เช่น

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

 
Siriporn Sorwong:
Why have you translated the OP's original question into Thai?