EA Help Needed
3 replies
mkjones320
4 years ago #241084
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
tomas262
4 years ago #241095
Seem alright, simple price pattern that should work. Does it trade for you or it does not execute any trades at all?
mkjones320
4 years ago #241099
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.
tomas262
4 years ago #241106
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 3 replies - 1 through 3 (of 3 total)