PDA

View Full Version : WMA of EMA


joecgoodman
05-23-2008, 01:06 PM
I need to plot a 10 period weighted moving average of a 3 period exponential moving average.
Below is an example from TradeStation's EasyLanguage.
I'm not able to make it happen in Ninja.
I found an EMA of EMA on the forum. Even altering that is over my head.
Would be so kind as to create this for me?


WMA-of_EMA = WAverage(XAverage( Close, 3 ),10) ;

Thanks,
Joe

NinjaTrader_Dierk
05-23-2008, 01:22 PM
Unfortunately we don't provide support down to the level of actual coding indicators, but this should work for your purposes:
Value.Set(WMA(EMA(3), 10)[0]);

As last resort you could contact as certified NinjaScript consultant: http://www.ninjatrader.com/webnew/partners_onlinetrading_NinjaScript.htm