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/21/2017 at 4:40 PM #21963
hello
just a question.
Why did you put a stop trailing in a strategy of 1 mn.(the must of case) when we know that the trailing moove every 5 mn (timeframe)?
TAKE CARE
with the backtest, it”s not reality even with v10.3 tick by tick.
exemple the 20 january.backtest v10.3 tick by tick give a win about 258.50 euros and rhe reality it’s a lost 5 points.it’s the case of “0 BAR”.
I prefer to stay with the original version..5-10
t-y
01/21/2017 at 4:46 PM #21965An example:
At 600 euros profit, it uses 10 contracts.
We can lose 10 contracts * 5 points = 50 euros
8.4% of profits.
But if we have 15,000 euros profit, it uses 38 contracts.
We can lose 38 * 5 = 190 euros
A 1.26% of profits.
Do not you think it would be better to take less risk in the beginning?
01/21/2017 at 5:31 PM #21971Hi larouedegann.
Actually, to me live on Friday I was left at 0 euros the operation, it depends on the speed of execution of the platform, on the backtest it has won. I believe that in the long term it is more useful to use trailing since if you lose, you lose 5 equal, but to win you can win more than 10. you have to keep in mind that it will not always be as fast as this Friday. Another option is the last one I sent that is to change the take by 5 and the stop by 10, in reverse that at the beginning
01/21/2017 at 5:45 PM #2197601/21/2017 at 6:23 PM #21981Good question nicolas, I tried to optimize it and I got the best result. In case the first bar of 5 minutes is positive, puts a purchase order 2 points above the closing, and in the case that is negative, puts a purchase operation 1 point below the closing. I have tried different configurations, but the best comes out. You can try to put +2 and -2 or +1 or -1
01/21/2017 at 7:08 PM #2198201/22/2017 at 12:08 PM #22008@CN
There are several versions, that depends on the risk that each one wants to assume, all are based on the same inputs and outputs, the only thing that changes is the way to add or subtract contracts. Except one you change the by 5 and the stop by 10. The attached:
01/22/2017 at 12:27 PM #22014hi,
your opinion it’s correct but in thsi I prefer use my version that start with 0ne lot. If you see in my strategy there is a variable called “Lottfree” that now is equal to 0. If the strategy makes money and for example reach 2250 I can valorized it with -2250 and I can change the version and I can value to use your version in order to minimized the risk like you have said. In this moment for me is important to start with 1 lot.
I’m starting tomorrow with the version below.
12345678910111213141516171819202122232425262728293031323334353637383940414243// Definición de los parámetros del códigoDEFPARAM CumulateOrders = false // Acumulación de posiciones desactivada// La posición se cierra a las 17:29 p.m. si no toca ni stop ni take.DEFPARAM FlatAfter =173000once ordersize=1HoraEntradaLimite = 090600HoraInicio = 090500Margin = 60Lottfree = 0orderSize = max(1,1+ROUND((strategyprofit-lottfree)/Margin))ordersize=min(38,ordersize)n=1if Time >= HoraInicio and time <= HoraEntradaLimite thenif not onmarket thenc1 = open < close-2*pointsizec2= open > close-1*pointsizeIF c1 THENbuy ordersize*n contract AT close+2 stopendifIF c2 THENsellshort ordersize*n contract AT close-1 stopendifendifendifSET STOP ptrailing 501/22/2017 at 12:34 PM #2201501/22/2017 at 1:13 PM #22019Ok, had not taken into account the lottfree variable. Let’s see if there’s any luck and we’ll chain some winning days soon!
01/22/2017 at 1:21 PM #22020@CN
The first is the “original”, has a trailing stop of 5 points and accumulates contracts as you hit and divide between 2 if it fails.
The second, has the risk manager @volpiemanuele and also the same summation as the first, that is, has 2 variables for which adds and subtracts contracts.
The third, only has the risk manager @volpiemanuele.
The fourth changes the trailing by a normal stop, stop 10 and take 5, the number of hits improves considerably, but the ratio wins / lost worsens.
It is missing that @jonjon try with 200,000 bars the latter.
01/22/2017 at 2:47 PM #22028Hi Guys
Please forgive me if I am missing something here (as usual :)) I ran the SL5 CON GSTOR RIESGO Algo (see list of 4 Algos above) and with tick-tick backtest OFF … I got numerous zerobars and results showed + £34K PROFIT over 100,000 bars on DAX 5 Min TF.
Run same Algo over 100,000 5M bars with tick-tick backtest ON and I get Minus / – £2K LOSS. Also the equity curve rarely even gets above my starting capital … see attached.
The second equity curve shown on attached is the most recent pasted version above run with 1 Lot … similar results.
Feel free to say … you’ve f****d up big style Gra … what you should be doing is this …. ??
Thanks
GraHal01/22/2017 at 3:02 PM #22031Hi GraHal,
Something has to fail you, attached the backtest tick by tick and spread 1. (photos 1 and 2)
I see you have many positions open for a long time, something is wrong there. (Photo3) on my backtest close at the moment (foto4)
01/22/2017 at 3:04 PM #2203701/22/2017 at 4:15 PM #22045 -
AuthorPosts
Find exclusive trading pro-tools on