[B135] Unsymmetric opposite rule for SmallestRange / BiggestRange

Without using the OppositeBlocks.csv, I just got a strategy that has this long/short rule:


Open Long order at (Low(Main chart)[Shift] - (PriceEntryMult * SmallestRange(Main chart, Period)[Shift])) Limit; Open Short order at (High(Main chart)[Shift] + (PriceEntryMult * BiggestRange(Main chart, Period)[Shift])) Limit;


Needless to say that this strategy has a symmetry of 0% in the backtests, because BiggestRange is not the opposite of SmallestRange and doesn´t tell us anything about the market direction. Correctly it should be that SmallestRange is the opposite of SmallestRange and BiggestRange the opposite of BiggestRange.

Attachments
No attachments
  • Votes +3
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

g
#1

geektrader

16.02.2022 15:02

Task created

g
#2

geektrader

16.02.2022 15:03
Voted for this task.
E
#3

Emmanuel

21.02.2022 09:19
Voted for this task.
CG
#4

Chris G

19.09.2022 20:15
Voted for this task.
MF
#5

Mark Fric

10.11.2022 09:50

Status changed from New to Fixed


Votes: +3

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please