AlgoWizard LongExit Signal not fuctioning - same with Short Exit Signal

The Bug appears in the Algowizard editing:

1- The strategy is set for editing in the Algowizard ( Strategy)
2- Once a long or a short exit signal, the results are illogical ,ie : if the close is below a SMA THEN the order should close and it does not execute in the correct  logic.  
3- The correct logic would be to exit the long position once the Close is below the MA.
4- Once removed the signals that produced  the fault the strategy return to normal without editing.


Please run the Strategy before editing and add the editing  to see the faults.



Attachments
Emini _ Long exit Signal problem 5M.sqx
(1.21 MiB)
Emini Strategy before editing.sqx
(86.33 KiB)
Long exit fault 1.jpg
(505.08 KiB)
Long ExitSignal not working.jpg
(438.08 KiB)
Long exit bug 2.jpg
(461.41 KiB)
  • Votes +1
  • Project StrategyQuant X
  • Type Bug
  • Status Refused
  • Priority Normal

History

EC
#1

ecsatroy1

12.05.2021 03:33

Task created

EC
#2

ecsatroy1

12.05.2021 03:56
Voted for this task.
MF
#3

Mark Fric

21.05.2021 10:20

Status changed from New to Waiting for information

I looked at it, but I don't see the problem.


I think your exit signal is simply wrong - it will immediately close the order when the market is below EMA or SMA.

This happens a lot, hence you have many trades that are closed after a bar or two.


But I don't see any bug in SQ.

MF
#4

Mark Fric

01.06.2021 08:49

Status changed from Waiting for information to Refused


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