以下是做t神器(指标、副图、通达信、贴图)副图都可用源码和截图
做t神器(指标、副图、通达信、贴图)分时副图都可用源码:
买:=IF("KDJ.J" 0,10,0);
条件:=CROSS(9.9,买);
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=LLV(LOW,5);
VAR3:=HHV(HIGH,5);
VAR4:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,5);
MA1:=MA(VAR4,2);
AA:STICKLINE(VAR4 MA1,VAR4,MA1,3,1),COLORRED;
BBB:STICKLINE(VAR4 MA1ANDREF(VAR4,1) 30,VAR4,MA1,3,1),COLORRED;
STICKLINE(VAR4 =MA1,VAR4,MA1,3,1),COLORFFCC66;
DRAWICON(CROSS(9.9,买),VAR4-12,5);
STICKLINE(CROSS(9.9,买),VAR4+5,MA1-4,3,1),COLORYELLOW;
XXX:=STICKLINE(BBB,VAR4+5,MA1-4,3,1),COLORYELLOW;
STICKLINE(FILTER(XXX,5),VAR4+5,MA1-4,3,1),COLORYELLOW;
Y1:=LLV(L,17);
Y2:=SMA(ABS(L-REF(L,1)),17,1);
Y3:=SMA(MAX(L-REF(L,1),0),17,2);
Q:=-(EMA(IF(L =Y1,Y2/Y3,-3),1));
STICKLINE(CROSS(Q,0),15,0,4,0),,COLORYELLOW;
强拉升:IF(CROSS(Q,0),1,0),COLORYELLOW;
Q1:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,,COLOR00FF00,LINETHICK2;
STICKLINE(CROSS(Q1,-24),20,0,4,0),,COLORMAGENTA;
加强拉升:IF(CROSS(Q1,-24),1,0),COLORMAGENTA;
VAR5:=EXPMA(EXPMA(EXPMA((2*CLOSE+HIGH+LOW)/4,4),4),4);
天:=(MA((VAR5-REF(VAR5,1))/REF(VAR5,1)*100,2));
地:=(MA((VAR5-REF(VAR5,1))/REF(VAR5,1)*100,1));
STICKLINE(地 天AND地 0,10,0,1,0),COLORRED;
开始拉升:STICKLINE(地 天AND地 0,10,0,1,0)=1,COLORRED;
A1:=(D/C)/2,NODRAW;
A2:=SUM(IF(A1 100ANDCLOSE REF(CLOSE,1),A1,0),0);
A3:=SUM(IF(A1 100ANDCLOSE REF(CLOSE,1),A1,0),0);
A4:=SUM(IF(A1 100ANDCLOSE REF(CLOSE,1),A1,0),0);
A5:=SUM(IF(A1 100ANDCLOSE REF(CLOSE,1),A1,0),0);
A6:=A2+A3+A4+A5;
机买:(A2/A6)*100,LINETHICK2,COLORRED;
机卖:(A3/A6)*100,LINETHICK2,COLORGREEN;
散买:(A4/A6)*100,LINETHICK0;
散卖:(A5/A6)*100,LINETHICK0;
差:机买-机卖,LINETHICK2,NODRAW;
差:散买-散卖,LINETHICK0,NODRAW;
DRAWTEXT(主力差 0ANDREF(主力差,1) =0,C*0.85,'●'),COLORRED;
DRAWTEXT(主力差 0ANDREF(主力差,1) =0,-C*0.85,'○机构'),COLORWHITE;
DRAWTEXT(散户差 0ANDREF(散户差,1) =0,C*0.15,'▲散户'),COLORCYAN;
DRAWTEXT(散户差 0ANDREF(散户差,1) =0,-C*0.15,'△散户'),COLORWHITE;
做t神器(指标、副图、通达信、贴图)分时副图都可用截图