intraday DAX strategy 5min mini1€ spread 1
Forums › ProRealTime English forum › ProOrder support › intraday DAX strategy 5min mini1€ spread 1
- This topic has 502 replies, 34 voices, and was last updated 4 years ago by Asteriks.
-
-
01/24/2017 at 3:32 PM #22279
@Raul & jonjon
You’ll have to verify each order to see if the strategy perfom the exact same way when you expand the backtest history.
I think the main cause could be the lot size calculation that changed accordingly to gain and loss, so if the serie start at a different time, it could be completely different if the strategy was started the day before or the day after… That’s the main reason a trading strategy should always be tested with constant lot size.
1 user thanked author for this post.
01/24/2017 at 3:36 PM #2228001/24/2017 at 3:52 PM #22281hi,
today in Germany 30 in real account no trade but in demo account the same strategy today trade. Why ?
Just now in demo account trade with wall street cash with little gain (ptrailin 5.4 and 5..two version). Thanks
01/24/2017 at 3:55 PM #22282Hi jonjon, that has happened proque in the next bar of 5 minutes the price has not reached to touch the opening order, to be scalping, I look for jerks in the market like yesterday. And if they do not occur, better not to enter.
Let’s try what Nicolas says, try this robot please. Just put a contract steadily, although not the same to not increase or decrease, we can see what happens in 2013.
By the way, do you pay for having 200,000 bars in DAX?
01/24/2017 at 3:59 PM #22286Check that in the demo you have the same version as in real, because earlier did not launch orders, but bought directly, now launches the order and if it does not touch the price in the next bar, it is eliminated because there has not been enough movement Strong in price and no longer worth risking. If someone wants to try to keep the order, I could try, I would not know how to do this so that the order stays in the market all day in case it touches at any time.
01/24/2017 at 4:06 PM #22287What strategy on Dow are you running?
The minimum trailing stop distance with IG seems to be 10 points for my demo account. What about you?
01/24/2017 at 5:35 PM #22310Hi guys, Testing things in my head, I just happen to something new, maybe a little crazy, but the backtests give a good result.
It is basically the same as it has been until now, but every 5 minutes the first 15 minutes of the day, ie at 9:00 will place an order depending on the direction of the bar at 8:55 p.m., at 9:05 p.m. another with The direction of the bar from 9:00 p.m., at 9:10 p.m. another order with the direction of the bar of 9:05 and finally at 9:15 p.m. another with the direction of the bar of 9:10 p.m.
I do not put accumulator of positions, I always always put 10 contracts.
The problem when performing the backtest is that at most by backtest can perform 500 checks tick by tick, when performing 4 operations daily, reaches this figure in a few months, so you have to go backtesting step by step. In this case it does not influence the number of contracts because it always introduces the same.
Attached captures the backtests step by step.
As in the previous program, there are days that work better than others. It works especially well operating from Monday to Wednesday or from Monday to Thursday, without operating on Fridays.
01/24/2017 at 5:37 PM #2231701/24/2017 at 5:44 PM #22318That’s how the chart works every day of the week.
In this case, as there is no accumulator of contracts, no matter how it fails on Fridays because it does not cut any winning streak, each day is independent of the previous one.
For that reason while in the long of benefits, can be operated on Fridays also Attached step by step because the backtest has a maximum of 500 checks tick by tick.
01/24/2017 at 5:48 PM #22323This is the code to operate every day of the week, if you want to modify it, you have to put a 0 instead of 1, where it puts daytrading = 1.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152// Definición de los parámetros del códigoDEFPARAM CumulateOrders = false // Acumulación de posiciones desactivadaDEFPARAM FlatAfter =173000HoraEntradaLimite = 091500HoraInicio = 090000if dayofweek=1 then //Mondaydaytrading=1endifif dayofweek=2 then // Tuesdaydaytrading=1endifif dayofweek=3 then // Wednesdaydaytrading=1endifif dayofweek=4 then //Thursdaydaytrading=1endifif dayofweek=5 then // Frifaydaytrading=1endifif Time >= HoraInicio and time <= HoraEntradaLimite and daytrading= 1 thenc1 = open < close-2if not onmarket thenIF c1 THENbuy 10 contract AT close+2 stopendifc2= open > close-1IF c2 THENsellshort 10 contract AT close-1 stopendifendifendifSET STOP ptrailing 501/24/2017 at 5:49 PM #22324Sick results Raul!! You mind sharing the code?
01/24/2017 at 5:56 PM #2232501/24/2017 at 6:01 PM #2232601/24/2017 at 6:12 PM #2233401/24/2017 at 6:51 PM #22342 -
AuthorPosts
Find exclusive trading pro-tools on