Q:=vol;
VAR1:=SMA((SMA((SMA(Q-LLV(Q,29),3,1)),3,1)),3,1)/750;
K: SMA(SMA(VAR1,3,1),3,1);
D: SMA(K,3,1);
J: 3*K-2*D;
P:J>REF(J,1),COLORRED;
VAR2:=SMA((Q-LLV(Q,9)),3,1)/700;
VAR3:=(CLOSE+HIGH+LOW+OPEN)/4;
VAR4:=LLV(LOW,34);
VAR5:=HHV(HIGH,34);
VAR6:=EMA((VAR3-VAR4)/(VAR5-VAR4)*100,8);
VAR7:=EMA(VAR6,5);
{ _通达信股票指标公式}
STICKLINE(VAR6-VAR7>0,VAR6,VAR7,8,1) COLOR0000FD;
STICKLINE(VAR6-VAR7<0,VAR6,VAR7,8,1) COLOR00FFFF;
Q1:(VAR6-VAR7>0)*5;
Q2:(VAR6-VAR7<0)*5;
Q3:Q1-Q2;