Gestion indépendant des trade avec 3 SL WIN
Forums › ProRealTime forum Français › Support ProOrder › Gestion indépendant des trade avec 3 SL WIN
- This topic has 6 replies, 4 voices, and was last updated 1 week ago by
fifi743.
-
-
02/09/2025 at 4:08 PM #243641
bonjour, voici un code qui fonction pour generer mon BE et mes 2 stop win
le soucis cest que si je prend + de 1 trade mon fichier ne fonctionne pas correctement
es possible de mémoriser le trade 1 puis Trade 2 etc… pour que mon code saplique a chaque trade indépendement ?(point reglés sur le BTC 1$)
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152DEFPARAM CUMULATEORDERS=false//// test de validation du BE avec un simple cross de MMmm20 = average[20](close)mm50 = average[50](close)signalU = mm20 CROSSES OVER mm50signalD= mm20 CROSSES UNDER mm50//BUYonce trade1=0if not onmarket and signalU thenbuy 1 contract at marketSET TARGET pPROFIT 2500set stop loss 600trade1=1endifIf trade1 thenBuyTP1=500 // Target pour monter le SLBuySL1=1 // Nouveau SLBuyBE1=1000 // Seuil BE 1BBE1=500 // Trade price + pointsBuyBE2=1500 // Seuil BE 2BBE2= 1000 // trade price + Point//LONG CONDITIONif not onmarket thenbe=0endifif longonmarket and close-tradeprice>=BuyBE1 *pointsize thenbe=1endifif be=1 thensell at tradeprice+BBE1*pointsize stopendifif not onmarket thenbee=0endifif longonmarket and close-tradeprice>=BuyBE2*pointsize thenbee=1endifif bee=1 thensell at tradeprice+BBE2*pointsize stopendifSL1=high-tradeprice >= BuyTP1 *pointsizeif longonmarket thenif SL1 thenset stop loss BuySL1endifendifendif02/09/2025 at 5:06 PM #24364402/09/2025 at 6:11 PM #24364502/09/2025 at 8:22 PM #243648le problème c’est que je narrive pas a convertir mon code d’indicateur sur MT5 ou 4 j’ai reussi sur TW.
Si quelqu’un pourrais maider, jai besoin de supertrend KNN et MACDZ pour mon indicateur et le mettre en ticks sur meta trader.https://www.youtube.com/watch?v=QxjLljlxDAY&t=9584s
voici 11h de live avec mon bot, survoler la video et donnez moi votre avis svp
02/10/2025 at 10:17 AM #243669Bonjour, vous trouverez sûrement ce que vous cherchez dans le forum. Voici quelques articles qui pourraient vous intéresser :
- https://www.prorealcode.com/topic/gestion-de-la-taille-des-positions-augmentations-basées-sur-les-performances/#post-35351
- https://www.prorealcode.com/topic/money-management-snippet/#post-70501
- https://www.prorealcode.com/topic/votre-propre-bibliothèque-d'extraits-de-code/#post-68915
- https://www.prorealcode.com/topic/move-sl-during-current-candle/#post-79130
02/12/2025 at 10:32 AM #24374102/12/2025 at 10:47 AM #243742 -
AuthorPosts
Find exclusive trading pro-tools on