Help envelope

Hi

I want to test my strategy on back test in PI for Moving Average Envelope. My questions are two fold.

a) I want to buy when the share price crosses above the Moving Average Envelope and sell at a profit of 0.50 paisa after that.

b) I want to short when a share price goes below SMA LOW of 100 days at a profit of 0.50 paise after that.

Can you suggest a algo strategy so that i can put my value inputs and back test

thanks chandru

As per the above given condition use day candles

BuyScript:

LAST > EMA(CLOSE,14)

BuyScript:

LAST < SMA(LOW,14)

Please change it to required parameter values

please mention your your stratagy requirement clearly with parameters / values