View Full Version : CS1501 Error
Jeff 15
03-20-2009, 01:43 PM
Hi Guys, On a stategy I am working on I am in need of an EMA based on the High with Multiple time frames. I have read through the help guide but I have not found anything specific to my problem. Can you give me a pointer? I have attached a picture of the script.
Thank you
NinjaTrader_Josh
03-20-2009, 01:49 PM
Jeff 15,
I did not see the screenshot, but in general, what you need to do is add a secondary time frame to your strategy first. Then you can access the EMA on that series. http://www.ninjatrader-support.com/HelpGuideV6/helpguide.html?MultiTimeFrameInstruments
Jeff 15
03-20-2009, 01:57 PM
Sorry Josh, I added the Screenshot to post #1. I have the secondary time frame On the stategy. I think I am just missing something minor.
Thank you for you help.
NinjaTrader_Josh
03-20-2009, 02:06 PM
I see. In this case, try this: EMA(Highs[1], 5)[0]