Hello Algo Geek can you please help in giving tradescript code for Pi alert and scan for BUY SCRIPT SELL SCRIPT EXIT LONG EXIT SHORT
Logic:
low price = A, open price = B, high price = C
B-A=D
B-C=E
IF D<E generate a Buy call
IF D<E generate a Sell call
IF {(B-(B=C)-1} generate Exit long and generate Sell Call
IF {(B+(B=A)+1} generate Exit Short and generate Buy Call
IF {B+(B0.75)} generate Exit long
IF {B-(B0.75)} generate Exit Short
I am new to creating scanner, can you suggest a tutorial for using Zerodha PI scanner so that i can understand and navigate well and create my own scanners. Any advise will be great.