[Build 130] Missing stop losses

For no reason at all, GBPJPY is missing losses and goes live with these trades
although specifically in SQX I've set stop losses REQUIRED
unreliable mql4 code or what's happening?


Attachments
gbpjpy without stop loss 1.png
(58.36 KiB)
gbpjpy without stop loss.txt
(217.25 KiB)
gbpjpy without stop loss expert log.txt
(83.71 KiB)
  • Votes +1
  • Project StrategyQuant X
  • Type Bug
  • Status Refused
  • Priority High

History

b
#1

gin

08.12.2020 21:01

Task created

b
#2

gin

08.12.2020 21:03

opens trade from buy stop and fails to set SL?


b
#3

gin

08.12.2020 21:05

Attachment gbpjpy-h4-wf-Strategy 72117.sqx added

gbpjpy-h4-wf-Strategy 72117.sqx
(311.89 KiB)
b
#4

gin

08.12.2020 21:05
Voted for this task.
b
#5

gin

08.12.2020 21:08

so basically buy stop converts to live trade without SL

SQX tries to set SL but suddenly says Order with these parameters already exists and duplicate trades are not allowed. Canceling order...

without setting up SL

why is that?

where is the check if SL was set or not?


2020.12.07 16:00:00.233    gbpjpy-h4-wf-Strategy 7.2.117 GBPJPY,H4: - SQ LOG 2020.12.07 16:00 ----------------------------------
2020.12.07 16:00:00.233    gbpjpy-h4-wf-Strategy 7.2.117 GBPJPY,H4: - SQ LOG 2020.12.07 16:00 Order with these parameters already exists and duplicate trades are not allowed. Canceling order...
2020.12.07 16:00:00.233    gbpjpy-h4-wf-Strategy 7.2.117 GBPJPY,H4: - SQ LOG 2020.12.07 16:00 Opening order type SELL STOP with price 138.358. Current market prices: 138.597 / 138.591
2020.12.07 16:00:00.233    gbpjpy-h4-wf-Strategy 7.2.117 GBPJPY,H4: - SQ LOG 2020.12.07 16:00 Max money to risk: 342.882, SL:135.358, One lot drawdown: 2883.61720943, Point value: 961.20573648
2020.12.07 16:00:00.233    gbpjpy-h4-wf-Strategy 7.2.117 GBPJPY,H4: - SQ LOG 2020.12.07 16:00 Computing Money Management - Smallest_Lot: 0.01, Largest_Lot: 100, Computed LotSize: 0.11
2020.12.07 16:00:00.233    gbpjpy-h4-wf-Strategy 7.2.117 GBPJPY,H4: - SQ LOG 2020.12.07 16:00 MODE_TICKSIZE: 0.001, MODE_TICKVALUE: 0.96120574, MODE_POINT: 0.001
2020.12.07 16:00:00.233    gbpjpy-h4-wf-Strategy 7.2.117 GBPJPY,H4: - SQ LOG 2020.12.07 16:00 Computing Money Management for order -  Risk fixed % of account
2020.12.07 12:00:03.033    gbpusd-h4-random-WF Matrix - Strategy 0.153522826 GBPUSD,H4: - SQ LOG 2020.12.07 12:00 Order modified successfuly

b
#6

gin

08.12.2020 21:10

and why SL:135.358, when SELL STOP with price 138.358. ?

shouldn't SL be above price if we go down?


b
#7

gin

08.12.2020 21:12

Subject changed from Missing stop losses to Missing stop losses + incorrect stop losses

h
#8

hankeys

08.12.2020 21:14

Subject changed from Missing stop losses + incorrect stop losses to Missing stop losses

your strategy has no SL at all


    Open Long order at Highest(Main chart, 50, PRICE_CLOSE)[2] Stop;
        Order valid for 5 bars;
        Duplicate trades: disabled; 
        Replacing pending orders: allowed; 
        
        Profit target = 3.8* ATR(12);
g
#9

Gin

08.12.2020 23:52
and this is the problem

bug in SQX, I always make sure that SQX stop losses check box is on

infact SL in SQX is by default on

g
#10

Gin

08.12.2020 23:54
so the question is where did the SL go and why?

obscure and nasty SQX bug 


and even then if no SL then why Account Balance MM  mmstoploss did not work then?


MF
#11

Mark Fric

09.12.2020 09:49

Status changed from New to Waiting for information

Priority changed from Normal to High

can you attach your strategy i .sqx format or build config you used to generate it? 


It seems strange to me that required SL setting would not be respected.

h
#12

hankeys

09.12.2020 11:44
i am working with SQX  for over a year from the first builds and never have problems with missing SL
MF
#13

Mark Fric

14.12.2020 12:38

Status changed from Waiting for information to Refused

b
#14

gin

15.12.2020 00:20

hankeys, why is it always about you, and how cool you are?


Votes: +1

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please