Momentum signals

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

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: 322
illenza Junior
trader, 57 anni, monza, formatore di analisi tecnica e atteggiamento mentale nel trading
Author’s Profile

Comments

Logo Logo
Loading...