Coding Scrap propriété copyright Forex Vzlomshik Pro lien de propriété google extern string GeneralSettings Paramètres généraux extern bool UtiliserManualLots FALSE extern double Lots 0.01 extern double Booster 1.55 externe double TakeProfit 20.0 externe double PipStarter 50.0 extern string MiscSettinngs Misc Paramètres extern bool TurboMode TRUE externe double TurboDivider 3.0 Extern bool ContinuerTrading TRUE extern bool MM FALSE extern double Diviseur 100.0 extern bool chartDisplay TRUE extern string AddtionalSafeGuards Addtional Safe Guards extern bool UtiliserStoplossPct FALSE extern double StoplossPct 30.0 Extern bool UseTakeProfitPct FALSE externe double TakeProfitPct 1.0 extern bool UtiliserTrailingStop FALSE extern double StartTrailing 15.0 extern double StopTrailing 5.0 int Gi212 2 extern double Slippage 7.0 int Gi224 5 double Gd228 1.0 int Gtimeframe236 double Glots240 50.0 extern chaîne System1 Paramètres du système 1 extern bool UseStrategy1 TRUE externe int MagicNumber1 1000 extern int MaxTrades1 15 extern bool UtiliserDollarTakeProfits1 FALSE extern double DollarTakeProfits1 15,0 int Gi280 int Gtimeframe284 PERIODH1 à double Gpips288 500,0 bool Gi296 FALSE à double GD300 72,0 à double Gd308 à double Gi404 de Gd316 à double Gprice324 à double Gd332 à double Gdunused340 à double Gdunused348 à double Gprice356 à double Gd364 à double Gd372 à double Gd380 à double Gd388 à double Gd396 chaîne extern système system1comment Forex Vzlomshik Pro 1 int Gi416 0 int Gi420 int Gi424 0 double Gd428 int Gpos436 0 int Gi440 double Gd444 0.0 bool Gi452 FALSE bool Gi456 FAUX bool Gi460 FALSE int Gi464 bool Gi468 FALSE double Gd472 double Gd480 int Gdatetime488 1 double Gd492 extern chaîne System2 Paramètres du système 2 extern bool UseStrategy2 TRUE externe int MagicNumber2 2000 extern int MaxTrades2 15 extern bool UtiliserDollarTakeProfits2 FALSE Extern double DollarTakeProfits2 15.0 int GI532 int Gtimeframe536 PERIODM1 double Gpips540 500.0 bool Gi548 FALSE double Gd552 72.0 double Gd560 double Gd568 double Gprice576 double Gd584 double Gdunused592 double Gdunused600 double Gprice608 double Gd616 double Gd624 double Gd632 double Gd640 double Gd648 bool Gi656 extern chaîne system2comment Forex Vzlomshik Pro Système 2 int Gi668 0 int Gi672 int Gi676 0 double Gd680 int Gpos688 0 int Gi692 double Gd696 0.0 bool Gi704 FALSE bool Gi708 FALSE bool Gi712 FALSE int Gi716 bool Gi720 FALSE double Gd724 double Gd732 int Gdatetime740 1 double Gd744 chaîne externe System3 Réglages du système 3 extern bool UseStrategy3 TRUE externe int MagicNumber3 3000 extern int MaxTrades3 15 Extern bool UtilitaireDollarTakeProfits3 FALSE extern double DollarTakeProfits3 15.0 int Gi784 bool Gi788 FALSE double Gd792 72.0 double Gpips800 500.0 double Gd808 double Gd816 double Gprice824 double Gd832 double Gdunused840 double Gdunused848 double Gprice856 double Gd864 double Gd872 double Gd880 double Gd888 double Gd896 bool Gi904 extern chaîne system3comment Forex Vzlomshik Pro System 3 int Gi916 0 int Gi920 int Gi924 0 double Gd928 int Gpos936 0 int Gi940 double Gd944 0.0 bool Gi952 FALSE bool Gi956 FALSE bool Gi960 FALSE int Gi964 bool Gi968 FALSE double Gd972 double Gd980 double Gd988 double Glotstep996 double Gminlot1004 int Giunused1020 0 int Giunused1024 1 int Giunused1028 250 string Gsunused1032 E37F0136AA3FFAF149B351F6A4C948E9 int init () Gd228 1.0 if (Digits 3 Digits 5) Gd228 10 Gsunused1032 approuvé Gd896 MarketInfo (symbole (), MODESPREAD) point Gd396 MarketInfo (Symbole (), MODESPREAD) point Gd648 MarketInfo (Symbole () , MODESPREAD) point de retour (0) 52D46093050F38C27267BCE42543EF60 deinit void () EA2B2676C28C0DB26D39331A336C6B92 void start () string Ls0 chaîne LS8 chaîne LS16 à double LD24 à double ihigh32 deux ilow40 doubles iclose48 doubles iclose56 doubles Ld64 doubles Ld72 int Li80 int count84 à double Ld88 int Li96 int count100 à double Ld188 à double int Ld200 Li208 à double Ld212 bool bool220 à double Ld224 bool bool232 à double Ld236 bool bool244 deux Ld248 doubles Ld256 doubles Ld264 doubles Ld272 doubles Ld284 doubles int Ld296 Li304 à double Ld308 bool bool316 à double Ld320 bool bool328 à double Ld332 bool bool340 deux Ld344 doubles Ld352 doubles Ld360 doubles Ld368 Ld380 int intcounted104 IndicateurCount () Glotstep996 MarketInfo (Symbole (), MODELOTSTEP) Gminlot1004 MarketInfo (Symbole (), MODEMINLOT) if (UseManualLots FALSE) if (Glotstep996 0.1 ampamp Gminlot1004 0.1) Lots 0.1 Gi212 1 else if (Glotstep996 0.01 ampamp Gminlot1004 0.1 ) lots 0,1 Gi212 2 else if (Glotstep996 0,001 ampamp Gminlot1004 0,01) lots 0,01 Gi212 3 si (lots gt Glots240) lots Glots240 if (chartDisplay) Ls0 Gd492 Ls0 Gd492 LS8 Gd744 LS8 Gd744 LS16 Gd988 LS16 Gd988 LD24 Gd492 Gd744 Gd988 Commentaire (n Forex Vzlomshik PRO 1.14 nnn INFORMATIONS SUR LE COMPTE nn Authentifié: OUI n Utilisateur: Utilisateur n Courtier: AccountCompany () n Acct Effet de levier: AccountLeverage () n Devise: AccountCurrency () nn TRADES nn Système 1 Ouvrir des métiers. F038 () Bénéfice courant: Ls0 n Système 2 Opérations ouvertes. F023 () Bénéfice courant: Ls8 n Système 3 Opérations ouvertes. F028 () Bénéfice courant: Ls16 n Bénéfice total. Ld24 n n PROFIT n n Total des métiers ouverts. (Gi224 2) Gtimeframe236 5 si (Gi224 3) Gtimeframe236 15 si (Gi224 4) Gtimeframe236 30 if (Gi224 5) Si (Gi224 1) Gtimeframe236 1 si (Gi224 1) Gtimeframe236 60 si (Gi224 6) Gtimeframe236 240 si (Gi224 7) Gtimeframe236 1440 si (Gi224 8) Gtimeframe236 10080 si (Gi224 9) Gtimeframe236 43200 si (Gi224 0) Gtimeframe236 Période () double Ld108 Booster int Li116 Gi212 double Ld120 TakeProfit bool128 UtiliserStoplossPct double Ld132 StoplossPct bool bool140 UtiliserTakeProfitPct double Ld144 TakeProfitPct bool bool152 UtiliserTrailingStop double Ld156 StartTrailing double Ld164 StopTrailing double Ld172 Slippage Gi784 f028 () si (TurboMode TRUE) si (Gi784 1) Gd808 PipStarter TurboDivider si (Gi784 2) Gd808 2.0 (PipStarter TurboDivider) If (Gi784 gt 3) Gd808 PipStarter autre Gd808 PipStarter si (MM TRUE) if (MathCeil (AccountBalance ()) lt 999.0) Ld64 Lots else Ld64 0.00001 MathCeil (AccountBalance () Divider) Ld64 Lots if (bool152) f024 (Ld156, Ld140 f02 () if (bool128 TRUE) if (Ld180 lt 0.0 ampamp MathAbs (Ld180) Si (Gi788) if (Gi788) if (TimeCurrent () gt Gi920) ) G0 Ld132 100.0 f025 ()) f017 () Imprimer (Fermé tous les métiers sous cette paire parce que StoplossPCT a été satisfait) Gi968 FALSE if (bool140) if (Ld180 gt 0.0 amp3 MathAbs (Ld180) gt Ld144 100.0 f025 Gi968 FALSE si (Gd988 gt DollarTakeProfits3) f017 () Print (Fermé tous les métiers sous cette paire parce que TakeProfitPCT a été satisfaite) Gi968 FALSE if (UtilisateurDollarTakeProfits3 TRUE) ) Gi916 Heure0 Gi940 f028 () si (Gi940 0) Gi904 FALSE pour (Gpos936 OrdersTotal () 1 Gpos936 gt 0 Gpos936 ) OrdreSélectionnez (Gpos936, SELECTBYPOS, MODETRADES) if (OrderSymbol () Symbole () ampamp OrderMagicNumber () MagicNumber3 ) If (OrderType () OPBUY) Gi956 TRUE Gi960 FALSE rupture si (OrderType () OPSELL) Gi956 FALSE Gi960 TRUE rupture si (Gi940 lt MaxTrades3) RefreshRates () Gd880 f016 () Gd888 f019 () if (Gi956 FALSE ampamp Gd880 Gt Gd808 Gd228 Point) Gi952 TRUE si (Gi960 FALSE ampamp Offre Gd888 gt Gd808 Gd228 Point) Gi952 TRUE si (Gi940 lt 1) Gi960 FALSE Gi956 FALSE Gi952 VRAI Gd832 AccountEquity () if (Gi952) Gd880 f016 () Gd888 f019 () Si Gi960 Gi924 Gi940 Gd928 NormalizeDouble (Ld108, Gi924), Li116) RefreshRates () Gi964 f035 (1, Gd928, NormalizeDouble (offre, chiffres), Ld172 Gd228, NormalizeDouble (Ask, Gi924 Gi924 G928 Gd928 NormalizeDouble (Ld64 MathPow ()) Si Gi924 (Gi964 lt 0) Impression (Errors31:, GetLastError (), Gd928) retour Gd888 f019 () Gi952 FALSE Gi968 TRUE Ld108, Gi924), Li116) Gi964 f035 (0, Gd928, NormalizeDouble (demander, chiffres), Ld172 Gd228, NormalizeDouble (enchère, chiffres), 0, 0, system3comment: panier Gi924, MagicNumber3, 0, vert) 1) Impression (Errors32:, GetLastError ()) retour Gd880 f016 () Gi952 FALSE Gi968 VRAI si (Gi952 FALSE ampamp Gi940 lt 1) ihigh32 iHigh (Symbole (), 0, 1) ilow40 iLow (Symbol (), 0, 2 ) Gd864 NormalizeDouble (Bid, Digits) Gd872 NormalizeDouble (Ask, Digits) si (Gi960 FALSE ampamp Gi956 FALSE) si Gi924 Gi940 Gd928 NormalizeDouble (Ld64 MathPow (Ld108, Gi924), Li116) if (UseStrategy3 FALSE ampamp ContinuerTrading FALSE) if (ihigh32 gt Ilow40) if (iRSI (NULL, Gtimeframe236, 14, PRICECLOSE, 1) gt 30.0) si Gi964 f035 (1, Gd928, Gd864, Ld172 Gd228, Gd864, 0, 0, system3comment: Basket Gi924, MagicNumber3, Gi964 lt 1) Impression (Errors33:, GetLastError ()) retour Gd880 f016 () Gi968 TRUE sinon iRSI (NULL, Gtimeframe236, 14, PRICECLOSE, 1) lt 70.0) Gi964 f035 (0, Gd928, Gd872, Ld172 Gd228, (Gi964 lt 1) Imprimer (Erreurs34:, GetLastError ()) retour Gd888 f019 () Gi968 TRUE si (Gi964 gt 0) Gi920 TimeCurrent () 3600.0 (Gpos936, SELECTBYPOS, MODETRADES) if (OrderSymbol () Symbole () ampamp OrderMagicNumber () MagicNumber3) if (OrderSymbol () () Gpice856 NormalizeDouble (Gprice856 Ld188, chiffres) si (Gi968) pour (Gpos936 OrdersTotal () 1 Gpos936 gt 0 Gpos936 Type de commande () OPBUY OrderType () OPELLER OrderType () OPSELL) Gprice856 OrderOpenPrice () OrderLots ) OrderSelect (Gpos936, SELECTBYPOS, MODETRADES) if (OrderSymbol () Symbole () ampamp OrderMagicNumber () MagicNumber3) if (OrderType () OPBUY) Gprice824 Gprice856 LD120 Gd228 point Gdunused840 Gprice824 Gd944 Gprice856 Gpips800 point Gi904 TRUE si (OrderType ( () () () () Si (f029 (Li196, SELECTBYPOS)) si (Gi968) si (Gi904 TRUE) pour (int Li196 OrdresTotal () 1 Li196 gt 0 Li196 ), si (f029 (Li196, CHOISIRSBYPOS))), GPG824 Gprice856 Ld120 Gd228 Point Gdunused848 Gprice824 Gd944 Gprice856 Gpips800 Point Gi904 ) Tandis que (IsTradeAllowed ()) Sleep (150) RefreshRates () tandis que (OrderModify (OrderTicket (), Gprice856, OrderStopLoss (), Gprice824, 0, Jaune)) Sommeil (1000) RefreshRates () Gi968 FALSE Ld200 Booster Li208 Gi212 Ld212 TakeProfit Bool220 UtiliserStoplossPct Ld224 StoplossPct bool232 UtiliserTakeProfitPct Ld236 TakeProfitPct bool244 UtiliserTrailingStop Ld248 DémarrerTrailing Ld256 Arrêt Trailing Ld264 Glissement Gi280 f038 () if (TurboMode) if (Gi280 1) Gd308 PipStarter TurboDivider si (Gi280 2) Gd308 2.0 (PipStarter TurboDivider) si (Gi280 gt 3) Gd308 PipStarter else Gd308 PipStarter si (MM TRUE) si (MathCeil (AccountBalance ()) lt 999.0) Ld72 Lots else Ld72 0.00001 MathCeil (AccountBalance () Divider) else Ld72 Lots if (bool244) f033 (Ld248, Ld256, Gprice356) if (Gi296 ) If (TimeCurrent () gt Gi420) f032 () Imprimé (fermé Tout le système 1 échangé en raison de TimeOut) L0272 f00 () if (bool220) if (Ld272 lt 0,0 amp3 MathAbs (Ld272) gt Ld224 100.0 f018 ()) f032 ) Print (fermé tous les métiers sous cette paire parce que TakeProfitPCT) () fermé tous les métiers sous cette paire parce que StoplossPCT a été rencontré) Gi468 FALSE if (bool232) if (Ld272 gt 0.0 ampamp MathAbs (Ld272) gt Ld236 100.0 f018 ) Gi468 FALSE if (Temps0 Gi416) Gi416 Temps0 Gi440 f038 () if (Gi440 0) Si (G440 0) Si (Gd440) ) (OrderSymbol () Symbole () ampamp OrderMagicNumber () MagicNumber1) if (OrderSymbol () Symbole () ampamp OrderMagicNumber () OrderSelect () () MagicNumber1) if (OrderType () OPT) Gi456 TRUE Gi460 FALSE break if (OrderSymbol () Symbol () ampamp OrderMagicNumber () MagicNumber1) if (OrderType () OGG450 TRUE break if (Gi440 gt 0 ampamp MaxTrades1 gt Gi440) G438 G4) G453 G4) G430 G4) G430 G4) G430 G4) G430 G4) G430 G4) G450 G4) G430 G4) G430 G4) G450 G4) FALSE Gi456 FALSE Gi452 VRAI Gd332 AccountEquity () si (Gi452) Gd380 f020 () Gd388 f03 () si Gi460 Gi424 Gi440 Gd428 NormalizeDouble (Ld72 MathPow (Ld200, Gi424), Li208) RefreshRates () Gi464 f07 (1, Gd428, (Gi464 lt 0) Imprimer (Errors11:, GetLastError ()) retourner Gd388 f03 (0), 0, 0, 0, system1comment: Basket Gi424, MagicNumber1, 0, Noir), ld264 Gd228, NormalizeDouble () Gi452 FALSE Gi468 TRUE autrement si (Gi456) Gi424 Gi440 Gd428 NormalizeDouble (Ld72 MathPow (Ld200, Gi424), Li208) Gi464 f07 (0, Gd428, NormalizeDouble (Demander, chiffres), Ld264 Gd228, NormalizeDouble 0, 0, system1comment: Panier Gi424, MagicNumber1, 0, Vert) if (Gi464 lt 0) Impression (Erreur: s12, GetLastError ()) Retour Gd380 f020 () Gi452 FALSE Gi468 TRUE if (iTime (NULL, Gtimeframe284, 0) Gdatetime488) Li80 CommandesTotal () count84 0 pour (int Li280 Li80 Li280 gt 1 Li280 ) OrderSelect (Li280 1, SELECTBYPOS, MODETRADES) if (OrderSymbol () Symbole () ampamp OrderMagicNumber () MagicNumber1) count84 if (Li80 0 count84 Gd372 NormalizeDouble (Ask, Digits) si (Gi460 FALSE ampamp Gi456 FALSE) Gi424 Gi440 Gd428 (Symbole (), 0, 2) iclose56 iClose (Symbole () Si vous utilisez la fonction de configuration de la base de données, vous pouvez utiliser la fonction de configuration de la base de données. Si vous utilisez un objet, vous pouvez utiliser la fonction G4, Gd364, Gd428, Gd364, Ld264, Gd228, Gd364, 0, 0, système1comment: Panier Gi424, MagicNumber1, 0 , Noir) if (Gi464 lt 1) Impression (Errors13:, GetLastError ()) retour Gd380 f020 () Gi468 TRUE sinon if (UseStrategy1 FALSE ampamp ContinuerTrading FALSE) Gi464 f07 (0, Gd428, Gd372, Ld264 Gd228, Gd372, 0, system1comment: Panier Gi424, MagicNumber1, 0, Vert) if (Gi464 lt 1) Impression (Errors14:, GetLastError ()) retour Gd388 f03 () Gi468 TRUE si (Gi464 gt 0) Gi420 TimeCurrent () 3600.0 Gd300 Gi452 FALSE Gdatetime488 (Gpos436, SELECTBYPOS, MODETRADES) if (OrderSymbol () Symbole () ampamp OrderMagicNumber () Pour plus d'informations sur la commande, ) MagicNumber1 1) if (OrderSymbol () Symbole () ampamp OrderMagicNumber () MagicNumber1) if (OrderType () OPBUY OrderType () OPELLU Gprice356 OrderOpenPrice () OrderLots () Ld284 OrderLots () si (Gi440 gt 0) Gprice356 NormalizeDouble (Gprice356 Ld284, Digits) if (Gi468) pour (Gpos436 OrdersTotal () 1 Gpos436 gt 0 Gpos436 ) OrderSelect (Gpos436, SELECTBYPOS, MODETRADES) if (OrderSymbol () Symbol () ampamp OrderMagicNumber () MagicNumber1 1) ) Symbole () ampamp OrderMagicNumber () MagicNumber1) if (OrderType () OPBUY) Gprice324 Gprice356 Ld212 Gd228 Point Gdunused340 Gprice324 Gd444 Gprice356 Gpips288 Point Gi404 TRUE if (OrderSymbol () Symbole () ampamp OrderMagicNumber () MagicNumber1) if (OrderType () () () Si (f022 (Li292, SELECTBYPOS)) pour (int Li292 OrdresTotal () 1 Li292 gt 0 Li292 ) if (f022) Tandis que (IsTradeAllowed ()) Sleep (150) RefreshRates () tandis que (OrderModify (OrderTicket (), Gprice356, OrderStopLoss (), Gprice324, 0, Jaune)) Sommeil (900) RefreshRates () Gi468 FALSE Ld296 Booster Li304 Gi212 Ld308 TakeProfit bool316 UtiliserStoplossPct Ld320 StoplossPct bool328 UtiliserTakeProfitPct Ld332 TakeProfitPct bool340 UtiliserTrailingStop Ld344 DémarrerTrailing Ld352 Arrêter Trailing Ld360 Glisser Gi532 f023 () si (TurboMode) si (Gi532 1) Gd560 PipStarter TurboDivider si (Gi532 2) Gd560 2.0 (PipStarter TurboDivider) si (Gi532 gt 3) Gd560 PipStarter Else Gd560 PipStarter si (MM) if (MathCeil (AccountBalance ()) lt 999.0) Ld88 Lots else Ld88 0.00001 MathCeil (AccountBalance () Divider) sinon Ld88 Lots if (bool340) f010 (Ld344, Ld352, Gprice608) if (Gi548) if (TimeCurrent () g0 Gi672) f015 () Impression (Fermé Tout le système 2 se traduit par TimeOut) Ld368 f030 () if (bool316) if (Ld368 lt 0.0 amp3 MathAbs (Ld368) gt Ld320 100.0 f021 (Fermé tous les métiers sous cette paire parce que StoplossPCT a été rencontré) Gi720 FALSE if (bool328) if (Ld368 gt 0.0 ampamp MathAbs (Ld368) gt Ld332 100.0 f021 ()) f015 () Imprimer (Fermé tous les métiers sous cette paire parce que TakeProfitPCT a été satisfait ) Gi720 FALSE if (Temps0 Gi668) Gi668 Temps0 Gi692 f023 () if (Gi692 0) Gi652 Si Gi692 F02 () Si Gi056 () FALSE pour (Gpos688 OrdersTotal () 1 Gpos688 gt 0 Gpos688 ) OrdreSélectionner (Gpos688, SELECTBYPOS, MODETRADES) if (OrderSymbol () Symbole () ampamp OrderMagicNumber () MagicNumber2) if (OrderType () OPBUY Gi708 TRUE Gi712 FALSE break Si (Gi708 FALSE ampamp Gd632 Demande gt Gd560 Gd228 Point) Gi704 TRUE si (Gi692 lt MaxTrades2) RefreshRates () Gd632 f012 () gd640 f05 Gd640 gt Gd560 Gd228 Point) Gi704 TRUE si (Gi692 lt 1) Gi712 FALSE Gi708 FALSE Gi704 VRAI Gd584 AccountEquity () if (Gi704) Gd632 f012 () Gd640 f05 () if (Gi712) Gi676 Gi692 Gd680 NormalizeDouble (Ld88 MathPow , Gi06), Li304) RefreshRates () Gi716 f06 (1, Gd680, NormalizeDouble (Bid, Digits), Ld360 Gd228, NormalizeDouble (Ask, Digits), 0, 0, system2comment: Basket Gi676, MagicNumber2, Gi716 l0) Impression (Errors21:, GetLastError ()) retour Gd640 f05 () Gi704 FALSE Gi720 TRUE autrement (Gi708) Gi676 Gi692 Gd680 NormalizeDouble (Ld88 MathPow (Ld296, Gi676), Li304) Gi716 f06 (0, Gd680, NormalizeDouble (Demande, chiffres), Ld360 Gd228, NormalizeDouble (Bid, Digits), 0, 0, system2comment: Panier Gi676, MagicNumber2, 0, Vert) if (Gi716 lt 1) Imprimer (Errors22:, GetLastError ()) return Gd632 f012 (Li376 1, SELECTBYPOS, MODETRADES) if (OrderSymbol ()) () () () Symbole () ampamp OrderMagicNumber () MagicNumber2) count100 si (Li96 0 count100 lt 1) iclose48 iClose (Symbole (), 0, 2) iclose56 iClose (Symbole (), 0, 1) Gd616 NormalizeDouble (Bid, Digits) Gd624 NormalizeDouble Si, (iRSI (NULL, Gtimeframe236, 14), si (Gi712 FALSE ampamp Gi708 FALSE) Gi676 Gi692 Gd680 NormalizeDouble (Ld88 MathPow (Ld296, Gi676), Li304) if (UtiliserStrategy2 FALSE ampamp ContinuerTrading FALSE) (Gi716 lt 0) Print (Errors23:, GetLastError ()) (Gi716 lt 0) Impression (Errors23:, GetLastError (1, g1, g1, )) Retour Gd632 f012 () Gi720 TRUE sinon iRSI (NULL, Gtimeframe236, 14, PRICECLOSE, 1) lt 70.0) Gi716 f06 (0, Gd680, Gd624, Ld360 Gd228, Gd624, 0, 0, MagicNumber2, 0, Vert) if (Gi716 lt 0) Imprimer (Errors24:, GetLastError ()) retour Gd640 f05 () Gi720 TRUE si (Gi716 gt 0) Gi672 TimeCurrent () 3600.0 Gd552 Gi704 FALSE Gdatetime740 iTime (NULL, Gtimeframe536, 0 ) OrderSelect (Gpos688, SELECTBYPOS, MODETRADES) if (OrderSymbol () Symbole () ampamp OrderMagicNumber () MagicNumber2) if (OrderType () ) () Gpx608 OrderTollPrice () Lots de commande () si (Gi692 gt 0) Gprice608 NormalizeDouble (Gprice608 Ld380, chiffres) if (Gi720) pour (Gpos688 OrdersTotal () 1 Gpos688 gt 0 Gpos688 (OrderType () OPBUY) Gprice576 Gprice608 Ld308 Gd228 Point Gdunused592 Gprice576 Gd696 Gprice608 Gpips540 Point Gi656 TRUE if (OrderType () (Type de commande ()) OrderSelect (Gpos688, SELECTBYPOS, MODETRADES) () () Si () () () () () () () () () si (f01 (Li388, SELECTBYPOS) () () () () () () () () () () () (0) 0 (OrdreSymbol () Symbole () ampamp OrderMagicNumber () MagicNumber3 TRUE) if (OrderSymbol () (OrdreModifiant) Symbole () ampamp OrderMagicNumber () MagicNumber3) if (OrderType () OPSELL OrderType () OPBUY) count0 Gd988 OrderProfit () OrderSwap () Gd988 Ld4 OrderLots () Ld4 return (count0) 6ABA3523C7A75AAEA41CC0DEC7953CC5 void f017 () pour (int pos0 OrdersTotal () () (OrderTicket (), OrderLots (), OrderClosePrice () (OrdreSymbole () Symbole () ampamp OrderMagicNumber () MagicNumber3) if (OrderType () OPBUY) OrdreSélection (pos0, SELECTBYPOS, MODETRADES) ), Gd816 Gd228, DarkGray) if (OrderType () OPSELL) OrderClose (OrderTicket (), OrderLots (), OrderClosePrice (), Gd816 Gd228, YellowGreen) F7B1F0AA13347699EFAE0D924298CB02 int int00 Double Ad20, double Adunused28, int Ai36, int Ai40, chaîne Acomment44, int Amagic52, int Adatetime56, couleur Acolor60) int ticket64 0 int error68 0 int count72 0 int Li76 100 commutateur (Ai0) cas 0: for (count72 0 count72 lt Li76 ), NormalizeDouble (f04 (Bid, Ai36), Digits), NormalizeDouble (), NormalizeDouble (Demander, Digits), Ad20 Gd228, NormalizeDouble F027 (Ask, Ai40), chiffres), Acomment44, Amagic52, Adatetime56, Acolor60) Erreur68 GetLastError () if (erreur68 0 NOERROR) break if (erreur68 4 SERVERBUSY error68 137 BROKERBUSY error68 146 TRADECONTEXTBUSY error68 136 OFFQUOTES) (0), (1) pour le compte (count72 0 count72 lt Li76 count72) pendant (IsTradeAllowed ()) Sommeil (150) RefreshRates () ticket64 OrderSend (Symbol), OPSELL, Alots4, NormalizeDouble Erreur68 GetLastError () if (erreur68 0 NOERROR) break if (erreur68 4 erreur SERVERBUSY68 137 erreur BROKERBUSY68 146 TRADECONTEXTBUSY (A08) return (0.0) return (Ad0 Ai8 Point) 58B0897F29A3AD862616D6CBF39536ED double f013 (double Ad0, int Ai8) si (Ai8 0) retour (0.00) retour (Ad0 Ai8 Point) pause Sommeil (3500) retour (billet64) 19821383AADC0BD1EE56BF2194EC478F (Ai8 0) return (0.0) return (Ad0 Ai8 Point) A0F6E6535C856D4495BA899376567E48 double f027 (double Ad0, int Ai8) if (Ai8 0) (Gpos936, SELECTBYPOS, MODETRADES) if (OrderSymbol () () () () () (0) ) Symbole () ampamp OrderMagicNumber () MagicNumber3) if (OrderType) OPBUY OrderType () Oppell) Ldret0 OrderProfit () return (Ldret0) 9B1AEE847CFB597942D106A4135D4FE6 void f024 (double Ad0, double Ad8, double Aprice16) int Li24 double orderstoploss28 double price36 if ( If (OrderSymbol () Symbole () ampamp OrderMagicNumber () MagicNumber3) if (OrderSymbol () Symbole () (OrdreSpécif () () BidPad () BidPad () (OrdreDébut () OPBUY) Li24 MathFloor ((Bid Aprice16) Point) if (Li24 lt Ad0) continue ordertoploss28 OrderStopLoss () price36 Offre Ad8 Gd228 Point si (orderstoploss28 0.0 orderstoploss28 lt price36) (OrderTicket), Aprice16, price36, OrderTakeProfit (), 0, Gray) if (OrderType () OPSELL) Li24 MathFloor ((Aprice16 Ask) Point) si (Li24 lt Ad0) continue orderstoploss28 OrderStopLoss () price36 Ask Ad8 Gd228 () () () If (f028 () 0) Gd972 AccountEquity () if (Gd972 Lt Gd980) Gd972 Gd980 autre Gd972 AccountEquity () Gd980 AccountEquity () retour (Gd972) 689C35E4872BA754D7230B8ADAA28E48 double f016 () double orderopenprice0 int ticket8 double Ldunused12 0.0 int ticket20 0 pour (int pos24 OrdersTotal () 1 pos24 gt 0 pos24 ) OrderSelect (Pos24, SELECTBYPOS, MODETRADES) if (OrderSymbol () Symbole () ampamp OrderMagicNumber () MagicNumber3 TRUE) if (OrderSymbol () Symbole () ampamp OrderMagicNumber () MagicNumber3 ampamp OrderType () OPBUY) ticket8 OrderTicket ) Orderopenprice0 OrderOpenPrice () Ldunused12 orderopenprice0 ticket20 ticket8 retour (orderopenprice0) 81A4CBF7E575109EFB1104EFB9B5DF39 double f019 () double orderopenprice0 int ticket8 double Ldunused12 0.0 int ticket20 0 pour (int pos24 OrdersTotal () 1 pos24 gt 0 pos24 ) OrderSelect (pos24, SELECTBYPOS, MODETRADES) if (OrderSymbol () Symbole () ampamp OrderMagicNumber () MagicNumber3 TRUE) if (OrderSymbol () Symbole () ampamp OrderMagicNumber () MagicNumber3 ampamp OrderType () OPSELL) ticket8 OrderTicket () if (ticket8 billett20) orderopenprice0 OrderOpenPrice () Ldunused12 orderopenprice0 ticket20 ticket8 return (orderopenprice0) FD4055E1AC0A7D690C66D37B2C70E529 int f038 () int count0 0 Gd492 0.0 double Ld4 0.0 pour (int pos12 OrdersTotal () 1 pos12 gt 0 pos12 ) OrderSelect (pos12, SELECTBYPOS, MODETRADES) if (OrderSymbol Symbole () ampamp OrderMagicNumber () MagicNumber1) if (OrderType () OPSELL OrderType () OPOBUY) count0 Ld4 OrderLots () Ld4 Gd492 OrderProfit () OrderSwap () Gd492 return (count0) D362D41CFF235C066CFB390D52F4EB13 void f032 () pour (int pos0 OrdersTotal () () OrderSelect () (OrdreSymbole () Symbole () ampamp OrderMagicNumber () MagicNumber1) if (OrderType () OPBUY) OrderClose (OrderTicket (), OrderLots (), OrderClosePrice ), Gd316 Gd228, DarkGray) si (OrderType () OPSELL) OrderClose (OrderTicket (), OrderLots (), OrderClosePrice (), Gd316 Gd228, GreenYellow) Sleep (500) 28EFB830D150E70A8BB0F12BAC76EF35 int f07 (int Ai0, Double Ad20, double Adunused28, int Ai36, int Ai40, chaîne Acomment44, int Amagic52, int Adatetime56, couleur Acolor60) int ticket64 0 int error68 0 int count72 0 int Li76 100 commutateur (Ai0) cas 0: for (count72 0 count72 lt Li76 ), NormalizeDouble (f011 (Bid, Ai36), Digits), NormalizeDouble (), NormalizeDouble F026 (Ask, Ai40), chiffres), Acomment44, Amagic52, Adatetime56, Acolor60) error68 GetLastError () if (erreur68 0 NOERROR) break if (erreur68 4 erreur SERVERBUSY68 136 OFFQUOTES error68 137 BROKERBUSY error68 146 TRADECONTEXTBUSY) () () () (), (), (), (), (), (), () Erreur68 GetLastError () if (erreur68 0 NOERROR) break if (erreur68 4 erreur SERVERBUSY68 137 erreur BROKERBUSY68 146 TRADECONTEXTBUSY (A08) return (0.0) return (Ad0 Ai8 Point) 3180D254E1C24E987439E4F62708F6A2 double f09 (double Ad0, int Ai8) si (Ai8 0) (Ai8 0) return (0.0) return (Ad0 Ai8 Point) 9FDC179C742334D485A77A8B241EC55C double f026 (double Ad0, int Ai8) if (Ai8 0) retour (0.0) retour (Ad0 Ai8 Point) D1DDCE31F1A86B3140880F6B1877CBF8 double f031 (Gpos436, SELECTBYPOS, MODETRADES) if (OrderSymbol () () () () () () () () ) Symbole () ampamp OrderMagicNumber () MagicNumber1) if (OrderSymbol () Symbole () ampamp OrderMagicNumber () MagicNumber1) if (OrderType) OPBUY OrderType () Oppell) Ldret0 OrderProfit () return (Ldret0) E57BE7F0D51233E12F19376575CE10FF void f033 (double Ad0, (Pos4, SELECTBYPOS, MODETRADES)) if (OrderSymbol () Symbole (s) de commande (s) () OrderMagicNumber () MagicNumber1 1) if (OrderSymbol () Symbole () ampamp OrderMagicNumber () MagicNumber1) if (OrderType () OPBUY) RefreshRates () Li24 MathFloor ((Bid Aprice16) OrderOnLine () (OrdreOrdinateur () OPSELL) RefreshRates () Li24 MathFloor (() () () () () Aprice16 Ask) Point () si (Li24 lt Ad0) continue orderstoploss28 OrderStopLoss () prix36 Demandez Ad8 Gd228 Point si (orderstoploss28 0.0 orderstoploss28 gt prix36) OrderModify (OrderTicket), Aprice16, price36, OrderTakeProfit (), 0 SpringGreen) STOPLOSS IS: price36) Sleep (500) 78BAA8FAE18F93570467778F2E829047 double f018 () if (f038 () 0) Gd472 AccountEquity () si (Gd472 lt Gd480) Gd472 Gd480 autre Gd472 AccountEquity () Gd480 AccountEquity () retour (Gd472) 88CBC5FF77567D51686974367A3E9700 double f020 ) OrderObjectif (int24) POST_TOP () () () () () () () () () if (OrderSymbol() Symbol() ampamp OrderMagicNumber() MagicNumber1 ampamp OrderType() OPBUY) ticket8 OrderTicket() if (ticket8 gt ticket20) orderopenprice0 OrderOpenPrice() Ldunused12 orderopenprice0 ticket20 ticket8 return (orderopenprice0) 184916985BFD167AE4E08C739AF60F52 double f03() double orderopenprice0 int ticket8 double Ldunused12 0.0 int ticket20 0 for (int pos24 OrdersTotal() 1 pos24 gt 0 pos24 ) OrderSelect(pos24, SELECTBYPOS, MODETRADES) if (OrderSymbol() Symbol() ampamp OrderMagicNumber() MagicNumber1 ampamp OrderType() OPSELL) ticket8 OrderTicket() if (ticket8 gt ticket20) orderopenprice0 OrderOpenPrice() Ldunused12 orderopenprice0 ticket20 ticket8 return (orderopenprice0) 945D754CB0DC06D04243FCBA25FC0802 int f023() int count0 0 double Ld4 0.0 Gd744 0.0 for (int pos12 OrdersTotal() 1 pos12 gt 0 pos12 ) OrderSelect(pos12, SELECTBYPOS, MODETRADES) if (OrderSymbol() Symbol() ampamp OrderMagicNumber() MagicNumber2) if (OrderSymbol() Symbol() ampamp OrderMagicNumber() MagicNumber2) if (OrderType() OPSELL OrderType() OPBUY) count0 Ld4 OrderLots () Ld4 Gd744 OrderProfit() OrderSwap() Gd744 return (count0) 667DC3F4F5B9C0B70229F573988AC7C0 void f015() for (int pos0 OrdersTotal() 1 pos0 gt 0 pos0 ) OrderSelect(pos0, SELECTBYPOS, MODETRADES) if (OrderSymbol() Symbol () ampamp OrderMagicNumber() MagicNumber2) if (OrderType() OPBUY) OrderClose(OrderTicket(), OrderLots(), OrderClosePrice(), Gd568 Gd228, DarkGray) if (OrderType() OPSELL) OrderClose(OrderTicket(), OrderLots() , OrderClosePrice(), Gd568 Gd228, GreenYellow) Sleep(500) 2569208C5E61CB15E209FFE323DB48B7 int f06(int Ai0, double Alots4, double Adunused12, double Ad20, double Adunused28, int Ai36, int Ai40, string Acomment44, int Amagic52, int Adatetime56, color Acolor60 ) int ticket64 0 int error68 0 int count72 0 int Li76 100 switch (Ai0) case 0: for (count72 0 count72 lt Li76 count72) while (IsTradeAllowed()) Sleep(150) RefreshRates() ticket64 OrderSend(Symbol(), OPBUY , Alots4, NormalizeDouble(Ask, Digits), Ad20 Gd228, NormalizeDouble(f037(Bid, Ai36), Digits), NormalizeDouble(f036(Ask, Ai40), Digits), Acomment44, Amagic52, Adatetime56, Acolor60) error68 GetLastError() if (error68 0 NOERROR ) break if (error68 4 SERVERBUSY error68 137 BROKERBUSY error68 146 TRADECONTEXTBUSY error68 136 OFFQUOTES ) break Sleep(5000) break case 1: for (count72 0 count72 lt Li76 count72) while (IsTradeAllowed()) Sleep(150) RefreshRates () ticket64 OrderSend(Symbol(), OPSELL, Alots4, NormalizeDouble(Bid, Digits), Ad20 Gd228, NormalizeDouble(f08(Ask, Ai36), Digits), NormalizeDouble(f034(Bid, Ai40), Digits), Acomment44, Amagic52 , Adatetime56, Acolor60) error68 GetLastError() if (error68 0 NOERROR ) break if (error68 4 SERVERBUSY error68 136 OFFQUOTES error68 137 BROKERBUSY error68 146 TRADECONTEXTBUSY ) break Sleep(5500) return (ticket64) F96D30471D3E10470383B6981C5E7039 double f037(double Ad0, int Ai8) if (Ai8 0) return (0.0) return (Ad0 Ai8 Point) 2FC9212C93C86A99B2C376C96453D3A4 double f08(double Ad0, int Ai8) if (Ai8 0) return (0.0) return (Ad0 Ai8 Point) F8058EB0D24E6949E44CCCFC53A38CBD double f036(double Ad0, int Ai8 ) if (Ai8 0) return (0.0) return (Ad0 Ai8 Point) F590ACE4AD4063CE989827AACE7F7FA6 double f034(double Ad0, int Ai8) if (Ai8 0) return (0.0) return (Ad0 Ai8 Point) C326432F8CFFDF18B9C33D8D42CEBC52 double f030() double Ldret0 0.0 for (Gpos688 OrdersTotal() 1 Gpos688 gt 0 Gpos688 ) OrderSelect(Gpos688, SELECTBYPOS, MODETRADES) if (OrderSymbol() Symbol() ampamp OrderMagicNumber() MagicNumber2 TRUE) if (OrderType() OPBUY OrderType() OPSELL) Ldret0 OrderProfit() return (Ldret0) 50257C26C4E5E915F022247BABD914FE void f010(double Ad0, double Ad8, double Aprice16) int Li24 double orderstoploss28 double price36 if (Ad8 0.0) for (int pos44 OrdersTotal() 1 pos44 gt 0 pos44 ) if (OrderSelect (pos44, SELECTBYPOS, MODETRADES)) if (OrderSymbol() Symbol() ampamp OrderMagicNumber() MagicNumber2 1) if (OrderSymbol() Symbol() ampamp OrderMagicNumber() MagicNumber2) if (OrderType() OPBUY) Li24 MathFloor((Bid Aprice16) Point) if (Li24 lt Ad0) continue orderstoploss28 OrderStopLoss() price36 Bid Ad8 Gd228 Point if (orderstoploss28 0.0 orderstoploss28 lt price36) OrderModify(OrderTicket(), Aprice16, price36, OrderTakeProfit(), 0, SlateGray) if (OrderType () OPSELL) Li24 MathFloor((Aprice16 Ask) Point) if (Li24 lt Ad0) continue orderstoploss28 OrderStopLoss() price36 Ask Ad8 Gd228 Point if (orderstoploss28 0.0 orderstoploss28 gt price36) OrderModify(OrderTicket(), Aprice16, price36, OrderTakeProfit( ), 0, SpringGreen) Sleep(1000) 8B746562E009E3A592746A8F1AFB5B72 double f021() if (f023() 0) Gd724 AccountEquity() if (Gd724 lt Gd732) Gd724 Gd732 else Gd724 AccountEquity() Gd732 AccountEquity() return (Gd724) 5710F6E623305B2C1458238C9757193B double f012 () double orderopenprice0 int ticket8 double Ldunused12 0.0 int ticket20 0 for (int pos24 OrdersTotal() 1 pos24 gt 0 pos24 ) OrderSelect(pos24, SELECTBYPOS, MODETRADES) if (OrderSymbol() Symbol() ampamp OrderMagicNumber() MagicNumber2 ampamp OrderType() OPBUY) ticket8 OrderTicket() if (ticket8 gt ticket20) orderopenprice0 OrderOpenPrice() Ldunused12 orderopenprice0 ticket20 ticket8 return (orderopenprice0) 2230DA82D7FAFF3EA8CD4CFC92DE64E8 double f05() double orderopenprice0 int ticket8 double Ldunused12 0.0 int ticket20 0 for (int pos24 OrdersTotal() 1 pos24 gt 0 pos24 ) OrderSelect(pos24, SELECTBYPOS, MODETRADES) if (OrderSymbol() Symbol() ampamp OrderMagicNumber() MagicNumber2 ampamp OrderType() OPSELL) ticket8 OrderTicket() if (ticket8 gt ticket20) orderopenprice0 OrderOpenPrice() Ldunused12 orderopenprice0 ticket20 ticket8 return (orderopenprice0) 90124A87B1714F1FF8E93A2800BD4144 int f022(int Apos0, int Ai4, int Ai8 0) if (OrderSelect(Apos0, Ai4, Ai8) FALSE) return (0) if (OrderMagicNumber() MagicNumber1) return (0) if ( OrderSymbol() Symbol()) return (0) if (Ai8 MODEHISTORY) return (1) return (OrderType() lt OPSELL) 09CBB5F5CE12C31A043D5C81BF20AA4A int f01(int Apos0, int Ai4, int Ai8 0) if (OrderSelect(Apos0, Ai4, Ai8) FALSE) return (0) if (OrderMagicNumber() MagicNumber2) return (0) if (OrderSymbol() Symbol()) return (0) if (Ai8 MODEHISTORY) return (1) return (OrderType() lt OPSELL) C23BD2D05F1A927B2825264A247F4626 int f029(int Apos0, int Ai4, int Ai8 0) if (OrderSelect(Apos0, Ai4, Ai8) FALSE) return (0) if (OrderMagicNumber() MagicNumber3) return (0) if (OrderSymbol() Symbol()) return (0) if (Ai8 MODEHISTORY) return (1) return (OrderType() lt OPSELL) real account extern string EA EA MA extern int Magic 20110402 extern string TypeOfCalculation Percentage extern double Value 10.0 extern int TakeProfit1 5 extern int TakeProfit2 5 extern int StopLoss 250 int Gi116 0 extern string MOVINGAVERAGES1 MA INDICATOR 1 extern int MAPeriod1 100 extern int MAMethod1 0 extern string MAMethoD1 0simple 1exponential 2smoothed 3linear weighted extern int apliedprice1 0 extern string apliedpricE1 0CLOSE 1OPEN 2HIGH 3LOW 4MEDIAN 5TYPICAL 6WEIGHTED extern string MOVINGAVERAGES2 MA INDICATOR 2 extern int MAPeriod2 100 extern int MAMethod2 0 extern string MAMethoD2 0simple 1exponential 2smoothed 3linear weighted extern int apliedprice2 0 extern string apliedpricE2 0CLOSE 1OPEN 2HIGH 3LOW 4MEDIAN 5TYPICAL 6WEIGHTED extern string TIMEFILTER TIME FILTER BROKER TIME extern bool UseTimeFilter TRUE extern int StartHour 3 extern int EndHour 12 int Gi212 int Gi216 int Gi220 string Gsunused224 double Gd232 double Gd240 double Gminlot248 int Gi256 int Gi260 int Gslippage264 10 int Gi268 int Gi272 double Gorderlots276 double Gorderopenprice284 double Gorderlots292 double Gorderopenprice300 double Gorderopenprice308 double Gorderlots316 int Gcmd324 int Gcount328 int Gcount332 int Gpos336 int Gcount340 int Gcount344 int Gdatetime348 int Gdatetime352 double Gima356 double Gima364 int Gi372 50 int Gi376 70 int Gi380 int Gi384 int Gaccnumber388 288819 string Gs392 2030.12.28 00:00 int init() if (IsExpertEnabled()) Alert(Robot belum aktif, klik Expert Advisors) if (IsTradeAllowed()) Alert (Robot belum aktif, klik Tool gtoption gtExpert Advisors gtcentang Allow live trading gtOk) Gi380 Magic 1832 Gi384 Magic 364 return (0) int deinit() return (0) int start() double Ld0 ManualRisk(TypeOfCalculation, Value) Gminlot248 MarketInfo(Symbol(), MODEMINLOT) if (Gminlot248 0.01 1.0) Gi256 2 else Gi256 1 if (10.0 MarketInfo(Symbol(), MODELOTSTEP) lt 1.0) Gi256 2 else Gi256 1 if (Digits 5 Digits 3 Symbol() GOLD Symbol() GOLD. Symbol() GOLDm) Gi260 10 Gslippage264 100 else Gi260 1 Gd232 NormalizeDouble(MarketInfo(Symbol(), MODEMINLOT), Gi256) Gd240 NormalizeDouble(MarketInfo(Symbol(), MODEMAXLOT), Gi256) if (Ld0 lt Gd232) Ld0 Gd232 if (Ld0 gt Gd240) Ld0 Gd240 Ld0 NormalizeDouble(Ld0, Gi256) Gi272 NormalizeDouble(MarketInfo(Symbol(), MODESTOPLEVEL), 2) Gi268 NormalizeDouble(MarketInfo(Symbol(), MODESPREAD), 2) if (Gi116 Gi260 lt Gi272 Gi268 ampamp Gi116 0) Gi116 (Gi272 Gi268) Gi260 getOpenOrders(Gi380, TakeProfit1, StopLoss, Gi116) getOpenOrders(Gi384, TakeProfit2, StopLoss, Gi116) Gima356 iMA(NULL, 0, MAPeriod1, 0, MAMethod1, apliedprice1, 0) Gima364 iMA(NULL, 0, MAPeriod2, 0, MAMethod2, apliedprice2, 0) openord(Gi380) if (TimeFilter() ampamp Gdatetime348 iTime(Symbol(), 0, 0) ampamp kadaluarsa() ampamp LoginNumber()) if (buyMA1()) if (OPEN(Symbol(), OPBUY, Blue, Ld0, Gslippage264, Ask, 0, StopLoss, TakeProfit1, Rubisniper, Gi380)) Gdatetime348 iTime(Symbol(), 0, 0) if (sellMA1()) if (OPEN(Symbol(), OPSELL, Red, Ld0, Gslippage264, Bid, 0, StopLoss, TakeProfit1, Rubisniper, Gi380)) Gdatetime348 iTime(Symbol(), 0, 0) openord(Gi384) if (TimeFilter() ampamp Gdatetime352 iTime(Symbol(), 0, 0) ampamp kadaluarsa() ampamp LoginNumber()) if (buyMA2()) if (OPEN(Symbol(), OPBUY, Blue, Ld0, Gslippage264, Ask, 0, StopLoss, TakeProfit2, Rubisniper, Gi384)) Gdatetime352 iTime(Symbol(), 0, 0) if (sellMA2()) if (OPEN(Symbol(), OPSELL, Red, Ld0, Gslippage264, Bid, 0, StopLoss, TakeProfit2, Rubisniper, Gi384)) Gdatetime352 iTime(Symbol(), 0, 0) komentar(1, NAMA, AccountName()) komentar(2, NO. ACCOUNT, AccountNumber()) komentar(3, BROKER, AccountCompany()) komentar(4, LEVERAGE, 1: DoubleToStr(AccountLeverage(), 0)) komentar(5, TOTAL ORDER, DoubleToStr(OrdersHistoryTotal(), 0)) komentar(6, EQUITY, DoubleToStr(AccountEquity(), 2)) komentar(7, PROFIT, DoubleToStr(AccountProfit(), 2)) return (0) int sellMA1() if (iClose(Symbol(), PERIODM1, 1) lt Gima356 Gi372 Gi260 Point ampamp iClose(Symbol(), PERIODM1, 0) gt Gima356 Gi372 Gi260 Point) return (1) return (0) int buyMA1() if (iClose(Symbol(), PERIODM1, 1) gt Gima356 Gi372 Gi260 Point ampamp iClose(Symbol(), PERIODM1, 0) lt Gima356 Gi372 Gi260 Point) return (1) return (0) int sellMA2() if (iClose(Symbol(), PERIODM1, 1) lt Gima364 Gi376 Gi260 Point ampamp iClose(Symbol(), PERIODM1, 0) gt Gima364 Gi376 Gi260 Point) return (1) return (0) int buyMA2() if (iClose(Symbol(), PERIODM1, 1) gt Gima364 Gi376 Gi260 Point ampamp iClose(Symbol(), PERIODM1, 0) lt Gima364 Gi376 Gi260 Point) return (1) return (0) void komentar(int Ai0, string As4, string As12) int Li20 int Li24 if ((IsTradeAllowed()) (IsExpertEnabled())) ObjectDelete(baris0) return switch (Ai0) case 1: Li20 40 Li24 60 break case 2: Li20 40 Li24 75 break case 3: Li20 40 Li24 90 break case 4: Li20 40 Li24 105 break case 5: Li20 40 Li24 120 break case 6: Li20 40 Li24 135 break case 7: Li20 40 Li24 150 break case 8: Li20 40 Li24 165 break case 9: Li20 40 Li24 180 break case 10: Li20 40 Li24 195 break case 11: Li20 40 Li24 210 break case 12: Li20 40 Li24 225 break case 13: Li20 40 Li24 240 break case 14: Li20 40 Li24 255 break case 15: Li20 40 Li24 270 break case 16: Li20 40 Li24 285 break case 17: Li20 40 Li24 300 Monitor(baris0, WindowExpertName() Sedang berjalan. , 10, 40, 20, FireBrick, 0) Monitor(baris00, Sabar dan disiplin kunci kesuksesan gt by Rubianto, 8, 40, 10, RoyalBlue, 2) Monitor(baris Ai0, As4, 8, Li20, Li24, RoyalBlue, 0) Monitor(baris Ai0, :, 8, Li20 150, Li24, RoyalBlue, 0) Monitor(baris Ai0, As12, 8, Li20 160, Li24, RoyalBlue, 0) double ManualRisk(string As0 , double Ad8 0.0, double Ad16 0.0) double Ld24 0 if (Ad16 lt 0.0) Ad16 AccountEquity() if (As0 Percentage As0 ) Ld24 Ad16 Ad8 100000.0 if (As0 Lot As0 Lots) Ld24 Ad8 if (As0 Percentage As0 As0 Lot As0 Lots) if (Ld24 lt MarketInfo(Symbol(), MODEMINLOT)) return (MarketInfo(Symbol(), MODEMINLOT)) if (MarketInfo(Symbol(), MODELOTSTEP) 0.01) return (NormalizeDouble(Ld24, 2)) if (MarketInfo(Symbol(), MODELOTSTEP) 0.1) return (NormalizeDouble(Ld24, 1)) return (0) void Monitor(string Aname0, string Atext8, int Afontsize16, int Ax20, int Ay24, color Acolor28, int Acorner32) if (ObjectFind(Aname0) lt 0) ObjectCreate(Aname0, OBJLABEL, 0, 0, 0, 0, 0) ObjectSet(Aname0, OBJPROPCORNER, Acorner32) ObjectSet(Aname0, OBJPROPXDISTANCE, Ax20) ObjectSet(Aname0, OBJPROPYDISTANCE, Ay24) ObjectSetText(Aname0, Atext8, Afontsize16, Tahoma, Acolor28) int OPEN(string Asymbol0, int Acmd8, color Acolor12, double Alots16, double Aslippage24, double Aprice32, int Ai40, double Ad44, double Ad52, string Acomment60, int Amagic68) double price72 double price80 int ticket88 0 while (ticket88 lt 0) RefreshRates() Gi272 NormalizeDouble(MarketInfo(Symbol(), MODESTOPLEVEL), 0) Gi268 NormalizeDouble(MarketInfo(Symbol(), MODESPREAD), 0) if (Acmd8 OPBUY Acmd8 OPBUYLIMIT Acmd8 OPBUYSTOP) if (Ad52 Gi260 gt Gi272 ampamp (Ai40)) price72 Aprice32 Ad52 Gi260 Point else price72 0 if (Ad44 Gi260 gt Gi272 Gi268 ampamp (Ai40)) price80 Aprice32 Ad44 Gi260 Point else price80 0 if (Acmd8 OPSELL Acmd8 OPSELLLIMIT Acmd8 OPSELLSTOP) if (Ad52 Gi260 gt Gi272 ampamp (Ai40)) price72 Aprice32 Ad52 Gi260 Point else price72 0 if (Ad44 Gi260 gt Gi272 Gi268 ampamp (Ai40)) price80 Aprice32 Ad44 Gi260 Point else price80 0 ticket88 OrderSend(Asymbol0, Acmd8, Alots16, Aprice32, Aslippage24, price80, price72, Acomment60, Amagic68, 0, Acolor12) if (ticket88 lt 0) Sleep(1000) else return (1) return (0) int TimeFilter() Gi212 EndHour Gi220 Gi216 StartHour Gi220 if (StartHour Gi220 lt 0) Gi216 StartHour Gi220 24 if (EndHour Gi220 lt 0) Gi212 EndHour Gi220 24 if (StartHour Gi220 gt 24) Gi216 StartHour Gi220 24 if (EndHour Gi220 gt 24) Gi212 EndHour Gi220 24 if (UseTimeFilter FALSE) Gsunused224 return (1) if (Gi216 lt Gi212) if (Hour() gt Gi216 ampamp Hour() lt Gi212) Gsunused224 return (1) Gsunused224 Peringatan: Diluar jam trading, Robot istirahatn return (0) if (Gi216 gt Gi212) if (Hour() gt Gi216 Hour() lt Gi212) Gsunused224 return (1) Gsunused224 Peringatan: Diluar jam trading, Robot istirahatn return (0) return (0) double getPipValue(double Ad0, int Ai8) double Ldret12 RefreshRates() if (Ai8 1) Ldret12 NormalizeDouble(Ad0, Digits) NormalizeDouble(Ask, Digits) else Ldret12 NormalizeDouble(Bid, Digits) NormalizeDouble(Ad0, Digits) Ldret12 Point return (Ldret12) void getOpenOrders(int Amagic0, double Ad4, double Ad12, double Ad20) double Ld28 int ordertotal36 OrdersTotal() for (int pos40 0 pos40 lt ordertotal36 pos40) OrderSelect(pos40, SELECTBYPOS, MODETRADES) if (OrderType() OPBUY OrderType() OPSELL ampamp OrderSymbol() Symbol() ampamp OrderMagicNumber() Amagic0) Ld28 getPipValue(OrderOpenPrice(), OrderType()) if (Ad4 0.0) takeProfit(Ad4, Ld28, OrderTicket()) if (Ad12 0.0) killTrade(Ad12, Ld28, OrderTicket()) if (Ad20 0.0) TrailingPositions(Ad20, 1, OrderTicket()) void takeProfit(double Ad0, int Ai8, int Aticket12) int Liunused16 if (OrderSelect(Aticket12, SELECTBYTICKET) TRUE) Liunused16 MarketInfo(Symbol(), MODESPREAD) if (Ai8 gt Ad0 Gi260) if (OrderType() OPSELL) OrderClose(Aticket12, OrderLots(), Ask, Gslippage264, Red) if (OrderType() OPBUY) OrderClose(Aticket12, OrderLots(), Bid, Gslippage264, Blue) void killTrade(double Ad0, int Ai8, int Aticket12) if (OrderSelect(Aticket12, SELECTBYTICKET) TRUE) if (Ai8 lt ( Ad0) Gi260) if (OrderType() OPSELL) OrderClose(Aticket12, OrderLots(), Ask, Gslippage264, Red) if (OrderType() OPBUY) OrderClose(Aticket12, OrderLots(), Bid, Gslippage264, Blue) void TrailingPositions(double Ad0, double Ad8, int Aticket16) if (OrderType() OPBUY) if (NormalizeDouble(Bid, Digits) NormalizeDouble(OrderOpenPrice(), Digits) gt NormalizeDouble(Ad0 Gi260 Point, Digits)) if (NormalizeDouble(OrderStopLoss(), Digits) lt NormalizeDouble(Bid (Ad0 Ad8 1.0) Gi260 Point, Digits) NormalizeDouble(OrderStopLoss(), Digits) 0.0) OrderModify(Aticket16, OrderOpenPrice(), NormalizeDouble(Bid Ad0 Gi260 Point, Digits), OrderTakeProfit(), 0, CLRNONE) return if (OrderType() OPSELL) if (NormalizeDouble(OrderOpenPrice(), Digits) NormalizeDouble(Ask, Digits) gt NormalizeDouble(Ad0 Gi260 Point, Digits)) if (NormalizeDouble(OrderStopLoss(), Digits) gt NormalizeDouble(Ask (Ad0 Ad8 1.0) Gi260 Point, Digits) NormalizeDouble(OrderStopLoss(), Digits) 0.0) OrderModify(Aticket16, OrderOpenPrice(), NormalizeDouble(Ask Ad0 Gi260 Point, Digits), OrderTakeProfit(), 0, CLRNONE) return void openord(int Amagic0) Gcount332 0 Gcount340 0 Gcount344 0 Gcount328 0 for (Gpos336 0 Gpos336 lt OrdersTotal() Gpos336) OrderSelect(Gpos336, SELECTBYPOS, MODETRADES) if (OrderSymbol() Symbol() ampamp OrderMagicNumber() Amagic0 ampamp OrderType() OPBUY OrderType() OPSELL) Gcount332 Gorderopenprice308 OrderOpenPrice() Gorderlots316 OrderLots() Gcmd324 OrderType() if (OrderSymbol() Symbol() ampamp OrderMagicNumber() Magic ampamp OrderType() OPBUYLIMIT OrderType() OPBUYSTOP OrderType() OPSELLSTOP OrderType() OPSELLLIMIT) Gcount328 if (OrderSymbol() Symbol() ampamp OrderMagicNumber() Magic ampamp OrderType() OPBUY) Gcount340 Gorderopenprice300 OrderOpenPrice() Gorderlots292 OrderLots() if (OrderSymbol() Symbol() ampamp OrderMagicNumber() Magic ampamp OrderType() OPSELL) Gcount344 Gorderopenprice284 OrderOpenPrice() Gorderlots276 OrderLots() int kadaluarsa() int str2time0 StrToTime(Gs392) if (TimeCurrent() gt str2time0) Alert(Robot sudah kedaluarsa, silahkan kontak kami di rubianto. mdgmail) return (0) return (1) IsDemo() false if (IsDemo() true) int LoginNumber() if (AccountNumber() Gaccnumber388 Gaccnumber388 0 if (IsDemo() false)) IsTesting()) return (1) bool bool8 IsDemo() false if (IsDemo() true) Alert(Robot ini bukan untuk akun real ini, silahkan kontak kami di rubianto. mdgmail ) return (0) Forex Hacked is definitely an professional consultant constructed for that Metatrader4 system just. The actual objective whenever building Forex Hacked had been to create this because easy as you possibly can to create cash. Whenever you connect this within, your own not really heading to possess a 100 configurations to debate as well as changeoptimize. You8217ll be capitalizing correct from the entrance Therefore allows review a few essential functions regarding Forex Hacked which help to make this probably the most lucrative EA you8217ll actually make use of. Click Here to Download A NEW Trading Tool and Strategy For FREE This particular runs on the comparable technique because their own unique Forex Hacked becoming grid dependent, however using the Professional edition providing a lot more energy including a little bit of scalping towards the blend. The actual Pro version offers 3 distinctive methods mixed in to one which can function collectively to assist each other industry better. You are able to change all these methods upon or even away individually however its suggested to operate just about all 3. With regard to the majority of the foreign currency sets the actual optimized configurations make use of a reduced TP compared to exactly what the majority of us are utilized in order to about the unique edition having a TP associated with forty five pips. Deals tend to be shut much faster along with Professional which means you obtain lots of small earnings, however, you have them constantly. Therefore along with should you operate all of the backed foreign currency sets, you may expect 4 5x the quantity of deals compared to unique edition. Because of the character from the method FH Professional and many grid techniques generally industry, you may expect close to 1: 1 outcomes compared to demonstration accounts as opposed to reside accounts. This is a take a look at an earlier beta edition operating from very high risk. There8217s been numerous numerous updates, enhancements as well as optimized configurations because this particular check began. The actual 84 drawdown had been in its very first 30 days exactly where I8217d the danger considered maximum to determine exactly what it might survive through. Much more company accounts follows since the discharge in order to Professional nears. Other Searched For: forex hacked crack 2 5 rar Forex Hacked Pro Settings EA forex hacked rar forex hacked prp download mq4 download ea vzlomshik pro system forex hacked pro 1 15 download forex vzlomshik pro system 1 15 free download forex hacked free forex hacked pro 2 5
No comments:
Post a Comment