Pseudo codice:
LongEntrySignal = ((LaguerreRSI(grafico principale,0.1)[1] è in calo)
e (LowMonthly(Main chart)[2] è in aumento per 3 barre));
Codice MT5:
LongEntrySignal = ((sqIsFalling(LAGUERRERSI_1, 2, false, 1)
&& (sqIsRising("sqMonthly(NULL,0,\"Low\", 2)", 3, false, 0 + 1, 0));
=====================
"LaguerreRSI(grafico principale,0.1)[1] è in calo" corrisponde a "sqIsFalling(LAGUERRERSI_1, 2, false, 1)", entrambi significano Indicatore[1]<Indicatore[2].
Ma:
"LowMonthly(Main chart)[2] sta salendo per 3 barre" è non corrispondono a "sqIsRising("sqMonthly(NULL,0,\"Low\", 2)", 3, false, 0 + 1, 0)".
"LowMonthly(Main chart)[2] is rising for 3 bars": penso che significhi LowMonth[2]>LowMonth[3]>LowMonth[4].
"sqIsRising("sqMonthly(NULL,0,\"Low\", 2)", 3, false, 0 + 1, 0)" : lo provo in MT5, significa LowMonth[3]>LowMonth[4]>LowMonth[5]. Perché shift = 0+1.
Forse lo pseudocodice dovrebbe cambiare in "LowMonthly(Main chart)[2] è in aumento per 3 barre a 1 barra fa".
La mia comprensione è sbagliata?