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