Hi everyone,
I’m sharing this strategy I’ve been working on recently. It’s a breakout / explosive momentum designed for the Nasdaq working on H1 & H4.
Easy and straightforward strategy, can also be converted to an indicator and well adapted to stocks!
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 52 53 54 55 56 57 58 59 60 61 62 63 64 |
//------------------------------------------// // Impulse Momentum Strategy - Nasdaq - Thibauld Robin //------------------------------------------// // Base momLen = 13 volLen = 21 atrLen = 14 // MAs fastMA = AVERAGE[9](CLOSE) slowMA = AVERAGE[21](CLOSE) // Momentum Components priceMom = (CLOSE - CLOSE[momLen]) / CLOSE[momLen] * 100 volMom = (VOLUME - VOLUME[momLen]) / VOLUME[momLen] * 100 // Directional Movement dmPos = HIGH - HIGH[1] IF dmPos <= 0 THEN dmPos = 0 ENDIF dmNeg = LOW[1] - LOW IF dmNeg <= 0 THEN dmNeg = 0 ENDIF dmFilter = 0 IF dmPos > dmNeg AND dmPos > 0 THEN dmFilter = 1 ENDIF // Volatility atr = AVERAGETRUERANGE[atrLen](CLOSE) volRatio = VOLUME / AVERAGE[volLen](VOLUME) // Impulse Detection impulseUp = (CLOSE - CLOSE[3]) / (HIGHEST[3](HIGH) - LOWEST[3](LOW)) * 100 impulsePower = (HIGH - LOW) / AVERAGE[5](HIGH - LOW) // Normalized Components normMom = (priceMom - LOWEST[momLen](priceMom)) / (HIGHEST[momLen](priceMom) - LOWEST[momLen](priceMom)) normImpulse = (impulseUp - LOWEST[momLen](impulseUp)) / (HIGHEST[momLen](impulseUp) - LOWEST[momLen](impulseUp)) // Composite Impulse Signal signal = (normMom * 2 + normImpulse * 3) / 5 signalMA = AVERAGE[8](signal) ONCE pos = 0 // Entry IF signal > signalMA AND signal > 0.7 AND volRatio > 1.2 AND impulsePower > 1.8 AND dmFilter = 1 AND fastMA > slowMA AND pos = 0 THEN BUY 1 CONTRACTS AT MARKET SET STOP %LOSS 1 pos = 1 ENDIF //Exit IF pos = 1 AND (signal < signalMA OR CLOSE < fastMA) THEN SELL AT MARKET pos = 0 ENDIF |
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 :
Filename : download the ITF files
How to import ITF files into ProRealTime platform?
PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials