読み取り専用

フォーラムは現在、読み取り専用のアーカイブとなっています。.

バグ報告やプラットフォームに関する質問はこちら → [email protected]

私たちのコミュニティはDiscordとYouTubeで活動しています。ぜひ参加してください!

ご参加ください Discord YouTube

Pseudo Code does not match with MQL5 code.

1件の返信

ムサ

サブスクライバー、bpb_participant、sq-ultimate、21件の回答。.

プロフィールを表示

4年前 #279276

Pseudo Code:

LongEntrySignal = (((LaguerreRSI(Main chart,0.1)[1] is falling)
                            and (LowMonthly(Main chart)[2] is rising for 3 bars));
MT5 Code:
LongEntrySignal = ((sqIsFalling(LAGUERRERSI_1, 2, false, 1)
&& (sqIsRising(“sqMonthly(NULL,0,\”Low\”, 2)”, 3, false, 0 + 1, 0)));
=====================
“LaguerreRSI(Main chart,0.1)[1] is falling” is match with “sqIsFalling(LAGUERRERSI_1, 2, false, 1)”, both of them meaning Indicator[1]<Indicator[2].
But:
“LowMonthly(Main chart)[2] is rising for 3 bars” is not match with “sqIsRising(“sqMonthly(NULL,0,\”Low\”, 2)”, 3, false, 0 + 1, 0)”.
“LowMonthly(Main chart)[2] is rising for 3 bars” : I think it means LowMonth[2]>LowMonth[3]>LowMonth[4].
“sqIsRising(“sqMonthly(NULL,0,\”Low\”, 2)”, 3, false, 0 + 1, 0)” : I test it in MT5, it means LowMonth[3]>LowMonth[4]>LowMonth[5]. Because shift = 0+1.
Maybe Pseudo Code should change to “LowMonthly(Main chart)[2] is rising for 3 bars at 1bar ago.”
Is that my understanding is wrong?

0

Tomas Matejka

管理者、sq-ultimate、2件の返信.

プロフィールを表示

4年前 #279314

Hello MuSa,

I have asked developers to add the shift information into the pseudo code. This should be completed into the next SQ update

0

1件の返信を表示中 - 1 - 1件目 (全1件中)