SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,13)/HHV(C,13))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,13)/HHV(C,13))*100);
反弹确认线:EMA((LLV(L,5)+(((EMA(((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*0.8*C),3)-((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*0.8*C))*5)*0.8+LLV(L,5))+((EMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*0.8*C,3)-((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*0.8*C))*5))/3,5),COLORYELLOW;
量:=(CLOSE - LLV(LOW,21)) / (HHV(HIGH,21) - LLV(LOW,21)) * 1.2 * CLOSE;
量1:=EMA(量,3);
量2:=EMA(量,5);
量3:=EMA(量,7);
STICKLINE(量1 >= 量2,量3,量1,4,0),COLOR0000AA;
STICKLINE(量1 >= 量2,量3,量1,3,0),COLOR0000BB;
STICKLINE(量1 >= 量2,量3,量1,2,0),COLOR0000CC;
STICKLINE(量1 >= 量2,量3,量1,1.5,0),COLOR0000DD;
STICKLINE(量1 >= 量2,量3,量1,1,0),COLOR0000EE;
STICKLINE(量1 >= 量2,量3,量1,0.5,0),COLOR0000FF;
STICKLINE(量1 <= 量2,量3,量1,4,0),COLORFF0000;
STICKLINE(量1 <= 量2,量3,量1,3,0),COLORFF3300;
STICKLINE(量1 <= 量2,量3,量1,2,0),COLORFF5500;
STICKLINE(量1 <= 量2,量3,量1,1.5,0),COLORFF7700;
STICKLINE(量1 <= 量2,量3,量1,1,0),COLORFF9900;
STICKLINE(量1 <= 量2,量3,量1,0.5,0),COLORFFBB00;
STICKLINE(量1 <= 量2,量3,量1,0.25,0),COLORFFDD00;
STICKLINE(量1 <= 量2,量3,量1,0,0),COLORFFFF00;
T1:=量2 >= 量3 AND 量1 < REF(量1,1);
T2:=量2 < 量3 AND 量1 > REF(量1,1);
STICKLINE(T1,量1,量3,4,0),COLORFFBB11;
STICKLINE(T1,量1,量3,3,0),COLORFFCC22;
STICKLINE(T1,量1,量3,2.5,0),COLORFFDD33;
STICKLINE(T1,量1,量3,2,0),COLORFFEE44;
STICKLINE(T1,量1,量3,1,0),COLORFFFF55;
STICKLINE(T2,量1,量3,4,0),COLOR338FDD;
STICKLINE(T2,量1,量3,3,0),COLORFF00FF;
STICKLINE(T2,量1,量3,1,0),COLOR00DDFF;
STICKLINE(T2,量1,量3,4,0),COLOR00AAFF;
STICKLINE(T2,量1,量3,3,0),COLOR00BBFF;
STICKLINE(T2,量1,量3,2,0),COLOR00CCFF;
STICKLINE(T2,量1,量3,1,0),COLOR00DDFF;
STICKLINE(T2,量1,量3,0.5,0),COLOR00EEFF;
STICKLINE(T2,量1,量3,0,0),COLOR00FFFF;
0,COLORYELLOW;{股票指标网}
QS1:=IF(C>MA(C,4),1,0);
QS2:=IF(C<MA(C,4),-1,0);
QS3:=IF(MA(C,5)>REF(MA(C,5),1),1,0);
QS4:=IF(MA(C,5)<REF(MA(C,5),1),-1,0);
QS:=QS1+QS2+QS3+QS4;