Is it possible to make this indi into an EA?
This chart contains 2 indicators. The basic MT4 Bollinger Bands [aqua lines].
And TriangularMA centered bands [red/green lines].
The red arrows show where the BB value is greater than TMA.
The green arrows show where the BB value is less than TMA.
Would it be possible to combine these 2 indicators and include Alerts and Arrows at the crossovers?
I know the TMA recalculates, but I’m only interested in the current candle.
In this chart the BB properties were: Period=22 and Deviations=3.
The TMA properties were: HalfLength=10, Price=0, AtrLength=100 and AtrMultiplier=2.0
Thank you for your consideration and help.
It can be done, but to warn you that the current candle is the one that will repaint the most
OK, then how about putting the Alerts/Arrows on the 1st closed candle, and ignore the current candle that is forming.
The thing with centered TMA is that half period last bars will repaint. The current will repaint the most. Next a bit less. And so on (that is due to the way how the missing part s interpolated).
So for the last half period bars of centered TMA, we can not avoid repainting
is possible to modify Simple_ZigZag.mq4 to show Close price insthead High and Low ?
Here you go : simplezz_-_close_price.mq4
Thank you mladen, but unfortunately dont work properly.
This indicator stop to draw zigzag on first bar wth reverse trend (if current trend is up and next bar have Close < Open or viceversa)
Can you fix this please ?
You have asked that the indicator uses the close price instead of high and low
Would you mind explaining in detail how the indicator should treat the prices, what prices should actually be used and what the comparison conditions should be like?