PDA

View Full Version : class member declaration epected


anniebee
09-08-2009, 07:36 AM
{
Add(EMA(9));
}

{
CalculateOnBarClose = false;
}

{
Print(Slope(EMA(9), 9, 0));
}

please can you tell me what is wrong with my ''class member declaration''

i simply want it to give me the slope of the ema

thanks very much

NinjaTrader_Bertrand
09-08-2009, 08:01 AM
The code looks good to me, have clicked on the error listed directly to see where it was found?

anniebee
09-08-2009, 08:53 AM
yes - the error was around these lines?

NinjaTrader_Bertrand
09-08-2009, 08:55 AM
Please post the full code you use then, thanks