PaPP v2 EA: monotonicita su MA2-MA6 (estromesso MA7-noise)

This commit is contained in:
pietro_giacobazzi
2026-06-16 11:19:01 +02:00
parent 2c09955da7
commit 909dbbc60e
+1 -1
View File
@@ -192,7 +192,7 @@ void OnTick()
//--- MA alignment: se tutte monotone = trend, blocca mean reversion
bool trendUp=true, trendDown=true;
for(int m=2;m<7;m++)
for(int m=2;m<6;m++)
if(mv[m] > mv[m+1]) trendUp=false;
else if(mv[m] < mv[m+1]) trendDown=false;
else { trendUp=false; trendDown=false; }