{神奇布林线主图}
MID2:=MA(CLOSE,21),COL360问答ORWHITE;
UPPER2:=MID房画相亚换临谁胜扩续战2+1.96*STD(CLOSE,21),COLORYELLOW;
LOWER2:=MID计联士补2-1.96*STD(CLOSE,21),COLORYELLOW;
UP2:=MID2+2.56*STD(CLOSE,21),COLORFF00FF;
LOOW2:=MID2-2.56*STD(CLOSE,21),COLORFF00FF;
{上升趋势}
STICKLIN等旧E(C>=MID2,MID2,UP2,2,0),COLOR330066;
{下降趋势}
STICKLINE(C MID:MID2,COLORWHITE; UPPER:UPPER2,COLORYELLOW; UP:UP2,COLORFF00FF; LOWER:LOWER2,轻线鱼握苏胡菜气COLORYELLOW; LOOW:LOOW2,COLORFF00FF; 开广额剧帮低振植绍口:=UP-LOOW; 相离:=C-MID; DRAWTEXT(船素脚C>=MIDANDREF(开新我振站正口,1)=HHV(开口,20),UPPER,'减仓'),COLOR00FF00; DRAWTEXT(C>=MIDANDREF(相离,1)=LLV(相离,5),MID,'加种油型派仓'); 股价多头:剧=C>MA(C,5)ANDMA(C,5)>MA(C,10)ANDMA(C,10)>MA(C,20); DRAWTEXT(FILTER朝侵突指(股价多头,20),般乱LOOW*0.95,'开始建仓'),COLORRED; DRAWICON(FILTER(股价多头,20),LOWER,1),COLORRED; DRAW粒雨没握红测环TEXT(CROSS(MID,C),UP,'空仓观望'),COLORYELLOW; DRAWICON(CROSS(MID,C),UPPER,2),COLORYELLOW; {K线} {STICKLINE((CLOSE>OPE移又溶氧首批令损群N),CLOSE,OPEN,5.2,0),COLOR070084;} STICKLI白NE((CLOSE>OP尼好受难歌EN),CLOSE,O西胡属势派角发病PEN,4,1),COLOR0000A3; STICKLINE((CLOSE>OPEN),CLOSE,OPEN,3.5,0),COLOR000033; STICKLINE((CLOSE>OPEN),CLOSE,OPEN,3,0),COLOR000066; STICKLINE((CLOSE>OPEN),CLOSE,OPEN,2.0,0),COLOR000099; STICKLINE((CLOSE>OPEN),CLOSE,OPEN,1.5,0),COLOR0000CC; STICKLINE((CLOSE>OPEN),CLOSE,OPEN,1.0,0),COLOR0000FF; STICKLINE((CLOSE>OPEN),CLOSE,OPEN,0.5,0),COLORCC66FF; STICKLINE((CLOSE>OPEN),OPEN,LOW,0.3,0),COLORRED; STICKLINE((CLOSE>OPEN),CLOSE,HIGH,0.3,0),COLORRED; {STICKLINE((CLOSE=OPENANDC>REF(C,1)),CLOSE,OPEN,5.2,0),COLOR070084;} STICKLINE((CLOSE=OPENANDC>REF(C,1)),CLOSE,OPEN,4,1),COLOR0000A3; STICKLINE((CLOSE=OPENANDC>REF(C,1)),CLOSE,OPEN,3.5,0),COLOR0000B7; STICKLINE((CLOSE=OPENANDC>REF(C,1)),CLOSE,OPEN,3,0),COLOR0000CD; STICKLINE((CLOSE=OPENANDC>REF(C,1)),CLOSE,OPEN,2.0,0),COLOR0000E9; STICKLINE((CLOSE=OPENANDC>REF(C,1)),CLOSE,OPEN,1.5,0),COLOR0754E9; STICKLINE((CLOSE=OPENANDC>REF(C,1)),CLOSE,OPEN,1.0,0),COLOR076EF3; STICKLINE((CLOSE=OPENANDC>REF(C,1)),CLOSE,OPEN,0.5,0),COLOR077BF3; STICKLINE((CLOSE=OPENANDC>REF(C,1)),OPEN,LOW,0.3,0),COLOR0000CD; STICKLINE((CLOSE=OPENANDC>REF(C,1)),CLOSE,HIGH,0.3,0),COLOR0000CD; {STICKLINE((OPEN>CLOSE),CLOSE,OPEN,5.2,0),COLORFF5B00;} STICKLINE((OPEN>CLOSE),CLOSE,OPEN,4,1),COLORFF6C00; STICKLINE((OPEN>CLOSE),CLOSE,OPEN,3.5,0),COLORFF7B00; STICKLINE((OPEN>CLOSE),CLOSE,OPEN,2,0),COLORFF9C00; STICKLINE((OPEN>CLOSE),CLOSE,OPEN,1.5,0),COLORFFBE00; STICKLINE((OPEN>CLOSE),CLOSE,OPEN,1,0),COLORFFCC00; STICKLINE((OPEN>CLOSE),CLOSE,OPEN,0.5,0),COLORFFFF00; STICKLINE((OPEN>CLOSE),CLOSE,LOW,0.3,0),COLORFF9C00; STICKLINE((OPEN>CLOSE),OPEN,HIGH,0.3,0),COLORFF9C00; {STICKLINE((OPEN=CLOSEANDC STICKLINE((OPEN=CLOSEANDC STICKLINE((OPEN=CLOSEANDC STICKLINE((OPEN=CLOSEANDC STICKLINE((OPEN=CLOSEANDC STICKLINE((OPEN=CLOSEANDC STICKLINE((OPEN=CLOSEANDC STICKLINE((OPEN=CLOSEANDC STICKLINE((OPEN=CLOSEANDC ==================== {选股} MID:=MA(CLOSE,21); 相离:=C-MID; 加仓:=C>=MIDANDREF(相离,1)=LLV(相离,5); 股价多头:=C>MA(C,5)ANDMA(C,5)>MA(C,10)ANDMA(C,10)>MA(C,20); 开始建仓:=FILTER(股价多头,20); XG:加仓OR开始建仓;