diff --git a/PaPP v2/PaPP_Median_EA.mq5 b/PaPP v2/PaPP_Median_EA.mq5 index 21c9176..36d0d6f 100644 --- a/PaPP v2/PaPP_Median_EA.mq5 +++ b/PaPP v2/PaPP_Median_EA.mq5 @@ -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; }