S.O.S. Perfect Trend Line – trading automatique
Forums › ProRealTime forum Français › Support ProOrder › S.O.S. Perfect Trend Line – trading automatique
- This topic has 4 replies, 2 voices, and was last updated 6 years ago by
Nicolas.
Viewing 5 posts - 1 through 5 (of 5 total)
-
-
11/18/2018 at 10:03 PM #85157
Chers Forum[istes],
Je cherche l’avis d’un expert en programmation PRT sur deux questions:
1.) Peut-on, par le moyen de la création simplifiée, transformer l’indicateur Perfect Trend Line en système de trading automatisé?
2.) Quels autres indicateurs compléteraient judicieusement?
Par avance merci pour toute suggestion.
11/19/2018 at 8:30 AM #85166Bonjour,
- Je viens de retrouver dans le forum une stratégie de trading automatique basée sur le perfect trend line, ici: https://www.prorealcode.com/topic/perfect-trend-indicator/
- En général, pour le timing d’entrée dans une stratégie tendancielle, on utilise un oscillateur
11/19/2018 at 4:34 PM #85196Merci infiniment, Nicolas, pour votre réponse par retour de courrier et l’envoi du système conçu par Eduardo SILVARIO.
Je déduis de votre réponse qu’il est inutile d’essayer une programmation au moyen de la Création simplifiée. Est-ce juste?
Voici encore deux questions:
- Disposez-vous d’un formulaire – questionnaire à remplir par le client, afin de fixer la base d’une nouvelle programmation par vos soins?
- Auriez-vous la gentillesse de corriger pour moi les erreurs de syntaxe du système SILVARIO, selon la capture d’écran que je vous par mail séparé?
Par avance je vous en remercie.
Avec mes meilleures salutations, Hansjorg Luthy
11/20/2018 at 9:08 AM #85265- Pour les demandes de programmation privée, il faut passer par le formulaire du service de programmation sur cette page: Service de programmation trading
- Il faut simplement supprimer la première ligne, c’est un texte de description, pas du code.
11/29/2018 at 3:44 PM #86009Le système de trading automatique avec Perfect Trend Line de l’autre sujet est celui-ci:
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071// Definition of code parametersDEFPARAM CumulateOrders = False // Cumulating positions deactivateddefparam flatbefore = 080000defparam flatafter = 170000// --- settingsSlowLength = 7 // Slow lengthSlowPipDisplace = 0 // Slow pip displaceFastLength = 3 // Fast lengthFastPipDisplace = 0 // Fast pip displaceMinDailyProfit=20 //Max daily loss allowed (in points)// --- end of settingsthigh1 = Highest[SlowLength](high)+ SlowPipDisplace*pointsizetlow1 = Lowest[SlowLength](low)- SlowPipDisplace*pointsizethigh2 = Highest[FastLength](high)+ FastPipDisplace*pointsizetlow2 = Lowest[FastLength](low)- FastPipDisplace*pointsizeif barindex>2 thenif Close>line1[1] thenline1 = tlow1elseline1 = thigh1endifif Close>line2[1] thenline2 = tlow2elseline2 = thigh2endifendifif (Close[0]<line1[0] and Close[0]<line2[0]) thentrend = 1endifif (Close[0]>line1[0] and Close[0]>line2[0]) thentrend = -1endifif (line1[0]>line2[0] or trend[0] = 1) thentrena = 1endifif (line1[0]<line2[0] or trend[0] = -1) thentrena = -1endif//----// first time we launch the code, the trading is allowedonce TradeAllowed=1if intradaybarindex=0 thencount=0MyProfit=STRATEGYPROFITTradeAllowed=1endif// test if the strategyprofit of the day is currently above the daily profit allowedIf StrategyProfit>=MyProfit+(MinDailyProfit*POINTVALUE) thenTradeAllowed=0endifif TradeAllowed and trena<>trena[1] and trend=-1 and not onmarket and count<150 thenbuy 1 contract at marketendifif longonmarket and trend=1 thensell at marketendifif longonmarket and tradeindex<>lastindex thencount=count+1lastindex=tradeindexendifSET STOP PLOSS 5SET TARGET PPROFIT 5Veillez à bien copier/coller le code dans votre plateforme.
-
AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)
Find exclusive trading pro-tools on
Similar topics: