Community Forums › Forums › Ready-to-use Robots › Prop Firm Robots › FTMO Robot: V4.3: What’s new?
Tagged: Back test FTMO robot, FTMO Robot, ftmo robot v4.0, ftmo robot v4.1, ftmo robot v4.2, ftmo robot v4.3, manually close transaction, Petko, Questions with prop firms
- This topic has 282 replies, 65 voices, and was last updated 2 years, 2 months ago by
Sammy Trader.
-
AuthorPosts
-
October 28, 2023 at 5:18 am #207869
0xBitpool
ParticipantOh! I can’t set it to public…. I’ll try
October 28, 2023 at 10:36 pm #208053Gary Wenger
ParticipantPetko shared this updated EA last week, for the EUR/USD currency pair.
EA Studio EURUSD M15 56512203October 31, 2023 at 5:41 pm #208731Marin Stoyanov
Keymasterhi
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
October 31, 2023 at 6:40 pm #208743Marin Stoyanov
KeymasterFurther 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.66996October 31, 2023 at 8:18 pm #208769Alan Northam
ParticipantAfter 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,
October 31, 2023 at 11:59 pm #2087960xBitpool
ParticipantJust 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
November 1, 2023 at 7:48 am #2088450xBitpool
ParticipantI have the same thing. Would be nice to know what’s happening
November 1, 2023 at 9:44 am #208863Marin Stoyanov
Keymasterlooking 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
November 1, 2023 at 11:22 am #208882Marin Stoyanov
KeymasterHello 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
November 1, 2023 at 12:05 pm #208902Alan Northam
ParticipantAfter 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,
November 1, 2023 at 1:11 pm #208916Marin Stoyanov
KeymasterAlan, 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 !
November 1, 2023 at 1:12 pm #208917Marin Stoyanov
Keymasterforgot to add…..what is a breakeven order ?
November 1, 2023 at 1:24 pm #208919Marin Stoyanov
KeymasterHere’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);
}
}
}November 1, 2023 at 2:06 pm #208931Alan Northam
ParticipantI 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,
November 1, 2023 at 2:14 pm #208933Marin Stoyanov
KeymasterAlan,
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.
-
AuthorPosts
- You must be logged in to reply to this topic.