Buy Script Code is
SET C = (SMA(HIGH,9)+SMA(LOW,9))/2
SET D = (SMA(HIGH,26)+SMA(LOW,26))/2
SET A = (C+D)/2
SET B = (SMA(HIGH,52)+SMA(LOW,52))/2
CROSSOVER(A,B)
in the above buy script code i want to make a small change instead of crossover(A,B) i want to replace it with the price close above both the values of SET A and SET B
Sell script code is
SET C = (SMA(HIGH,9)+SMA(LOW,9))/2
SET D = (SMA(HIGH,26)+SMA(LOW,26))/2
SET A = (C+D)/2
SET B = (SMA(HIGH,52)+SMA(LOW,52))/2
CROSSOVER(B,A)
in the above sell script code i want to make a small change instead of crossover(B,A) i want to replace it with the price close below both the values of SET B and SET A