How to creat fllwing buy code

FOR INTRADAY
TAKE DAYS OPEN AT 9:16=X
BUY WHEN, OPEN>(X-1)
EXIT WHEN OPEN>(X-1)+0.5strong text

automatic buy and sell is not available as of now, for more details you can check kite.trade if you are programmer.

SIR I WANT AMIBROKER CODE FR THIS AFL
THE INVERSE FOURIER TRANSFROM

Inputs: Price((H+L)/2),
gamma(.8);
Vars: L0(0),
L1(0),
L2(0),
L3(0),
Filt(0)
FIR(0);
L0 = (1 - gamma)Price + gammaL0[1];
L1 = -gammaL0 + L0[1] + gammaL1[1];
L2 = -gammaL1 + L1[1] + gammaL2[1];
L3 = -gammaL2 + L2[1] + gammaL3[1];
Filt = (L0 + 2L1 + 2L2 + L3) / 6;
FIR = (Price + 2Price[1] + 2Price[2] + Price[3]) / 6;
Plot1(Filt, “Filt”);
Plot2(FIR, “FIR”);