“SessionHigh” not recognized in JForex when compiling the strategy
3 replies
Petr
4 years ago #276570
“SessionHigh”, “SessionLow” are not recognized in JForex when compiling the strategy – how can I import them to JForex or replace by something similar?
Error message from JForex (strategy tth1):
(sqGetOrderOpenPrice(“Current”, MagicNumber, -1, “”) – (2 * sqConvertToPips(“Current”, (SessionHigh(0, 0, EndHour, 0, 0) – SessionLow(0, 0, EndHour, 0, 0))))))
__________________________________________________________________^^^^^^^^^^
2022-02-21 18:05:27 The method SessionLow(int, int, int, int, int) is undefined for the type tth1
0
Tomas Matejka
4 years ago #276571
Hello,
there are some SQ custom indicators that need to be imported. You can find them in this folder \custom_indicators\JForex\Indicators
0
Petr
4 years ago #276595
Thanks, but I have already copied indicators from the folder to JForex – there were only two files: SqAvgVolume.java and SqAvgVolume.jfx, so either I am missing more of them or this does not resolve the issue.
0
Tomas Matejka
4 years ago #276601
I see the issue now, I have created a task for developers to add SessionHigh/Low indicators into the next update. Thanks for your feedback
0
Viewing 3 replies - 1 through 3 (of 3 total)