上:=(SMA(HIGH,21,2) );
上轨道:(SMA(HIGH,21,2) * 1.0111),colorFF00FF,Linethick3;
下轨道:(SMA(LOW,21,2) * 0.9999),color00FF00,Linethick3;
BMA:=MA(CLOSE,118);
生命线:(上轨道+下轨道)/2,color00FFFF,linethick3;
RSV:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);
短期底部:=LLV(OPEN,30);
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0,0 ),COLOR00FF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,10,0 ),COLOR008800;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0 ),COLOR009900;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLOR00AA00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLOR00BB00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLOR00CC00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLOR00DD00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00EE00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLOR00FF00;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0,0) ,COLORFFBBFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,10,0) ,COLORFF00FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0) ,COLORFF22FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLORFF44FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLORFF66FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLORFF88FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLORFF99FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLORFFAAFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLORFFBBFF;
STICKLINE(OPEN>=生命线 ,CLOSE ,OPEN,10,0 ),COLORff7700;
STICKLINE(OPEN>=生命线 ,CLOSE ,OPEN,8,0 ),COLORff9900;
STICKLINE(OPEN>=生命线 ,CLOSE ,OPEN,5,0 ),COLORffbb00;
STICKLINE(OPEN>=生命线 ,CLOSE ,OPEN,4,0 ),COLORffcc00;
STICKLINE(OPEN>=生命线 ,CLOSE ,OPEN,3,0 ),COLORffdd00;
STICKLINE(OPEN>=生命线 ,CLOSE ,OPEN,2,0 ),COLORffee00;
STICKLINE(OPEN>=生命线 ,CLOSE ,OPEN,1,0 ),COLORffFF00;
STICKLINE(CLOSE>生命线,CLOSE,OPEN,10,0) ,COLOR000055;
STICKLINE(CLOSE>生命线,CLOSE,OPEN,8,0) ,COLOR000066;
STICKLINE(CLOSE>生命线,CLOSE,OPEN,5,0) ,COLOR000077;
STICKLINE(CLOSE>生命线,CLOSE,OPEN,4,0) ,COLOR000099;
STICKLINE(CLOSE>生命线,CLOSE,OPEN,3,0) ,COLOR0000bb;
STICKLINE(CLOSE>生命线,CLOSE,OPEN,2,0) ,COLOR0000dd;
STICKLINE(CLOSE>生命线,CLOSE,OPEN,1,0) ,COLOR0000ff;