Download MetaTrader 5
To add comments, please log in or register
Register as a seller and start making profit!
Chin Wai Hoong
7
Chin Wai Hoong 2016.06.08 15:00 

I had been thinking on how to make this indicator. In EA its easier, but im new in using array in making an indicator.

ATRresistance=high+ATR. 
Its like a stop loss
ATRresistance line can only move down.
If the latest ATRresistance is higher, it will take the previous value.
Unless it is pushed up by the price high itself.

ATRsupport is the reverse. 


Any advice? 

 

 

Fernando Carreiro
1502
Fernando Carreiro 2016.06.08 15:26  

It seems very similar to a "Chandelier Exit" but possible your idea is in reverse!

Here is a link from the Code Base, but it is coded in the old style: https://www.mql5.com/en/code/7249

So do a search here and on Google to see if you find one in the new style of MQL4+ coding.

/
To add comments, please log in or register