PDA

View Full Version : Moving Average calculation


Shiva Swinger
11-05-2007, 01:56 PM
Ray,

Could you add the AVERAGE calculation as an additional option in moving averages like VMA etc (if you have not already done so)

This is

HIGH + LOW + CLOSE /3. Quite a few strategies use this type of calculation and it would be great to have in your charts.

Thanks

NinjaTrader_Ray
11-05-2007, 02:11 PM
It already exists. When placing any moving average on a chart, there is a 'Price type' parameter that can be set. Set this to 'Typical'.

In NinjaScript, you would do something like:

double myAverageSmaValue = SMA(Typical, 20)[0];

Shiva Swinger
11-26-2008, 10:15 AM
Ray,

You have any plans for the number of lots traded in the ACCOUNT PERFORMANCE. Would be helpful to know total lots traded in a day/week/month for negotiating rates etc.

Also any chance of being able to keep MARKET ANALYZER Always on TOP.

Thanks

NinjaTrader_Josh
11-26-2008, 10:21 AM
Shiva,

You could export the Performance Report into Excel and just run a quick summation on the quantity column for your trades.

Market Analyzer already has an Always on Top feature. Right click and it is in the list.

Shiva Swinger
11-26-2008, 10:22 AM
Well Ray,

Just found the Always on Top...so Thanks but the number of lots is still a query?

Thanks

Shiva Swinger
11-26-2008, 10:24 AM
OK Josh,

Thanks for that. Perhaps that simple feature could be added to next version.

NinjaTrader_Josh
11-26-2008, 10:36 AM
Thank you for your suggestion. I will put it on the list of future considerations.