JohnSmith77 / Publications
Forum
loop moving averge
Hello I am a beginner in mql5 and I block on a piece of code ... I am looking to loop on 2 moving averages to know a trend but the results are always zero. Can you tell me if my code is correct or not please int i; int TrendUp; int TrendDown; int TrendUpTest ; int TrendDownTest ; for ( i = 0 ; i <=