how can I write this code in mql?

To add comments, please log in or register
Gustavo Lima
9
Gustavo Lima  

Hi 

I am studying mql4, and am trying to convert a code in Pine Script to mql4

The code is simple, it is to know the direction of the trend.

pos = lowest(mom(ema(ohlc4, el), ml), cl)>0

neg = highest(mom(ema(ohlc4, el), ml), cl)<0

bgcolor(pos ? red : neg ? green : white, transp=70)

I would like a tips how can I write the above code in mql4?

Thanks

MThomp
193
MThomp  
Gustavo Lima:

Hi 

I am studying mql4, and am trying to convert a code in Pine Script to mql4

The code is simple, it is to know the direction of the trend.

I would like a tips how can I write the above code in mql4?

Thanks

link https://www.mql5.com/en/job/new

Creating an Order - Freelance service at MQL5.com
Creating an Order - Freelance service at MQL5.com
  • www.mql5.com
Order a technical indicator, trading robot or any other trading application from Freelance
To add comments, please log in or register