Would it be possible to develop an Moving Average in NinjaTrader 7 that can change its period depending on the time interval of the chart?
E.g. When i choose the 60 minute interval a period of 33, when i choose the 30 minute interval a period of 65 and on the 10 minute interval a period of 195? I want to build a procedure that can check the time interval and then adjust the period of the moving average.
If so could you give me some clue where to start? I read through the Ninjascript section in the help menu, but im new to C#.
Greetings.
Comment