Help needed coding EA - OrderSend errors - Page 2
Page 2 of 842 FirstFirst 12
Results 11 to 12 of 12

Thread: Help needed coding EA - OrderSend errors

  1. #11
    Quote Originally Posted by ;
    , Pleased to help when results are valued. Hope it helps. M.
    Can you explain to me this bit of code and what it does?

    Int init()

    mGap = NormalizeDouble((MarketInfo(NULL, MODE_STOPLEVEL) 30) * Point(), BrokerDigits);
    return(0);



    Thanks

  2. #12
    3 Attachment(s) Hey guys,
    I am trying to code an EA for a specific egy but I am getting error codes. Such as OrderSend mistake 130 and OrderSend mistake 138 and such.
    So I'm wondering if some of you guys would be happy to help me out here.

    I also get things like this where it is not entirely accurate:
    https://www.forexforum.co.za/general...ents-euro.html
    and
    https://www.forexforum.co.za/trading...00-2008-a.html

    The egy is as follows:
    Engulfing candle needed to breach the Bollinger band.
    Entrance: 5 pips above/below near Engulfing candle.
    Stop: 5 pips above/below high/low of Engulfing candle.
    Goal: 2-1 Reward to Risk.

    Requirements:
    Engulfing candle has to shut above/below the high/low of previous candle.
    If we don't get entered through the subsequent 4 candles the transaction becomes invalidated.
    If candle type of Engulfing candle is large, use a preceding candle to base the Stop reduction off of.

    Here is the code I'm currently using:
    https://pastebin.com/jUWGDqdV

    Here are some results I got together with the code:
    https://www.forexforum.co.za/general...ty-knocks.html


    So if anyone want to try it out and determine what the issues are that could appreciated.

    Thanks!

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.