illenza

Momentum signals

Category: Indicators By: illenza Created: May 10, 2019, 7:45 AM
May 10, 2019, 7:45 AM
Indicators
1 Comment
Momentum signals

It is a simple indicator based on the upward or downward crossing of momentum with its average. Obviously it can be improved and if someone has the chance to try it and improve it well and let me know.

periodi = 20
sma = 5
valoresopra = 25
valoresotto = 8

Offset  = 4 * pipsize
mom = momentum[periodi](close)
momsma = wilderAverage[sma](momentum[periodi](close))

c1 = (mom < -valoresotto)
c2 = (momsma CROSSES under mom)
c3 = (mom > valoresopra)
c4 = (momsma CROSSES over mom)


IF c1 AND c2 THEN
 DRAWARROWUP(barindex, LOW - offset) COLOURED(50,205,50)
ENDIF
IF c3 AND c4 THEN
 DRAWARROWdown(barindex, high + offset) COLOURED(255,0,0)
ENDIF

RETURN

Download
Filename: smamom.itf
Downloads: 325
illenza
illenza Junior
trader, 57 anni, monza, formatore di analisi tecnica e atteggiamento mentale nel trading
Author’s Profile

Comments

ribes65
6 years ago
#

Buongiorno Illenza, Il tuo indicatore è molto efficace, ma non funziona su tutte le azioni. In effetti, le frecce non compaiono su tutti i titoli. Hai codificato uno screener dall'indicatore perché secondo me funzionerebbe molto bene? Grazie mólto. ribes65

ProRealCode ProRealCode
Loading...