Fractal price level symmetry






//-------------------------------------------------------------------- // Trading rule: Long entry (On Bar Open) //--------------------------------------------------------------------                    if LongEntrySignal {     // Action #1     Open Long order at (FractalDown(Main chart,3)[2] + (2.60 * ATR(Main chart,50)[1])) Stop;         Order valid for 182 bars;         Duplicate trades: disabled;          Replacing pending orders: allowed;  .... } //-------------------------------------------------------------------- // Trading rule: Short entry (On Bar Open) //--------------------------------------------------------------------                    if (ShortEntrySignal    and Not LongEntrySignal) {     // Action #1     Open Short order at (FractalDown(Main chart,3)[2] - (2.6 * ATR(Main chart,50)[1])) Stop;         Order valid for 182 bars;         Duplicate trades: disabled;          Replacing pending orders: allowed;  .... }



Obviously FractalDown should negate to FractalUp and vice-versa...

Thanks!

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

History

b
#1

bentra

19.10.2020 20:37

Task created

b
#2

bentra

19.10.2020 20:40
Voted for this task.
b
#3

bentra

20.10.2020 07:39
oops sorry duplicate, already fixed.
TT
#4

Tamas

01.11.2020 12:30

Status changed from New to Fixed


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