Hey guys,
I'm trying to code an EA for a particular strategy but I am getting error codes. like OrderSend error 130 and OrderSend error 138 and such.
So I am wondering if any of you guys would be willing to help me out here.
I also get stuff like this where it's not entirely accurate:
and
The strategy is as follows:
Engulfing candle had to breach the Bollinger band.
Entry: 5 pips above/below close of Engulfing candle.
Stop: 5 pips above/below high/low of Engulfing candle.
Target: 2-1 Reward to Risk.
Conditions:
Engulfing candle has to close above/below the high/low of previous candle.
If we don't get entered during the next 4 candles the trade gets invalidated.
If candle wick of Engulfing candle is large, use a previous candle to base the Stop loss off of.
Here is the code I am currently using:
https://pastebin.com/jUWGDqdV
Here are some results I got with the code:
So if anybody would like to try it out and see what the issues are that would appreciated.
Thanks!
AntiVi
I'm trying to code an EA for a particular strategy but I am getting error codes. like OrderSend error 130 and OrderSend error 138 and such.
So I am wondering if any of you guys would be willing to help me out here.
I also get stuff like this where it's not entirely accurate:
and
The strategy is as follows:
Engulfing candle had to breach the Bollinger band.
Entry: 5 pips above/below close of Engulfing candle.
Stop: 5 pips above/below high/low of Engulfing candle.
Target: 2-1 Reward to Risk.
Conditions:
Engulfing candle has to close above/below the high/low of previous candle.
If we don't get entered during the next 4 candles the trade gets invalidated.
If candle wick of Engulfing candle is large, use a previous candle to base the Stop loss off of.
Here is the code I am currently using:
https://pastebin.com/jUWGDqdV
Here are some results I got with the code:
So if anybody would like to try it out and see what the issues are that would appreciated.
Thanks!
AntiVi