Hello folks,
I am looking for some help in order to create a simple indicator that would "smooth" the chart a bit. I don't know MQL4 coding.
The idea is just to overdraw the color of the candlesticks with the following process :
-When a candlestick closes in the reverse direction than the previous one, but with a smaller body, then it keeps the color of the previous candlestick.
This way the chart would avoid small price corrections.
For instance I joined a picture of a 17 sequence. Let us start at the white candlestick which is crossed by the blue line and finish at the white candlestick crossed by the other blue line. Using my indicator, it would repaint as following : W W W B B B B B B B B B B B B B W
If possible, that would be great to add a variable so the user can choose to smooth it with more than just the previous candle and compare the actual candlestick to the "2" previous ones, for example.
Could someone evetually code it for me ?
I am looking for some help in order to create a simple indicator that would "smooth" the chart a bit. I don't know MQL4 coding.
The idea is just to overdraw the color of the candlesticks with the following process :
-When a candlestick closes in the reverse direction than the previous one, but with a smaller body, then it keeps the color of the previous candlestick.
This way the chart would avoid small price corrections.
For instance I joined a picture of a 17 sequence. Let us start at the white candlestick which is crossed by the blue line and finish at the white candlestick crossed by the other blue line. Using my indicator, it would repaint as following : W W W B B B B B B B B B B B B B W
If possible, that would be great to add a variable so the user can choose to smooth it with more than just the previous candle and compare the actual candlestick to the "2" previous ones, for example.
Could someone evetually code it for me ?