Forum

Error only in monthly MTF indicator

Hey, I am making a MTF indicator to show static moving avarage from D1,W1, and MN1 timeframes in H1. Somehow I got it works for D1 and W1 periods, but I always get " array out of range " for MN1 period. Can somebody help me to find the solution for this problem? Thanks int counted_bars =