{空中加油再续}
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
上堆小缩头卖:(DIF-DEA)*2,COLORSTICK,COLOR0000EE;
空中加油再续航:上堆小缩头卖,COLOR00FF00,NODRAW;
gspt1:=空中加油再续航;
STICKLINE(((gspt1>=REF(gspt1,1)) AND (gspt1>=0)),0,gspt1,3,0),COLOR0000AA;
STICKLINE(((gspt1>=REF(gspt1,1)) AND (gspt1>=0)),0,gspt1,2.3,0),COLOR0000BB;
STICKLINE(((gspt1>=REF(gspt1,1)) AND (gspt1>=0)),0,gspt1,1.6,0),COLOR0000CC;
STICKLINE(((gspt1>=REF(gspt1,1)) AND (gspt1>=0)),0,gspt1,0.9,0),COLOR0000DD;
STICKLINE(((gspt1>=REF(gspt1,1)) AND (gspt1>=0)),0,gspt1,0.2,0),COLOR0000EE;
STICKLINE(((gspt1>=REF(gspt1,1)) AND (gspt1<0)),0,gspt1,3,0),COLOR00AAAA;
STICKLINE(((gspt1>=REF(gspt1,1)) AND (gspt1<0)),0,gspt1,2.3,0),COLOR00BBBB;
STICKLINE(((gspt1>=REF(gspt1,1)) AND (gspt1<0)),0,gspt1,1.6,0),COLOR00CCCC;
STICKLINE(((gspt1>=REF(gspt1,1)) AND (gspt1<0)),0,gspt1,0.9,0),COLOR00DDDD;
STICKLINE(((gspt1>=REF(gspt1,1)) AND (gspt1<0)),0,gspt1,0.2,0),COLOR00EEEE;
STICKLINE(((gspt1<REF(gspt1,1)) AND (gspt1>=0)),0,gspt1,3,0),COLOR00AA00;
STICKLINE(((gspt1<REF(gspt1,1)) AND (gspt1>=0)),0,gspt1,2.3,0),COLOR00BB00;
STICKLINE(((gspt1<REF(gspt1,1)) AND (gspt1>=0)),0,gspt1,1.6,0),COLOR00CC00;
STICKLINE(((gspt1<REF(gspt1,1)) AND (gspt1>=0)),0,gspt1,0.9,0),COLOR00DD00;
STICKLINE(((gspt1<REF(gspt1,1)) AND (gspt1>=0)),0,gspt1,0.2,0),COLOR00EE00;
STICKLINE(((gspt1<REF(gspt1,1)) AND (gspt1<0)),0,gspt1,3,0),COLORAAAA00;
STICKLINE(((gspt1<REF(gspt1,1)) AND (gspt1<0)),0,gspt1,2.3,0),COLORBBBB00;
STICKLINE(((gspt1<REF(gspt1,1)) AND (gspt1<0)),0,gspt1,1.6,0),COLORCCCC00;
STICKLINE(((gspt1<REF(gspt1,1)) AND (gspt1<0)),0,gspt1,0.9,0),COLORDDDD00;
STICKLINE(((gspt1<REF(gspt1,1)) AND (gspt1<0)),0,gspt1,0.2,0),COLOREEEE00;
{以下部分为:红色未来涨得慌}
VARF:=TROUGHBARS(3,15,1)<4;
多空:=EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))
/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),LINETHICK1,COLORWHITE;
STICKLINE(FILTER(VARF=1,5) AND 多空<-10,gspt1,0,3.2,1),COLOR00FFFF;
STICKLINE(FILTER(VARF=1,5),gspt1,0,3,0),COLORAA00AA;
STICKLINE(FILTER(VARF=1,5),gspt1,0,2.3,0),COLORBB00BB;
STICKLINE(FILTER(VARF=1,5),gspt1,0,1.6,0),COLORCC00CC;
STICKLINE(FILTER(VARF=1,5),gspt1,0,0.9,0),COLORDD00DD;
STICKLINE(FILTER(VARF=1,5),gspt1,0,0.2,0),COLOREE00EE;
红色未来涨得慌:FILTER(VARF=1,3) OR CROSS(多空,0) OR CROSS(多空,10),COLORFF00FF,NODRAW;