StatOasis Candlepatterns bug

This is definitely wrong:
LongEntrySignal = CustomBlock:StatOasis Candle Pattern - Shooting Star(){(((Open(Main chart)[1] - Close(Main chart)[1]) < (BarRange(Main chart)[1] * 0.2))
   and (Open(Main chart)[1] < (Low(Main chart)[1] + (BarRange(Main chart)[1] * 0.25))))};

ShortEntrySignal = CustomBlock:StatOasis Candle Pattern - Hammer(){(((High(Main chart)[1] - Low(Main chart)[1]) < (0.2 * BarRange(Main chart)[1]))
   and (Open(Main chart)[1] > (Low(Main chart)[1] + (BarRange(Main chart)[1] * 0.75))))};

Should be this:

LongEntrySignal = CustomBlock:StatOasis Candle Pattern - Shooting Star(){(((Open(Main chart)[1] - Close(Main chart)[1]) < (BarRange(Main chart)[1] * 0.2))
   and (Open(Main chart)[1] < (Low(Main chart)[1] + (BarRange(Main chart)[1] * 0.25))))};

ShortEntrySignal = CustomBlock:StatOasis Candle Pattern - Hammer(){(((Close(Main chart)[1] - Open(Main chart)[1]) < (0.2 * BarRange(Main chart)[1]))
   and (Open(Main chart)[1] > (High(Main chart)[1- (BarRange(Main chart)[1] * 0.25))))};


EDIT:
The second line changes are optional and make it a bit cleaner IMO but the highlighted changes are definitely a bug fix.

Attachments
No attachments
  • Votes +6
  • Project StrategyQuant X
  • Type Bug
  • Status Refused
  • Priority Normal

History

b
#1

bentra

19.07.2022 20:45

Task created

b
#2

bentra

19.07.2022 20:46
Voted for this task.
b
#3

bentra

19.07.2022 20:56
I'm assuming here that the long entry is not bugged!
E
#4

Emmanuel

06.08.2022 15:35
Voted for this task.
CG
#5

Chris G

24.10.2022 00:41
Voted for this task.
k
#6

Karish

24.10.2022 09:59
Voted for this task.
BT
#7

EndUser

22.11.2022 18:42
Voted for this task.
Fs
#8

Fortunate

22.11.2022 18:48
Voted for this task.
MF
#9

Mark Fric

30.11.2022 11:05

Status changed from New to Refused

thanks for letting us know, but StatOasis custom blocks are developed by StatOasis, not us. So you should report this with them.

Votes: +6

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please