Hi all
I were looking for and indicator that do not move so quickly as the Hull Moving Average but no lagging like exponential or weighted moving average, so I created my own in a very simple arithmetic way.
The indicator also show support and resistance with locating the locals max and min
Hope you like it and continue improving it.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
//LEO MOVING AVERAGE //Formula: LMA=WMA+(WMA-SMA) LMA=2*weightedaverage[period](close)-average[period](close) //supports and resistances once support=low once resistance=high smoothLMA=weightedaverage[period](LMA) IF LMA crosses over smoothLMA THEN support=lowest[period](low) ENDIF IF LMA crosses under smoothLMA THEN resistance=highest[period](high) ENDIF support=min(low,support) resistance=max(high,resistance) RETURN LMA AS "LMA", support as "support", resistance as "resistance" |
Share this
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.
ProRealTime ITF files and other attachments :PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials
Interesting indicator, will play with this, thanks for your contribution!
Merci de votre contribution !
Hi all,
I posted a new version of this indicator ( I just add arrows to spot the local maximums and local minimums
here
https://www.prorealcode.com/topic/dobule-bottom-or-double-top/
Muchas Gracias por compartir este interesante indicador.
Un saludo
hola gracias leo