通达信筹码锁定主图+筹码锁定副图指标 源码 贴图
通达信筹码锁定主图+筹码锁定副图指标 源码 贴图
筹码锁定副图源码:
DRAWRECTREL(0,0,100,400,RGB(250,0,0));
DRAWTEXT_FIX(1,0,0,0,11547),COLORYELLOW;
DRAWTEXT_FIX(1,0,0.2,0,11548),COLORYELLOW;
X_1:=MA(CLOSE,13);
X_2:=100-ABS((CLOSE-X_1)/X_1*100);
X_3:=MA(WINNER(CLOSE*0.95)*100,1);
X_4:=X_3>X_2;{WWW.GPXIAZAI.COM}
DRAWNUMBER(X_4 AND X_2>REF(X_2,1) AND REF(X_4,1)>0,X_2+20,ROUND(X_2)),COLORCYAN;
DRAWNUMBER(X_4,X_2+20,ROUND(X_2)),COLORCYAN;
STICKLINE(X_4,X_2,0,3.2,0),COLOR117777;
STICKLINE(X_4,X_2,0,2.6,0),COLOR119999;
STICKLINE(X_4,X_2,0,1.9,0),COLOR11BBBB;
STICKLINE(X_4,X_2,0,1.1,0),COLOR11DDDD;
STICKLINE(X_4,X_2,0,0.3,0),COLORYELLOW;
STICKLINE(X_4 AND X_2>REF(X_2,1) AND REF(X_4,1)>0,X_2,0,3.2,0),COLOR990099;
STICKLINE(X_4 AND X_2>REF(X_2,1) AND REF(X_4,1)>0,X_2,0,2.6,0),COLOR990099;
STICKLINE(X_4 AND X_2>REF(X_2,1) AND REF(X_4,1)>0,X_2,0,1.9,0),COLORBB00BB;
STICKLINE(X_4 AND X_2>REF(X_2,1) AND REF(X_4,1)>0,X_2,0,1.1,0),COLORDD00DD;
STICKLINE(X_4 AND X_2>REF(X_2,1) AND REF(X_4,1)>0,X_2,0,0.3,0),COLORMAGENTA;
DRAWTEXT(X_4 AND X_2>REF(X_2,1) AND REF(X_4,1)>0,X_2+30,11553),COLORMAGENTA;
DRAWRECTREL(0,0,100,120,RGB(250,0,0));
DRAWTEXT_FIX(1,0,0,0,11547),COLORYELLOW;
DRAWTEXT_FIX(1,0,0.06,0,11548),COLORYELLOW;
DRAWRECTREL(305,0,360,70,RGB(250,0,0));
DRAWTEXT_FIX(1,0.31,0.01,0,3),COLORYELLOW;
DRAWTEXT_FIX(1,0.37,0.01,0,DYBLOCK),COLORYELLOW;
DRAWRECTREL(425,0,480,70,RGB(250,0,0));
DRAWTEXT_FIX(1,0.43,0.01,0,4),COLORYELLOW;
DRAWTEXT_FIX(1,0.49,0.01,0,HYBLOCK),COLORYELLOW;
DRAWRECTREL(545,0,600,70,RGB(250,0,0));
DRAWTEXT_FIX(1,0.55,0.01,0,5),COLORYELLOW;
DRAWTEXT_FIX(1,0.61,0.01,0,GNBLOCK),COLORYELLOW;
X_1:=短线决策.NOTEXT1#DAY;
DRAWTEXT_FIX(1,0.72,1,0,11549),COLORRED;
DRAWNUMBER_FIX(1,0.75,1,0,CONST(X_1)),COLORRED;
X_2:=中线决策.NOTEXT1#DAY;
DRAWTEXT_FIX(1,0.8,1,0,11550),COLORYELLOW;
DRAWNUMBER_FIX(1,0.83,1,0,CONST(X_2)),COLORYELLOW;
X_3:=XLPL.吸#DAY;
DRAWTEXT_FIX(1,0.88,1,0,11551),COLORCYAN;
DRAWNUMBER_FIX(1,0.91,1,0,CONST(X_3)),COLORCYAN;
A:IF(CLOSE>SAR(4,2,20),SAR(4,2,20),DRAWNULL),CIRCLEDOT,COLORRED;
B:IF(CLOSE<SAR(4,2,20),SAR(4,2,20),DRAWNULL),CIRCLEDOT,COLORCYAN;
X_4:=CLOSE>SAR(4,2,20);
X_5:=CLOSE<SAR(4,2,20);
O1:SUM(EMA((CLOSE+LOW)/2,1)/3,3),COLORYELLOW;
O2:EMA(O1,3),COLORMAGENTA;
O3:EMA(O2,3),COLORGREEN;
X_6:=MA(CLOSE,13);
X_7:=100-ABS((CLOSE-X_6)/X_6*100);
X_8:=MA(WINNER(CLOSE*0.95)*100,1);
X_9:=X_8>X_7;{WWW.GPXIAZAI.COM}
STICKLINE(X_9,HIGH,LOW,0,1),COLORYELLOW;
STICKLINE(X_9,CLOSE,OPEN,3.2,0),COLOR117777;
STICKLINE(X_9,CLOSE,OPEN,2.6,0),COLOR119999;
STICKLINE(X_9,CLOSE,OPEN,1.9,0),COLOR11BBBB;
STICKLINE(X_9,CLOSE,OPEN,1.1,0),COLOR11DDDD;
STICKLINE(X_9,CLOSE,OPEN,0.3,0),COLORYELLOW;
DRAWICON(X_8>X_7 AND PERIOD=5,HIGH+0.1,17);
DRAWTEXT(X_8>X_7,LOW,11552),COLORYELLOW;
STICKLINE(X_9 AND X_7>REF(X_7,1) AND REF(X_9,1)>0,HIGH,LOW,0,1),COLORMAGENTA;
STICKLINE(X_9 AND X_7>REF(X_7,1) AND REF(X_9,1)>0,CLOSE,OPEN,3.2,0),COLORMAGENTA;
STICKLINE(X_9 AND X_7>REF(X_7,1) AND REF(X_9,1)>0,CLOSE,OPEN,2.6,0),COLOR990099;
STICKLINE(X_9 AND X_7>REF(X_7,1) AND REF(X_9,1)>0,CLOSE,OPEN,1.9,0),COLORBB00BB;
STICKLINE(X_9 AND X_7>REF(X_7,1) AND REF(X_9,1)>0,CLOSE,OPEN,1.1,0),COLORDD00DD;
STICKLINE(X_9 AND X_7>REF(X_7,1) AND REF(X_9,1)>0,CLOSE,OPEN,0.3,0),COLORMAGENTA;