源码
DRAWTEXT(VOL>=MA(VOL,20)*2,AMOUNT/VOL/100,'--------'),COLOR00FFFF;
DRAWGBK(C>0, RGB(0,108,108),RGB(88,0,0),0,'11',0);
E5:=EMA(C,5);E13:=EMA(C,13);
DRAWBAND(E5,RGB(200,0,0),E13,RGB(0,200,0));
DRAWKLINE(H,O,L,C);
平衡:EMA(C,20)COLORYELLOW;
上轨:平衡 + 2*STD(C,20),LINETHICK2,COLORMAGENTA;
下轨:平衡 - 2*STD(C,20),LINETHICK2,COLORGREEN;
IF(平衡>REF(平衡,1),平衡,DRAWNULL),COLORRED;
IF(平衡=REF(平衡,1),平衡,DRAWNULL),COLORYELLOW;
IF(平衡
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORFF7700; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLORFFBB00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLORFFDD00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0.5,0 ),COLORFFFF00; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR000055; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR000077; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000BB; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.5,0) ,COLOR0000FF; VAR9Q:=C= HHV(C,4)AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3)) OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND C>=REF(C,1) AND C>=REF(C,2); 红持:=VAR9Q; STICKLINE(VAR9Q,C,(O+C)/2,3,0),COLOR000055; STICKLINE(VAR9Q,C,(O+C)/2,2,0),COLOR000077; STICKLINE(VAR9Q,C,(O+C)/2,1,0),COLOR0000BB; STICKLINE(VAR9Q,C,(O+C)/2,0.5,0),COLOR0000FF; VARAQ:=C=HHV(C,4) AND REF(C,1)=LLV(C,4); 粉变:=VARAQ; STICKLINE(VARAQ,C,(O+C)/2,3,0),COLORFF11FF; STICKLINE(VARAQ,C,(O+C)/2,2,0),COLORFF55FF; STICKLINE(VARAQ,C,(O+C)/2,1,0),COLORFF99FF; STICKLINE(VARAQ,C,(O+C)/2,0.5,0),COLORFFDDFF; VARBQ:=C=LLV(C,4) AND (REF(C,1)
灰跌:=VARBQ; STICKLINE(VARBQ,C,(O+C)/2,3,0),COLOR333333; STICKLINE(VARBQ,C,(O+C)/2,2,0),COLOR777777; STICKLINE(VARBQ,C,(O+C)/2,1,0),COLORBBBBBB; STICKLINE(VARBQ,C,(O+C)/2,0.5,0),COLORFFFFFF; VARCQ:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)=REF(C,1); 绿买:=VARCQ; STICKLINE(VARCQ,O,(O+C)/2,3,0),COLOR003300; STICKLINE(VARCQ,O,(O+C)/2,2,0),COLOR007700; STICKLINE(VARCQ,O,(O+C)/2,1,0),COLOR00BB00; STICKLINE(VARCQ,O,(O+C)/2,0.5,0),COLOR00FF00; VARDQ:=REF(C,1)=HHV(C,4) AND CREF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) AND REF(C,2)>=REF(C,4) AND C
蓝抛:=VARDQ; STICKLINE(VARDQ,O,(O+C)/2,3,0),COLORFF1100; STICKLINE(VARDQ,O,(O+C)/2,2,0),COLORFF5500; STICKLINE(VARDQ,O,(O+C)/2,1,0),COLORFF9900; STICKLINE(VARDQ,O,(O+C)/2,0.5,0),COLORFFDD00; Y1:=REF(EMA(DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9),3),1); {DRAWTEXT(CROSS(CLOSE,Y1),LOW,'[买进]'),COLORYELLOW; STICKLINE(CROSS(Y1,CLOSE),H*1.05,H,0,0),COLORWHITE; {DRAWTEXT(CROSS(Y1,CLOSE),HIGH*1.05,'[卖出]'),COLORWHITE;{新加} VAR1W:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21)))); VAR2W:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21)))); VAR3W:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34)); {DRAWTEXT(CROSS(VAR2W,MA(VAR3W,6)),LOW -0.6,'(买)'),COLORFF99FF; DRAWTEXT(CROSS(MA(VAR3W,6),VAR1W),HIGH +0.9,'(卖)'),COLORCCFF13;} VAR3P:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND IF(CLOSE>REF(CLOSE,1),88,0)>0, 91, 0); STICKLINE(VAR3P>90,L,L*0.92,0,0),COLORFF00FF; DRAWTEXT(VAR3P>90,LOW*0.92,'追涨'),COLORFF00FF;