以下是同花顺好K图副图源码
量:=(CLOSE – LLV(LOW,43)) / (HHV(HIGH,43) – LLV(LOW,43)) * 1.2 * CLOSE;
量1:=EMA(量,4);
量2:=EMA(量,6);
量3:=EMA(量,8);
量A:EMA(量,9),Culor0FFFFF;
量B:EMA(量,18),Culor15FF15;
量C:EMA(量,43),Culor1E1EFF;
STICKLINE(量1 >= 量2,量3,量1,10,0),color0000AA;
STICKLINE(量1 >= 量2,量3,量1,8,0),color0000BB;
STICKLINE(量1 >= 量2,量3,量1,6,0),color0000CC;
STICKLINE(量1 >= 量2,量3,量1,4,0),color0000DD;
STICKLINE(量1 >= 量2,量3,量1,2,0),color0000EE;
STICKLINE(量1 >= 量2,量3,量1,1,0),color0000FF;
STICKLINE(量1 <= 量2,量3,量1,10,0),colorFF5500;
STICKLINE(量1 <= 量2,量3,量1,8,0),colorFF7700;
STICKLINE(量1 <= 量2,量3,量1,6,0),colorFF9900;
STICKLINE(量1 <= 量2,量3,量1,4,0),colorFFBB00;
STICKLINE(量1 <= 量2,量3,量1,2,0),colorFFDD00;
STICKLINE(量1 <= 量2,量3,量1,1,0),colorFFFF00;
T1:=量2 >= 量3 AND 量1 < REF(量1,1);
T2:=量2 REF(量1,1);
STICKLINE(T1,量1,量3,10,0),CulorD7D7D7;
STICKLINE(T1,量1,量3,8,0),CulorF6F6F6;
STICKLINE(T1,量1,量3,5,0),CulorF6F6F6;
STICKLINE(T1,量1,量3,3,0),CulorFFFFFF;
STICKLINE(T1,量1,量3,1,0),CulorFFFFFF;
STICKLINE(T2,量1,量3,10,0),color338FDD;
STICKLINE(T2,量1,量3,8,0),colorFF00FF;
STICKLINE(T2,量1,量3,0,0),color00DDFF;
STICKLINE(T2,量1,量3,10,0),color00AAFF;
STICKLINE(T2,量1,量3,8,0),color00BBFF;
STICKLINE(T2,量1,量3,6,0),color00CCFF;
STICKLINE(T2,量1,量3,4,0),color00DDFF;
STICKLINE(T2,量1,量3,3,0),color00EEFF;
STICKLINE(T2,量1,量3,2,0),color00FFFF;
低吸:CROSS(T2,量1,量3)*1.5,CulorFF11FF;