And can you insert the option to use diffrent moving averages to calculate the lines , in some indicators you have made there are 20 diffrent ones , i would like that in the indicator below.
Here is a version with the 20 types of averages : triggerlines_of_averages_mtf_amp_alerts.mq4
Hi Mladen/Mr Tools
@Mladen, thank you for the MTF update to Extreme_Spike.
I use the XO -MTF from this forum extensively in my trading. Could you assist with the following additions:
1) Add functionality/option to color the candle bars (with the option to set color and width of candle coloring)
2) Add functionality for a user to select a unique .wav file for the sound alerts. One sound for buy and one for sell.
Attached find the current version of XO - MTF 1.01 (Let me know if there is a newer one available.
Thanks in advance for all the work.
Just checking : you mean candles on the main chart?
Here is a version with bars and custom sound file for alerts : XO - mtf & alerts nmc 2.mq4
Can you add the option:
Alert on current on and off
Im getting Alerts to often , i think it will work better with that option.
That is due to the nature of centered TMA. Each time when the slope changes it will alert. But changing alerts to closed bar will not help - as you know last half period bars of centered TMA are recalculating, and checking current bar of the first closed bar would give almost exactly the same frequency of slope changes.
The only solution would be to check half period + 1 bar, but then it would be a very lagging alert
That is decompiled code too
But anyway, the upper line is a moving average of a high and lower is a moving average of low (the kind of ma is depending on the TType parameter). The way it draws color of lines, it repaints and is showing wrong colors (colors should be depending on the slope of the average and as you can see it is not so - see the lower line - it is showing the slope of the upper - average of high - slope), and in all the cases when there is neither red nor blue color it is repainting (cases when the slope is 0 are very very rare, and that white line is a coding error)
Better to use some other indicator
Is there a channel based indicator that works like the Tma centered & bands that dosenst repaint ?