Amélioration Algorithme Scalp DJ 2 min UTC+1
Forums › ProRealTime forum Français › Support ProOrder › Amélioration Algorithme Scalp DJ 2 min UTC+1
- This topic has 3 replies, 2 voices, and was last updated 5 years ago by Nicolas.
-
-
08/19/2019 at 6:53 PM #105087
Bonjour Nicolas,
Je te sollicite afin de savoir quelles améliorations je peux apporter à cet algorithme de scalping sur le Dow Jones en 2min UTC+1 Spread 1.6
Sur les performances passées il est trés bien mais dés qu’on le met en route c’est un peu catastrophique
Je fais appel à ton expérience, il y a certainement des voies que je n’ai pas exploré pour le rendre + fiable
Aussi, si toute personne a des idées, elles sont les bienvenues.
D’avance merci.
Dow Jones 2min Spread 1.6 UTC+1123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899REM WALL STREET DOW JONES 2 MIN HEURE ANGLAISE UTC+1 SPREAD 1.6REM RAJOUTER 1 HEURE PARTOUT SI VOUS ETES CONFIGURE EN UTC+2defparam cumulateorders=falsedefparam flatbefore=142900defparam preloadbars=2000defparam flatafter=205700set target profit 13SET STOP LOSS 66n=1xx=72xx2=43yy=19yy2=52Ja=5jv=3xa=3xv=0if longonmarket and (close-tradeprice)>0 and (barindex-tradeindex)>1 and close-close[5]>4 and gov=1 and gov2=1 thensellshort n shares at marketendifif shortonmarket and (tradeprice-close)>1 and (barindex-tradeindex)>0 and close[7]-close<0 and goa2=1 and goa=1 and k<62 thenbuy n shares at marketendifif not onmarket and close[6]-close<16 and goa2=1 and goa=1 and k<xx2 and high[13]>high[7] and k<43 thenbuy n shares at marketendifif not onmarket and close-close[7]>9 and gov=1 and gov2=1 and k>yy2 and low[9]<low[6] thensellshort n shares at marketendifif shortonmarket and (tradeprice-close)>10 and close[22]-close[8]<20 thenexitshort at marketendifif longonmarket and (close-tradeprice)>9 and (barindex-tradeindex)<1 thensellshort n shares at marketendifREM 5619 5522if close>27285 thengoa2=0elsegoa2=1endifif close<25579 thengov2=0elsegov2=1endifrem 3 et 10 moins de perte mais plus mouif close[6]-close>27 thengoa=0elsegoa=1endifif close-close[11]>85 thengov=0elsegov=1endifREM STOCHASTIQUE TIME SERIESp=15q=2plusHaut = HIGHEST[p](HIGH)plusBas = LOWEST[p](LOW)oscillateur = (CLOSE - plusBas) / (plusHaut - plusBas) * 100K = AVERAGE[q,6](oscillateur)p2=4q2=7plusHaut2 = HIGHEST[p2](HIGH)plusBas2 = LOWEST[p2](LOW)oscillateur2=(CLOSE - plusBas2) / (plusHaut2 - plusBas2) * 100K2 = AVERAGE[q2,6](oscillateur2)periode=1innere = 2*weightedaverage[ round( Periode/2 ) ](close)-weightedaverage[Periode](close)MM=weightedaverage[round(sqrt(periode))](innere)periode2=3innere2 = 2*weightedaverage[ round( Periode2/2 ) ](close)-weightedaverage[Periode2](close)MM2=weightedaverage[round(sqrt(periode2))](innere2)// ouvrir position acheteuseif k<xx and mm[19]>mm[29] and high[14]<high and goa=1 and goa2=1 thenbuy n shares at marketendif// ouvrir position vendeuseif longonmarket and (close-tradeprice)>2 and k2>yy and low>low[2] and mm2>mm2[16] and gov=1 and gov2=1 thensellshort n shares at marketendifif not onmarket and k2>yy and low[7]>low[4] and mm2[16]>mm2[15] and gov=1 and gov2=1 thensellshort n shares at marketendifif longonmarket and (BarIndex-TRADEINDEX)>ja and gov2=1 thensellshort n shares at marketendifif shortonmarket and (BarIndex-TRADEINDEX)>jv and goa2=1 thenbuy n shares at marketendifif longonmarket and (BarIndex-TRADEINDEX)>xa and gov=1 and gov2=1 and (close-tradeprice)>4 thensellshort n shares at marketendifif shortonmarket and (BarIndex-TRADEINDEX)>xv and goa=1 and goa2=1 and (tradeprice-close)>11 thenbuy n shares at marketendif08/22/2019 at 4:44 PM #105317Sur-optimisation. Ah ! Si je connaissais les chiffres du Loto à l’avance ! et c’est bien ce que tu as fait en développant ton algorithme de trading. Il faut toujours diviser ses périodes de test (méthode IS+OOS), pour valider la robustesse de la stratégie. On peut utiliser le module de Walk Forward pour cela, voir les vidéos dans ces articles :
https://www.prorealcode.com/blog/video-tutorials/analyse-walk-forward-prorealtime/
et ce sujet où on en discute : https://www.prorealcode.com/topic/optimisation-et-analyse-walk-forward-_-aides/
Il y bien d’autres sujets à ce propos également dans le forum anglophone.
Par ailleurs la version 11 intègre également maintenant un outil pour visualiser ses variables optimisés sur 3 axes (vues 3D).
08/23/2019 at 7:21 AM #105351Bonjour Nicolas,
Merci pour tes réponses.
Aussi, je suis sur prorealtime 10.3 en CFD avec IG, la version 11 est elle disponible ou faut-il attendre un déploiement automatique de mise à jour ?
08/23/2019 at 9:58 AM #105366 -
AuthorPosts
Find exclusive trading pro-tools on