Here is a momentum indicator on multiple timeframes, 15minutes, 1 hour en 4 hours timeframe.
When all timeframes momentum are above zero, the indicator is darkgreen, when only the 15 min timeframe >0 , then the indicator is lightgreen.
It can be used as a indicator for daytrading, in general it is not wise to open short positions, when the indicator is darkgreen of open long positions when the indicator is darkred.
To be used at a 5min or 15 min timeframe.
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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
timeframe(15 minutes, updateonclose) Mom15= momentum[14](close) timeframe(60 minutes, updateonclose) Mom60= momentum[11](close) timeframe(240 minutes, updateonclose) Mom240= momentum[13](close) timeframe (default) rood=0 roze=0 oranje=0 groen=0 lichtgroen=0 geelgroen=0 If (((Mom15>0) and (Mom60>0)) and (Mom240>0)) then groen=1 else groen=0 If (Mom15>0) and (Mom60>0) then lichtgroen=1 else lichtgroen=0 If Mom15>0 then geelgroen=1 else geelgroen=0 endif endif endif If (((Mom15<0) and (Mom60<0)) and (Mom240<0)) then rood=1 else rood=0 If (Mom15<0) and (Mom60<0) then roze=1 else roze=0 If Mom15<0 then oranje=1 else oranje=0 endif endif endif return rood coloured(245,0,0), roze coloured(255,0,255),groen coloured(0,102,40), lichtgroen coloured(0,204,0),geelgroen coloured(153,255,153), oranje coloured (255,178,102) |
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
Super idée. j’ai juste un souci. j’ai pas de barre verte mais plusieurs lignes de couleurs… une idée de quoi cela peut venir? merci
change line in histgram, (click on indicator name, click on tool (
Super merci.