Hi coders pls help me sort out error of this code.
In D1 I want pendle sell stop the low and buy stop the high of the prev day candle. at first I had issue with ECN, got error 130, solved the problem with ecn, now invalid stop ... I wrestled with it almost 4 weeks, I even forget how to trade, but could not be any wiser ... please help me sort out this problem, help me put it to rest, why it does not like that SL 5pips even 50pips it still not happy.
(Very sorry, you need this .mgh in /Include for compiling)
Inserted Code
2022.05.26 07:11:33.863 KP_Trader_lazy GBPUSD,Daily: last error: 130:invalid stops 2022.05.26 07:11:33.863 KP_Trader_lazy GBPUSD,Daily: failed trade: OP_SELLSTOP [email protected] [email protected] [email protected] 2022.05.26 07:11:33.863 KP_Trader_lazy GBPUSD,Daily: failed to execute stop or limit order after 0 retries 2022.05.26 07:11:33.863 KP_Trader_lazy GBPUSD,Daily: non-retryable error: 130:invalid stops 2022.05.26 07:11:33.863 KP_Trader_lazy GBPUSD,Daily: attempted OP_SELLSTOP 1 lots @0.24803 sl:1.2565 tp:1.24787
In D1 I want pendle sell stop the low and buy stop the high of the prev day candle. at first I had issue with ECN, got error 130, solved the problem with ecn, now invalid stop ... I wrestled with it almost 4 weeks, I even forget how to trade, but could not be any wiser ... please help me sort out this problem, help me put it to rest, why it does not like that SL 5pips even 50pips it still not happy.
(Very sorry, you need this .mgh in /Include for compiling)
Attached File(s)
KP_Trader_lazy.mq4
7 KB
|
164 downloads
OrderReliable_2010.10.12.mqh
28 KB
|
147 downloads