What is average price of stock?

I was reading about a strategy where average price of stock is used.
The strategy says that if LTP > Average Price, one should go Long in that scrip and when LTP < Average Price , one should go Short in that scrip.
is there any way i can calculate this average price?

i think u r talking bout moving average strategy ??

http://www.pivottrading.co.in/scanner/averagePriceScanner.php
I was referring to this strategy. there is no mention of moving averages hereā€¦