How can I code this guys

 

I want to build an indicator which signals:

  • buy when the stochastic(red)  is above the trend line (green)
  • sell when the stochastic(red) is below the trend line


i have no idea of comparing this indicators so that they satisfy the two conditions above for example

when i considered the return values from the trend_line indicator they are always greater than those of the stochastic indicator.

if there is a way of comparing this indicators ,please do help


Thank you  


Chart Volatility 75 Index, H1, 2020.01.19 15:25 UTC, Binary Limited, MetaTrader 5, Demo
 

Hello you can use a call to iCustom for this.

If you need examples you can look in CodeBase

And if you need more help you can post a job over here: https://www.mql5.com/en/job

 
Marco vd Heijden:

Hello you can use a call to iCustom for this.

If you need examples you can look in CodeBase

And if you need more help you can post a job over here: https://www.mql5.com/en/job

Thank you ...