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 |