以下是t+0指标源码和截图
分时t+0指标源码:
V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,34);V3:=EMA(V2,5);V4:=2*(V2-V3)*5.5;
撤:IF(V4 =0,V4,0),COLORBLUE;
主力进:IF(V4 =0,V4,0),COLORFF00FF;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);VB:=(V9-VA)/2;
进场:IF(VB =0,VB,0),COLORRED;
大盘资金撤走:IF(VB =0,VB,0),COLORGREEN;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
线:EMA(V11,3);
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
准备现金:STICKLINE(趋势线 =13,0,8,5,0),COLORCC9900;
AA:=(趋势线 =13)ANDFILTER((趋势线 =13),15);
DRAWTEXT(AA,20,'准备'),COLORCC9900;
买入股票:STICKLINE(趋势线 =13ANDV12 13,0,16,5,0),COLOR0099FF;
BB:=趋势线 =13ANDV12 13ANDFILTER((趋势线 =13ANDV12 13),10);
DRAWTEXT(BB,5,'买入'),COLORYELLOW;
卖临界:STICKLINE(趋势线 90AND趋势线 REF(趋势线,1),100,95,15,1),COLORFFFF00;
见顶清仓:FILTER(趋势线 90AND趋势线 REF(趋势线,1)AND主力进 REF(主力进,1),8);
DRAWTEXT(见顶清仓,90,''),COLORYELLOW;CC:=(趋势线 =90ANDV12)ANDFILTER((趋势线 =90ANDV12),10);
STICKLINE(大盘资金进场AND趋势线 13,0,30,10,0),COLORRED;STICKLINE(大盘资金撤走AND趋势线 90,0,30,10,0),COLORGREEN;
STICKLINE(主力进AND趋势线 13,0,40,10,0),COLORFF00FF;STICKLINE(主力撤AND趋势线 90,0,40,10,0),COLORBLUE;
SZPOW:=POW(1+0.1,1);
XdpoW:=POW(1-0.1,1);
ZTJ:=DYNAINFO(3)*SZPOW;
DTJ:=DYNAINFO(3)*XDPOW;
IFM010:=IF(BARSCOUNT(C) 27,27,BARSCOUNT(C));
IFHHV0:=IF(HHV(H,IFM010) 0,HHV(H,IFM010),DRAWNULL);
IFLLV0:=IF(LLV(L,IFM010) 0,LLV(L,IFM010),DRAWNULL);
IFHHV:=(ZTJ+IFHHV0*2)/3;
IFLLV:=(DTJ+IFLLV0*2)/3;
HHVV:IF(BARSCOUNT(C) 3,IFHHV,IFHHV0),LINETHICK5;
LLVV:IF(BARSCOUNT(C) 3,IFLLV,IFLLV0),LINETHICK5;
X:=DYNAINFO(3);
DQ:=IF(DYNAINFO(14) 0.06,0,1);
DRAWNUMBER(PERIOD=0ANDISLAstBAR,HHVV,HHVV-DYNAINFO(7));
DRAWNUMBER(PERIOD=0ANDISLASTBAR,LLVV,DYNAINFO(7)-LLVV);
DRAWTEXT_FIX(PERIOD=0,0.94,1,1,'X=昨日收盘=');
DRAWNUMBER_FIX(PERIOD=0,0.99,1,1,X);
DRAWTEXT_FIX(PERIOD=0,0.94,0.89,1,'X*0.002=');
DRAWNUMBER_FIX(PERIOD=0,0.99,0.89,1,X*0.002);
DRAWTEXT_FIX(PERIOD=0,0.94,0.83,1,'X*0.005=');
DRAWNUMBER_FIX(PERIOD=0,0.99,0.83,1,X*0.005);
DRAWTEXT_FIX(PERIOD=0,0.94,0.76,1,'X*0.01=');
DRAWNUMBER_FIX(PERIOD=0,0.99,0.76,1,X*0.01);
DRAWTEXT_FIX(PERIOD=0,0.94,0.69,1,'X*0.02=');
DRAWNUMBER_FIX(PERIOD=0,0.99,0.69,1,X*0.02);
DRAWTEXT_FIX(PERIOD=0,0.94,0.62,1,'X*0.03=');
DRAWNUMBER_FIX(PERIOD=0,0.99,0.62,1,X*0.03);
DRAWTEXT_FIX(PERIOD=0,0.94,0.55,1,'X*0.04=');
DRAWNUMBER_FIX(PERIOD=0,0.99,0.55,1,X*0.04);
DRAWTEXT_FIX(PERIOD=0,0.94,0.48,1,'X*0.05=');
DRAWNUMBER_FIX(PERIOD=0,0.99,0.48,1,X*0.05);
DRAWTEXT_FIX(PERIOD=0,0.94,0.41,1,'X*0.06=');
DRAWNUMBER_FIX(PERIOD=0,0.99,0.41,1,X*0.06);
DRAWTEXT_FIX(PERIOD=0,0.94,0.34,1,'X*0.07=');
DRAWNUMBER_FIX(PERIOD=0,0.99,0.34,1,X*0.07);
DRAWTEXT_FIX(PERIOD=0,0.94,0.27,1,'X*0.08=');
DRAWNUMBER_FIX(PERIOD=0,0.99,0.27,1,X*0.08);
DRAWTEXT_FIX(PERIOD=0,0.94,0.20,1,'X*0.09=');
DRAWNUMBER_FIX(PERIOD=0,0.99,0.20,1,X*0.09);
DRAWTEXT_FIX(PERIOD=0,0.80,0.89,1,'白粗线=');
DRAWNUMBER_FIX(PERIOD=0ANDISLASTBAR,0.83,0.89,1,HHVV);
DRAWTEXT_FIX(PERIOD=0,0.80,1,1,'黄粗线=');
DRAWNUMBER_FIX(PERIOD=0ANDISLASTBAR,0.83,1,1,LLVV);
DRAWTEXT_FIX(PERIOD=0,0.70,0.89,1,'今日高价=');
DRAWNUMBER_FIX(PERIOD=0,0.73,0.89,1,DYNAINFO(5));
DRAWTEXT_FIX(PERIOD=0,0.70,1,1,'今日低价=');
DRAWNUMBER_FIX(PERIOD=0,0.73,1,1,DYNAINFO(6));
分时t+0指标截图