re-examine the old strategies from the library
Forums › ProRealTime English forum › ProOrder support › re-examine the old strategies from the library
- This topic has 28 replies, 8 voices, and was last updated 6 years ago by
PastaPesto.
-
-
09/16/2019 at 10:08 AM #107685
I also found Francesco’s oil hammer negated strategy works consistently well on 15min TF. Here’s the link to it: https://www.prorealcode.com/prorealtime-trading-strategies/oil-10min-hammernegated-pattern-strategy/
09/16/2019 at 1:23 PM #107711This has to be the best algo in the library?
Francesco’s algo runs until July 2017.
I only have data from March 2018, but from then to today it has gone as smoothly as in his BT.
The difference is just having used it for 10 min.
In 15 minutes it has gone really well.
Spread=3
09/16/2019 at 1:28 PM #10771309/16/2019 at 2:21 PM #107724I get the results shown in the first two images for Francesco’s oil hammer negated strategy on 10 minute and 15 minute time frames with a spread of 3.
I tried playing with the bull and bear filters to give them a no trading band by changing them to:
12bull = low > av1 and low > av2 and low > av3bear = high < av1 and high < av2 and high < av3This change massively improved the 10 minute chart results but not the 15 minute. See second two images.
I also ran a robustness test on my modified 10 minute version. The average gain per trade score is not great but the trade numbers are also very low so it is not a very conclusive test.
My opinion would be that the OOS 10 minute results are a fail for the original strategy. It would be nice to see the 15 minute results prior to what we can currently see on the 100k chart and also for a 10 minute strategy with my bear and bull filter changes. Perhaps someone with 200k might be able to help?
09/16/2019 at 2:52 PM #107739thanks Vonasi, everytime I see your analysis I learn something from you.
The equity curve of the 15min version is really appealing, there are 2 problems on this strategy as i have run it for almost 2 months on demo.
- there is no hard stoploss, which means sometimes it can be hard to survive huge drawdown
- the ‘hammer negated’ pattern is not a really good entry point as average position duration is over 8 hours (but idk why it yields that appealing curve)
09/16/2019 at 6:56 PM #10777209/16/2019 at 8:10 PM #107777Isn’t the 10 minute ok to start according to the picture I attached?
The image you attached is on the 15 minute chart and not the 10 minute chart.
09/17/2019 at 5:29 AM #10780109/17/2019 at 9:17 AM #107825They’ve been fine for the last two years so why wouldn’t it continue for a while?
So you took a strategy that had been developed and tested on a 10 minute time frame and decided to run it on a 15 minute time frame. I’m guessing that you back tested it on the different time frame first and the results were good or better than the 10 minute which is why you chose to go forward with the 15 instead of 10 minute time frame? Do you have any equity curves for the 15 minute strategy from prior to the data we can use today as they would be interesting to see?
So why would it not work in the future? Just look at the OOS equity curve for the 10 minute strategy and it clearly didn’t. Perhaps you got lucky with the switch to 15 minutes or was the decision based on any sound reasoning that 15 minutes was better than 10? One benefit I guess would be the increased period of time available for the back test so the 15 minute strategy has a longer in sample test. The strategy is based on price action and if market structure changes then the strategy could just simply stop working overnight. It would also be nice if it worked on a lot more than just one instrument.
Fingers crossed that you have found something that works better than Francesco originally discovered.
09/24/2019 at 8:16 AM #108314The Dayopen Straddle strategy https://www.prorealcode.com/prorealtime-trading-strategies/dayopen-straddle-for-dax-3-minute-timeframe/
This strategy has so many different timeframes and settings in the forum so it is a bit confusing, but I put the 10 minutes settings in demo more than 6 mounths ago and it keeps on making money. I have no idea how the different versions are doing and maybe Im just lucky with this one. Does anyone else have tested this one or do you have any opinion about it?
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150//-------------------------------------------------------------------------// Main code : Straddle DayOpen//-------------------------------------------------------------------------// common rulesDEFPARAM CUMULATEORDERS = falseDEFPARAM PRELOADBARS = 10000// optionalExtraTradeCriteria=1// positionsize and stopspositionsize = 1sl = 1 // % Stoplosspt = 1.5 // % Profit Targetts = 0.40 // % MFETrailing// indicator settignsNOP=25 //number of pointsTimeOpen=090000// day & time rulesONCE entertime = TimeOpenONCE lasttime = 100000ONCE closetime = 240000 // greater then 23.59 means it continues position overnightONCE closetimeFriday=173000tt1 = time >= entertimett2 = time <= lasttimetradetime = tt1 and tt2DayForbidden = 0 // 0=sundaydf = dayofweek <> dayforbidden// setup number of trades intradayif IntradayBarIndex = 0 thenlongtradecounter = 0Shorttradecounter = 0Tradecounter=0endif// general criteriaGeneralCriteria = tradetime and df// trade criteriatcLong = countoflongshares < 1 and longtradecounter < 1 and tradecounter <1tcShort = countofshortshares < 1 and shorttradecounter < 1 and tradecounter <1// indicator criteriaIf time = TimeOpen thenDayOpen=openendifif IntradayBarIndex = 0 thenlx=0sx=0endifif high > DayOpen+NOP thenlx=1elselx=0endifif low < DayOpen-NOP thensx=1elsesx=0endif// trade criteria extramin1 = MIN(dhigh(0),dhigh(1))min2 = MIN(dhigh(1),dhigh(2))max1 = MAX(dlow(0),dlow(1))max2 = MAX(dlow(1),dlow(2))If ExtraTradeCriteria thentcxLong = high < MIN(min1,min2)tcxShort = low > MAX(max1,max2)elsetcxLong = hightcxShort = lowendif// long entryIf GeneralCriteria thenif lx and tcLong and tcxLong thenbuy positionsize contract at marketlongtradecounter=longtradecounter + 1tradecounter=tradecounter+1endifendif// short entryIf GeneralCriteria thenif sx and tcShort and tcxShort thensellshort positionsize contract at marketshorttradecounter=shorttradecounter + 1tradecounter=tradecounter+1endifendif// MFETrailingtrailingstop = (tradeprice/100)*tsif not onmarket thenMAXPRICE = 0MINPRICE = closepriceexit = 0endifif longonmarket thenMAXPRICE = MAX(MAXPRICE,close)if MAXPRICE-tradeprice(1)>=trailingstop*pipsize thenpriceexit = MAXPRICE-trailingstop*pipsizeendifendifif shortonmarket thenMINPRICE = MIN(MINPRICE,close)if tradeprice(1)-MINPRICE>=trailingstop*pipsize thenpriceexit = MINPRICE+trailingstop*pipsizeendifendifIf onmarket and priceexit>0 thensell at marketexitshort at marketendif// exit at closetimeIf onmarket thenif time >= closetime thensell at marketexitshort at marketendifendif// exit friday at set closetimeif onmarket thenif (CurrentDayOfWeek=5 and time>=closetimefriday) thensell at marketexitshort at marketendifendif// build-in exitSET TARGET %PROFIT ptSET STOP %LOSS slGRAPH 0 coloured(300,0,0) AS "zeroline"GRAPH (positionperf*100)coloured(0,0,0,255) AS "PositionPerformance"09/24/2019 at 8:21 AM #108317Thank you PastaPesto.
Would you mind posting the report of this strategy on your demo account?
09/24/2019 at 8:39 AM #10831809/24/2019 at 10:20 AM #108328I added PastaPesto results to here
Are those results for Lot size = 1 @PastaPesto please??
If not Lot size = 1 then what is the Lot size you used please? Only asking so the Log has a common baseline re performance.
09/24/2019 at 12:03 PM #108339 -
AuthorPosts
Find exclusive trading pro-tools on