VAR1:=(CLOSE*2+HIGH+LOW)/4;
VAR2:=EMA(VAR1,3);
VAR3:=EMA(VAR2,6);
L1:EMA(VAR1,3);
L2:EMA(VAR2,4);
L3:EMA(VAR3,5);
VAR4:=REF(L1,1)>L1 AND L1>L2;
VAR5:=L1>L2 AND CLOSE<OPEN;
VAR6:=AMOUNT/10000;
VAR7:=VAR6/MA(VAR6,5);
VAR8:=vol/FINANCE(7);
VAR9:=VAR7>2 AND REF(VAR7>1,1) AND REF(VAR7>1,2);
VARA:=VAR8>5 AND REF(VAR7>1,1) OR VAR8>5 AND VAR7>1 OR VAR8>4 AND VAR7>2;
VARB:=CLOSE-REF(MA(CLOSE,21),1);
VARC:=EMA(VARB-MA(VARB,21),5);
VARD:=SMA(VARB,7,1);
{ _最新股票指标公式}
VARE:=crOSS(VARB,VARD) AND VARD<-1;
STICKLINE(L1>=L2,HIGH,LOW,6,0),colorFF;
STICKLINE(L1<L2,HIGH,LOW,6,0);
STICKLINE(VAR4,HIGH,LOW,6,0),colorFF00;
STICKLINE(L1>L3 AND CROSS(L1,L3) AND (VAR9 OR VARA),OPEN-0.8,OPEN-1,6,0),colorFF;
STICKLINE(VARE,OPEN-0.5,OPEN-0.7,6,0);
STICKLINE(VARE,LOW*0.99,LOW*0.98,6,0);