Code mq4 - maximaal risico, geldbeheer?
Results 1 to 4 of 4

Thread: Code mq4 - maximaal risico, geldbeheer?

  1. #1
    Wat is de code om het maximale risico nell'ea in te voeren en vervolgens regels voor geldbeheer te gebruiken zonder loten in te voeren ??

    voorbeeld..

    maximaal risico 2.0


    2% voor handel...

  2. #2
    Dit is geen formule voor geldbeheer, mijn vriend. Het is veel beheer. Het is een van mijn eenvoudige manieren. U kunt deze onderstaande codeset gebruiken. Tel uw lotsgrootte op basis van uw account Gratis marge % ingevoegde code/-- externe invoer externe dubbele LotPercent = 2,0/gemiddelde 2,0%/-- pass variabele dubbele LotSize; ongeldig LotsCalc() { if(MarketInfo(Symbol(),MODE_MINLOT) == 0.1) int LotsDigit = 1; else if(MarketInfo(Symbol(),MODE_MINLOT) == 0.01) LotsDigit = 2; dubbele MinLots = NormalizeDouble(MarketInfo(Symbol(),MODE_MINLOT),L otsDigit); dubbele MaxLots = NormalizeDouble(MarketInfo(Symbol(),MODE_MAXLOT),L otsDigit); dubbele AcFrMar = NormalizeDouble(AccountFreeMargin(),2); LotSize = (AcFrMar*(LotsPercent/100))/1000; if(LotSize gt; MaxLots) LotSize = MaxLots; if(LotSize lt; MinLots) LotSize = MinLots; } Voer LotsCalc() uit v��r de OrderSend-functie. Vervolgens kunt u de variabele LotSize gebruiken in uw OrderSend() Happy Trading Good Luck!

  3. #3
    sorry voor de noob mq4 Q maar .. kun je me vertellen waar ik de code moet plaatsen? begin vin, midden? maakt niet uit?

  4. #4
    Hallo ... Ik stel voor om de resultaatpartijgrootte te verdelen over het maximum aantal toegestane transacties om het risico gelijkelijk te verdelen over alle transacties.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.