[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Pit Bull Moving Average



PureBytes Links

Trading Reference Links

Hi,

I am not familiar with Marty Schwartz or his Pit Bull moving average, but 
what is described looks like a simple 10 day moving average that is rounded 
to the nearest 10.

IntPortion((average(c,10))/10) * 10;

There probably should be a check for average(c,10) <> 0

Steve


Has anyone ever coded into an .ela or .els Marty Schwartz's Pit Bull 
Moving Average?
If so I'd like to get a copy.



The description is as follows. It appears pretty simple really. By the way 
Schwartz's book is a great read.


 Schwartz calculates the 10-day moving average by hand every day 
(according to the book) by taking the last 10 days of the current SP500 
future price and dividing by 10. You keep a running chart of it by taking 
the current 10 Day "Pit Bull" number that you calculated yesterday, 
multiplying it by 10, then adding today's closing SP500 futures price to 
that figure. You then count back 10 days starting with yesterdays SP500 
close and subtract that number from the total. You then divide that 
figure by 10 and round up or down to the nearest10 Now you have the 10 
Day "Pit Bull " moving average for today's trading action.


John