Optimization tools
Forums › ProRealTime English forum › ProOrder support › Optimization tools
- This topic has 4 replies, 2 voices, and was last updated 7 years ago by
JohnScher.
-
-
06/29/2018 at 4:57 PM #74836
cause, this is a nogo
attached 1, attached 2, attached 3
Open and close at the same time and winnings 57 ..
maybe i did a mistake in coding.. so tell me
pls attention to the optomizing tool
H1 Breakout1234567891011121314151617181920212223242526272829303132333435363738394041424344454647//-------------------------------------------------------------------------// Hauptcode : M11 = 1H breaktout 100000 (M)// found on prt//-------------------------------------------------------------------------Defparam cumulateorders = falsedefparam flatafter = 210000if Time = 100000 thenhaut = highest[8](high)bas = lowest[6](low)amplitude = haut - basachat = 0vente = 0endifIf Time > 100000 AND Time <= 180000 THENIF achat = 0 THENbuy at haut stopENDIFENDIFIF vente = 0 THENsellshort at bas stopENDIFIf longonmarket THENachat = 1ENDIFIF shortonmarket THENvente = 1ENDIFIF longonmarket and time =toutL then //toutL optimizingtoolsell at marketEndifIF shortonmarket and time =toutS then // toutS optimizingtoolexitshort at marketEndif//set stop %loss 2set target pprofit amplitude*1.506/29/2018 at 6:04 PM #7485506/29/2018 at 6:27 PM #7486006/29/2018 at 6:34 PM #74862I’m sorry JohnScher but I do not understand what you are trying to say about your strategy. The optimization window image shows that your ToutL and ToutS variables are in the wrong format to be used in a strategy for time. That is all I can tell you from what you have posted.
07/06/2018 at 8:49 AM #75430Well, hi. No problem at all. Thanks at all.
I’ve fixed the bug, had a closer look at the optimization tool and am quite comfortable with it.
Nicolas also confirmed that the OHLC data is correct.
This gives me a basis to revise my strategies and at least improve the results in the backtest.Again, thank you.
-
AuthorPosts