Forum Replies Created
-
AuthorPosts
-
pabs labsParticipant
I use https://www.cashbackforex.com/tools/position-size-calculator to correctly calculate a position size for 1% risk per trade given the SL in pips that each of the v5.0 robots are using.
Thanks for the results Alan.
pabs labsParticipantHi, I am also about to start a 100k algo challenge with IFF.
Be interested knowing from anybody who has used Eightcap on an IFF challenge and how it went, what issues there were if any.
pabs labsParticipantWell after moving to MT4 it all seems to working fine !
Just had an SL moved to BE. 🙂
pabs labsParticipantno it was on a regular 25k mt5 demo account.
i have given up on it and opened a 25k mt4 demo account, Lets see if it works now.
pabs labsParticipantIclosed all open trades, removed all the charts, then restarted mt5 terminal.
i then added the 7 charts and an ea to each chart/ Still i get errors.
a snippet of my experts logfile : i am getting position not found and invalid lotsize errors now.
MN 0 14:49:50.903 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Position doesn’t exist
JL 0 14:49:51.011 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Position doesn’t exist
RK 0 14:49:51.112 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Position doesn’t exist
OK 0 14:49:51.218 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) SetBreakEvenStop(300) set StopLoss to 1.68087, Bid=1.6838899999999999
NI 0 14:49:52.346 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Position doesn’t exist
LG 0 14:49:52.454 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Position doesn’t exist
JE 0 14:49:52.562 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Position doesn’t exist
LP 0 14:49:52.670 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Position doesn’t exist
DL 0 14:49:52.777 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) SetBreakEvenStop(300) set StopLoss to 1.68087, Bid=1.6838899999999999
OQ 0 14:49:54.068 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Position doesn’t exist
IL 0 14:49:54.169 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Position doesn’t exist
HJ 0 14:49:54.276 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Position doesn’t exist
RI 0 14:49:54.377 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Position doesn’t exist
HF 0 14:49:54.486 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) SetBreakEvenStop(300) set StopLoss to 1.68087, Bid=1.68391
PD 0 14:49:55.013 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Position doesn’t exist
JR 0 14:49:55.121 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Position doesn’t exist
DP 0 14:49:55.222 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Position doesn’t exist
CO 0 14:49:55.328 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Position doesn’t exist
EO 0 14:49:55.436 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) SetBreakEvenStop(300) set StopLoss to 1.68087, Bid=1.6839
RJ 0 14:49:55.578 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Position doesn’t exist
NH 0 14:49:55.686 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Position doesn’t exist
GG 0 14:49:55.793 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Position doesn’t exist
EE 0 14:49:55.894 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Position doesn’t exist
NR 0 14:49:56.001 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) SetBreakEvenStop(300) set StopLoss to 1.68087, Bid=1.6839
GQ 0 15:11:49.674 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Invalid volume
IM 0 15:11:49.782 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Invalid volume
GJ 0 15:11:49.890 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Invalid volume
JF 0 15:11:49.998 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Invalid volume
LS 0 15:11:50.181 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Invalid volume
FP 0 15:11:50.282 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Invalid volume
RL 0 15:11:50.390 GBPCAD M1 FTMO Filter M30 (7) (GBPCAD+,M1) Error with OrderCheck: Invalid volumeas i said earlier….this is a 25k demo account on vantage markets.
what do you suggest i do ?
pabs labsParticipantAlan,
Yes i can see your SL is at BE now.
So really its just a case of me restarting MT5 and loading the EAs again on the 7 pairs….this hopefully will stop the problem setting the new SL once the trade reaches “breakeven” points in profit.
Thanks for your time.
pabs labsParticipantAlan,
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.
pabs labsParticipantHere’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);
}
}
}pabs labsParticipantforgot to add…..what is a breakeven order ?
pabs labsParticipantAlan, 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 !
pabs labsParticipantHello 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
pabs labsParticipantlooking 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
pabs labsParticipantFurther 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.66996pabs labsParticipanthi
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
-
AuthorPosts