[B135] Incorrect opposite rule for SMA

SQX generates strategies with:

LongEntrySignal = Bar opens above Simple Moving Average(Main chart,MABarOpensPeriod, PRICE_HIGH)[1]);

ShortEntrySignal = Bar opens below Simple Moving Average(Main chart,MABarOpensPeriod, PRICE_HIGH)[1]);

However, the opposite rule should be:

ShortEntrySignal = Bar opens below Simple Moving Average(Main chart,MABarOpensPeriod, PRICE_LOW)[1]);

PRICE_LOW instead of PRICE_HIGH.

Thanks for fixing this.
Attachments
No attachments
  • Votes +4
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

g
#1

geektrader

16.01.2022 07:03

Task created

g
#2

geektrader

16.01.2022 07:04
Voted for this task.
b
#3

bentra

17.01.2022 10:11
Voted for this task.
E
#4

Emmanuel

29.01.2022 14:52
Voted for this task.
o
#5

Enric

16.06.2022 08:25
Voted for this task.
MF
#6

Mark Fric

07.09.2022 14:09

Status changed from New to Fixed


Votes: +4

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please