• Welcome back! Thank you for being a part of this Traders Community. Let's discuss and share :)
    Selamat datang kembali! Trimakasih telah menjadi bagian dari Komunitas Trader ini. Mari berdiskusi dan berbagi :)

Suggestion Can AnyBody Help to check this Ea?

Credits
0
This expert works acceptably well on demo account. But in backtesting suddenly there is a Stop Out before reaching the end date that is specified in the Backtest, please some expert check it. It is optimizad for GBPUSD TF 15 Min. Thank you!
 

Attachments

This expert works acceptably well on demo account. But in backtesting suddenly there is a Stop Out before reaching the end date that is specified in the Backtest, please some expert check it. It is optimizad for GBPUSD TF 15 Min. Thank you!

Seem logic of this EA is not complete.
Even though, it has TakeProfit(TP), StopLoss (SL) in parameter, but this EA does not use it.
Just use TrailingStop only

So when graph is go wrong way, it will happen like this "Stop Out before reaching the end date".
 
Salvo.gif
does work ... optimizing takes 3hours for one pair ....and profit aint much ~ 300$ for 2 years
 

Attachments

  • Salvo.gif
    Salvo.gif
    14.4 KB · Views: 163
The thing is that it works differently depending on the broker, which I think is obvious. A long time goes by without opening orders and, according to the broker, the expert stops before the final date of the optimization. I think we have to solve the problem of stop loss. Best regards!
 
Already warned you that this EA just use Price is over or under Moving Average indicator to Open Order.
So if you still want to try it, please go ahead.

[Condition to open order]
1. Price over Moving Average indicator --> open buy order
//--- Example trading condition: open a buy order if the close price is above the moving average
if (iClose(Symbol(), 0, 1) > iMA(Symbol(), 0, 14, 0, MODE_SMA, PRICE_CLOSE, 1))
{
OpenBuyOrder();
}

2. Price under Moving Average indicator --> open sell order
//--- Example trading condition: open a sell order if the close price is below the moving average
else if (iClose(Symbol(), 0, 1) < iMA(Symbol(), 0, 14, 0, MODE_SMA, PRICE_CLOSE, 1))
{
OpenSellOrder();
}
 
Back
Top