Not logged in
Viewing 4 posts - 1 through 4 (of 4 total)
  • #241084|
    Customer
    34 Posts

    Hi,

    I am trying to create an EA that uses Median Renko bars.  A long trade occurs after 3 up bars are followed by one down bar and then another up bar, enter at market on the close of the up bar.  Exit on the close of the next down bar. Opposite for a sell.  Wondering if you can take a look at my coding, something seems off.?

    Thanks,

    Kevin

    Attachments:
    You must be logged in to view attached files.
    #241095
    tomas262
    Administrator
    1085 Posts

    Seem alright, simple price pattern that should work. Does it trade for you or it does not execute any trades at all?

    #241099
    Customer
    34 Posts

    It doesn’t trade at all, just says that I don’t have enough margin in my account to execute the trade.  I have tried $3k and $30k with the same results.  Attached a screen shot of the journal.

    Attachments:
    You must be logged in to view attached files.
    #241106
    tomas262
    Administrator
    1085 Posts

    Hello,

    OrderSend Error 134 (No Enough Money) shown in the log means you probably used incorrect order size, what order size did you try to open?

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.