I have very basic requirement for Zerodha Pi – TradeScript Code:
- EMA 20 crossing EMA 50 from below = BUY with sound alert
- EMA 20 crossing EMA 50 from above= SELL with sound alert
- Target 1- if 100 point plus from the BUY or SELL with sound alert
- If Target not met, continue with condition 1 and 2
I should be able to run in any timeframe.
I should be able to change the EMA value as per requirement.
I should be able to change the Target 1 value as per requirement
Many thanks for your assistance in this request.
Can anyone take a look at my request/conditions and confirm if this is something possible in PI or using trade script language? if not, i would ask the query in Amibroker forum.
But i am confident that the above can be accomodated in PI.
Please urgently advise.
CROSSOVER(EMA(CLOSE,20) , EMA(CLOSE,50))
CROSSOVER(EMA(CLOSE,50) , EMA(CLOSE,20))
Use the codes in Zerodha Pi Expert Advisor for sound alerts.
To be define manually in the Scanner Settings.
Edit the above codes, with the parameters you require.
Out of Context.