difference back test vs Real ?
Forums › ProRealTime forum Français › Support ProOrder › difference back test vs Real ?
- This topic has 5 replies, 2 voices, and was last updated 2 years ago by
deusjul.
-
-
02/24/2023 at 8:48 PM #210450
Bonsoir,
J’ai un pb que je n’arrive vraiment pas à résoudre. le meme programme ne réagit pas pareil selon que je sois en reel ou en automatique. le prgm est pourtant simple : J’identifie 2 niveaux clefs et j’entre sur le premier. Le 2eme ne me sert que de back up.
Etonnement, des fois le prgm marche tres bien et des fois il entre et sort en même tps. incompréhensible. Je suspecte trading price.
Un gd merci poru votre aide.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889defparam CUMULATEORDERS=truedefparam PRELOADBARS=0upp2=333292upp=333263//dnn=32699dnn2=32660stopup=33340stopdn=32500//tp=10trailingstop = 10set stop ploss 150once goupp=1once goupp2=1once godnn=1once godnn2=1///////////// short///////////////////entrée shortif high<upp and goupp=1 and goupp2=1 and countofposition=0 and high>upp-50 thensellshort 1 contract at upp limitendif//sécurisation pour n'y aller qu'une fois sur premiere uppif high crosses over upp or shortonmarket thengoupp=0endif//short 2eme barriereif countofposition=-1 and goupp2=1and high>upp2-50 thensellshort 1 contract at upp2 limitendif//sécurisation pour n'y aller qu'une fois sur premiere uppif high crosses over upp2 or countofposition<-1 thengoupp2=0endif//collect des gainif countofposition=-1 thenexitshort at positionprice-tp limitendif//sortie flatif countofposition<-1 thenexitshort at positionprice limitendifif countofposition<-1 thenexitshort at stopup stopendif///////////// long///////////entrée long//and godnn=1if low>dnn and godnn=1 and godnn2=1 and countofposition=0 and low<dnn+50 thenbuy 1 contract at dnn limitendif//sécurisation pour n'y aller qu'une fois sur premiere uppif low crosses under dnn or longonmarket thengodnn=0endif//short 2eme barriereif countofposition=1 and godnn2=1 and low<dnn2+50 thenbuy 1 contract at dnn2 limitendif//sécurisation pour n'y aller qu'une fois sur premiere uppif low crosses under dnn2 or countofposition>1 thengodnn2=0endif//collect des gainif countofposition=1 thensell at positionprice+tp limitendif//sortie flatif countofposition>1 thensell at positionprice limitendifif countofposition>1 thensell at stopdn stopendif02/24/2023 at 9:13 PM #21045302/24/2023 at 9:30 PM #21045502/24/2023 at 9:48 PM #21045702/24/2023 at 9:53 PM #21045802/25/2023 at 11:00 AM #210464bjr,Merci pour la vérif.
Comme je place manuellement les zones de rebonds, il faut veiller à mettre un début en back test cohérent. ici c’est au 24/02/2023 à 17h30.
Peut que le pb est ma mécompréhension at limit vs at stop. pas certain que ca explique une différence entre réel et backtest.
-
AuthorPosts
Find exclusive trading pro-tools on