N:=5;
VAR11:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1);
VAR22:=8,COLORGREEN,LINETHICK0;
建仓:=crOSS(VAR11,VAR22) AND ((C/REF(C,1)<1.018) OR C
短买:=建仓;
白柱:短买;
N:=5;
VAR11:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1);
VAR22:=8,COLORGREEN,LINETHICK0;
建仓:=crOSS(VAR11,VAR22) AND ((C/REF(C,1)<1.018) OR C
短买:=建仓;
白柱:短买;