FTMO Robot: V4.3: What’s new?

Community Forums Forums Ready-to-use Robots Prop Firm Robots FTMO Robot: V4.3: What’s new?

Viewing 15 posts - 226 through 240 (of 283 total)
  • Author
    Posts
  • #207869
    0xBitpool
    Participant

    Oh! I can’t set it to public…. I’ll try

    #208053
    Gary Wenger
    Participant

    Petko shared this updated EA last week, for the EUR/USD currency pair.
    EA Studio EURUSD M15 56512203

    #208731
    Marin Stoyanov
    Keymaster

    hi

    Hello all.

    I have my EA break even setting set at 300 points, stop loss 300 and TP600, But even when trades have hit TP the stop loss has not been moved to break even What am I doing wrong here?

    I’m confused about the trading hours 01 to 23 in the robot… I’m in the UK on GMT and my broker is GMT +3 so what do I need to set the trading hours to in the robot settings. Confused!

     

    Thanks for your help

     

    Pabs

     

     

    #208743
    Marin Stoyanov
    Keymaster

    Further to my equation on BE SL…after recompiling with the logilewrite set true ..This i what i see in the Experts log… many attempts to set the SL but none executed

    .

    2023.10.31 16:17:56.969 EURAUD M1 FTMO Filter M30 (3) (EURAUD+,M1) Error with OrderCheck: Position doesn’t exist
    2023.10.31 16:17:57.078 EURAUD M1 FTMO Filter M30 (3) (EURAUD+,M1) SetBreakEvenStop(300) set StopLoss to 1.67314, Ask=1.66998
    2023.10.31 16:17:57.544 EURAUD M1 FTMO Filter M30 (3) (EURAUD+,M1) Error with OrderCheck: Position doesn’t exist
    2023.10.31 16:17:57.644 EURAUD M1 FTMO Filter M30 (3) (EURAUD+,M1) Error with OrderCheck: Position doesn’t exist
    2023.10.31 16:17:57.751 EURAUD M1 FTMO Filter M30 (3) (EURAUD+,M1) Error with OrderCheck: Position doesn’t exist
    2023.10.31 16:17:57.857 EURAUD M1 FTMO Filter M30 (3) (EURAUD+,M1) Error with OrderCheck: Position doesn’t exist
    2023.10.31 16:17:57.966 EURAUD M1 FTMO Filter M30 (3) (EURAUD+,M1) SetBreakEvenStop(300) set StopLoss to 1.67314, Ask=1.66996

    #208769
    Alan Northam
    Participant

    After your trade makes a profit of 300 points or more and the trade reverses direction Breakeven will place a breakeven order to protect your account from loss. The SL will not change. The breakeven order will override SL price.

    No trades will be taken until after 1 hour after the market opens and will stop placing trades 1 hour before the market closes.

    Alan,

    #208796
    0xBitpool
    Participant

    Just got the same problem. Position exists, but SL can’t be moved to break even. “position doesn’t exist” is not reassuring.

    I moved the SL manually

    #208845
    0xBitpool
    Participant

    I have the same thing. Would be nice to know what’s happening

    #208863
    Marin Stoyanov
    Keymaster

    looking at the code and the error message thats not what i see happening. What i see is the EA trying to move stop to BE to protect against a loss after being up 300 points.

     

    Anyway, that still doesn’t fix my problem with the error message which is trying to set stop to breakeven ?

     

    2023.10.31 16:17:57.078 EURAUD M1 FTMO Filter M30 (3) (EURAUD+,M1) SetBreakEvenStop(300) set StopLoss to 1.67314, Ask=1.66998

    #208882
    Marin Stoyanov
    Keymaster

    Hello all, yes I’m having the same problem seems like there is an issue with the EA So currently I’m also setting SL to breakeven manually.

     

    This is happening on MT5 not sure if it also occurs on MT4, but this issue needs to be fixed ASAP

    #208902
    Alan Northam
    Participant

    After your trade makes a profit of 300 points or more AND the trade reverses direction Breakeven will place a breakeven order to protect your account from loss. The SL in the EA properties box will not change. The breakeven order will override SL set in the properties box.

    Alan,

    #208916
    Marin Stoyanov
    Keymaster

    Alan, thanks for your replies but …

    Thats not what the EA is trying to do it seems to me…its trying to move the SL to breakeven….that’s the error message in the logfile…

    2023.10.31 16:17:57.078 EURAUD M1 FTMO Filter M30 (3) (EURAUD+,M1) SetBreakEvenStop(300) set StopLoss to 1.67314, Ask=1.66998

    the important part being in bold italics. 

    That doesn’t answer the fundamental question … why are we getting error messages? Whatever it is that the EA is trying to do is NOT WORKING.

    Is there a document where the EA settings are fully explained, especially this BREAKEVEN setting ? Or perhaps whoever setup the strategy for the Ea builder needs to come on the forum and give a definitive answer !

    #208917
    Marin Stoyanov
    Keymaster

    forgot to add…..what is a breakeven order ?

    #208919
    Marin Stoyanov
    Keymaster

    Here’s the code …. its trying to set the SL not open a “breakeven” order…

    if(position.PosType==OP_BUY)
    {
    breakprice=position.OpenPrice+_Point*commission/position.Lots;
    if(tick.bid-breakprice>=_Point*breakeven)
    {
    if(position.StopLossPrice<breakprice)
    {
    if(WriteLogFile)
    logger.WriteLogRequest(“SetBreakEvenStop”,
    “BreakPrice=”+DoubleToString(breakprice,_Digits));

    ModifyPosition(breakprice,position.TakeProfitPrice);

    Print(“SetBreakEvenStop(“,breakEven,”) set StopLoss to “,
    DoubleToString(breakprice,_Digits),”, Bid=”,tick.bid);
    }
    }
    }

    #208931
    Alan Northam
    Participant

    I too am trading the FTMO EA’s and they are working correctly.  When one of the EA’s reverses direction it will set a new SL at breakeven but the original SL does not change.  You can see the original SL by a small red dash after the new SL is set at breakeven.  So, the original SL does not move, however a new SL is set at breakeven.  There is nothing wrong with the EA coding.  FSBpro does not create faulty coding.  When you compile the EA in MetaTrader Editor you can see there is no errors.  If you are seeing error messages in your log file then the EA is not set up properly or there is an issue your broker.  If you are using FTMO challenge or FTMO demo account and the EA is set up properly in MT4 or MT5 it will work correctly.  The FTMO video lectures show how to set up the EA’s and how they perform when tested.

    Alan,

    #208933
    Marin Stoyanov
    Keymaster

    Alan,

     

     it will set a new SL at breakeven but the original SL does not change

    …so is this an internal SL at breakeven… surely an order can only have one SL.

     

    After this week i will restart MT5 and reload the 7 EAs.  I’m running them on a demo account, see if that fixes the “Position not found” error.

Viewing 15 posts - 226 through 240 (of 283 total)
  • You must be logged in to reply to this topic.
Scroll to Top