1. 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 :)
    Dismiss Notice

Suggestion Can AnyBody Help to check this Ea?

Discussion in 'Expert Advisor atau Robot Forex' started by Gabriel Ortega Huerta, 17 Aug 2024.

  1. Gabriel Ortega Huerta

    Gabriel Ortega Huerta New Member

    Equity
    Credit
    Ref Point
    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!
     

    Attached Files:

  2. Tanaka Taro

    Tanaka Taro Member Credit Hunter

    Equity
    Credit
    Ref Point
    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".
     
  3. Gabriel Ortega Huerta

    Gabriel Ortega Huerta New Member

    Equity
    Credit
    Ref Point
    Can you Fix it??
     
  4. Tanaka Taro

    Tanaka Taro Member Credit Hunter

    Equity
    Credit
    Ref Point
    Believe me, this EA is not profitable.
    This EA just use Price is over or under Moving Average indicator to Open Order.
    *Suggest to not waste time for this EA
     
  5. tinek36

    tinek36 Member Credit Hunter

    Equity
    Credit
    Ref Point
    Salvo.gif
    does work ... optimizing takes 3hours for one pair ....and profit aint much ~ 300$ for 2 years
     
  6. Gabriel Ortega Huerta

    Gabriel Ortega Huerta New Member

    Equity
    Credit
    Ref Point
    GBPUSD M15.PNG
     
  7. Gabriel Ortega Huerta

    Gabriel Ortega Huerta New Member

    Equity
    Credit
    Ref Point
    Use this set file:
     

    Attached Files:

  8. Gabriel Ortega Huerta

    Gabriel Ortega Huerta New Member

    Equity
    Credit
    Ref Point
    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!
     
  9. Gabriel Ortega Huerta

    Gabriel Ortega Huerta New Member

    Equity
    Credit
    Ref Point
  10. Tanaka Taro

    Tanaka Taro Member Credit Hunter

    Equity
    Credit
    Ref Point
    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();
    }
     
    • Winner Winner x 1

Share This Page