JForex sqSafeDivide

Hi,



When I export attached strategy to JForex (java), I am getting an error in JoForex platform that "sqSafeDivide" is not recognized by JForex. Can you please resolve?


Thanks,
Petr

Čas Zprávy
2022-01-23 14:45:05 ----------
2022-01-23 14:45:05 1 problem (1 error)
2022-01-23 14:45:05 ----------
2022-01-23 14:45:05 1. ERROR in C:\Users\petr\AppData\Local\JForex\petr\jfxide\tmp\compile\Blast_sqx.java (at line 296)
2022-01-23 14:45:05 && (sqSafeDivide(Math.abs((sqOpen("Current", 0, 1) - sqClose("Current", 0, 1))), Math.abs((sqHigh("Current", 0, 1) - sqLow("Current", 0, 1)))) < BlastOff_Thresh))
2022-01-23 14:45:05 ____^^^^^^^^^^^^
2022-01-23 14:45:05 The method sqSafeDivide(double, double) is undefined for the type Blast_sqx


Attachments
Blast_sqx.java
(133.65 KiB)
blast.sqx
(73.71 KiB)
  • Votes +2
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

PV
#1

pvolny

23.01.2022 15:45

Task created

E
#2

Emmanuel

29.01.2022 14:51
Voted for this task.
TT
#3

Tamas

25.03.2022 12:21

Subject changed from sqSafeDivide to JForex sqSafeDivide

TT
#4

Tamas

28.03.2022 08:37

Status changed from New to Fixed

FIxed. Thanks for reporting it.
PV
#5

pvolny

03.05.2022 17:25
Thanks, when I can download new version with the fix?
TT
#6

Tamas

03.05.2022 17:39
The fix is available in the latest dev build here https://strategyquant.com/download#tab-dev

Votes: +2

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please