## Comment on Trading Systems

zerodha, i need code for the following condition.

first need to calculate a pivot point=(Previous Close+Open+ATP)/3

buy = ATP crosses pivot point (calculated with above formula) from below

sell = ATP crosses pivot point (calculated with above formula) from above

thanks in advance.