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?