[129RC2] ADX pseudocode incomplete

EA pseudocode for my favorite ADX indicator may have a small bug:

1) Simple test strategy with two ADX indicators with different parameter "Lines" (picture)
2) Pseudo code is incomplete (No lines parameter)
//--------------------------------------------------------------------
// Trading rule: Trading signals (On Bar Open)
//--------------------------------------------------------------------                   
LongEntrySignal = ((ADX(Main chart,ADXPeriod)[1] > 10)
   and (ADX(Main chart,ADXPeriod)[2] < 50));

Tx. Enyx

Attachments
2020-08-04_17-36.png
(16.63 KiB)
  • Votes +1
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

DB
#1

Enyx

04.08.2020 17:52

Task created

h
#2

hankeys

04.08.2020 18:39
Voted for this task.
TB
#3

Tomas Brynda

05.08.2020 09:16

Status changed from New to Fixed

DB
#4

Enyx

05.08.2020 11:03
Thank you Tomas. Just want to report/confirm it's fixed for all ADX family?
TB
#5

Tomas Brynda

05.08.2020 11:36

Hi Enyx,

you're welcome.


Yes it will be displayed for all usecases of the bare ADX. Simple conditions like ADXCrossDown and so on won't have the buffer displayed as it is not configurable in the snippet and the main buffer is always used (Example: ADX(15) crosses 50 downwards).


So simply if no buffer is displayed behind the indicator name, Main buffer is used.

I think it is ok that way.


Best regards,

Tomas


DB
#6

Enyx

05.08.2020 11:58
Thank you. It makes a perfect sense.

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