Intraday Kaufman Divergence Strat
Forums › ProRealTime English forum › ProOrder support › Intraday Kaufman Divergence Strat
- This topic has 3 replies, 2 voices, and was last updated 4 years ago by
MAKSIDE.
-
-
10/02/2020 at 5:00 PM #146215
Hello,
I tested by curiosity a strategy found in the last Kaufman Perry’s book, here is the rules :
It’s a intraday momentum divergence strategy, on equities, buying when the price is falling but a momentum indicator is rising from a low point. Opposite for sales.
The momentum is the 10-day RSI
The standard action is to sell and set a profit-target based on volatility. We can exit with a loss on a new price high or a momentum low; we can exit with a profit using a price profit target or a momentum high. That gives us natural exit rules without using a stop-loss.for buy signals, the opposite needs to occur. The price lows need to decline at a slower rate.
When the momentum of the highs is declining and the momentum of the lows are rising, we have the sell condition, and when the momentum of the lows is rising thile the momentum of the highs are falling, we can buy.
Buy signal :
- low(t) > low(t-1) > low(t-2). The lows of the price bar are rising.
- The RSI of the low prices is less than 20. The price is oversold
- The difference beteween the RSI of the high and RSI of the lows must be greater then 15. This assures that the high and lows are moving differently.
- We exit the long trade when the RSI of the high >=95
Separating by 15 points two momentum indicators descrease the number of trades but increases the percentage of profitable trades. Results on 2016, 5min Timeframe on SmallCap ETF : 29 shorts, 14 buys, 78%Winrates
You now got all. I allow myself to share this strategy, because, like many book’s strategy she is not complete. We don’t have every sells conditions and something disturb me in the rules : the RSI period.
Btw, i created this, note it’s only a draft and i maybe bad coded rules above:
Kaufman Div1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950DEFPARAM CumulateOrders = False // Cumul des positions désactivén = 1//LOWSc1a = low[0]>low[1] and low[1]>low[2]c1v = high[0]<high[1] and high[1]>high[2]//RSIRSI1l = RSI[3](low)RSI1h = RSI[3](high)RSI1a = RSI1l <20RSI2a = RSI1h - RSI1l > 15RSI1v = RSI1h > 80RSI2v = RSI1l - RSI1h > 15c2a = RSI1a AND RSI2ac2v = RSI1v AND RSI2vCONDBUY = c1a AND C2aCONDSELL = C1v and c2v//ENTREE LONGIF CONDBUY THENBUY N SHARES AT MARKETENDIF//EXIT LONGexit1 = RSI1h >95IF Exit1 thensell at marketENDIF//ENTREE SHORTIF CONDSELL THENSELLSHORT N SHARES AT MARKETENDIF//EXIT SHORTexits = RSI1l <= 5IF ExitS THENexitshort AT MARKETENDIFResults on many stocks are interesting but the stratgy need more works.
I see the attached backtest as “accident”. I took the code above, optimised c2a and c2v on 1min Dow. But it shows us that we can get something from this strategy. If u plan working on it, Kaufman is using 5min timeframes, not 1min as i did.
I’m pretty sure it could interest someone.
10/02/2020 at 5:41 PM #146222Interesting
Do you try to add a higher timeframe above ?
On my side, already tested in the past, this king of strategy.. Sometimes, it’s very bad.
Based only RSI and candle, it’s difficult, lot of false signals
With M1, i like it 😉 , only historic data is a problem.. but.. 🙂
10/02/2020 at 6:00 PM #146223RSI high/low difference is supposed to be a filtrer for false signals.
Where i’m not sure on RSI period. There is a problem on the system description, are we supposed to use RSI of the 3 lasts low/high or RSI[10](dclose) ? MTF could maybe answer this question. Gonna try…
Where i’m confidence is when i see the result after 1 hour of work and 50 codes lines. If we dig we certainly can found gold.
10/02/2020 at 8:52 PM #146248 -
AuthorPosts