Comment on EA's for auto buy/sell signals - Pi

SATRUGHAN commented on 14 Aug 2018, 11:33 AM

Hi Zerodha,
Your expert advisor is very good, I tried this logic its very profitable on some scripts, but I can’t make this to code, below is the buy and sell script logic please make it in code.
Buy script
A= today low price
B= previous low price
C= today close price
D= today open price
Condition is
A D OR C=D
SELL script
H= today HIGEST price
E= previous HIGEST price
F= today OPEN price
G= today CLOSE price
CONDITION IS
H > E
F > G OR F=G
Thanks
Satrughan

View the full comment thread »