首页 > 编程语言 >通达信量化侦察兵指标公式源码副图

通达信量化侦察兵指标公式源码副图

时间:2024-02-25 11:12:12浏览次数:33  
标签:22 STICKLINE 23 侦察兵 通达信 源码 LOW CLOSE REF

{ 股票指标 }

X_1:=1231212;
X_2:=IF(DATE<x_1,1,drawnull);
主力持仓:Ema(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3)*X_2,COLORMAGENTA,LINETHICK2;
警戒线:80*X_2,COLORYELLOW;
X_3:=REF((LOW+OPEN+CLOSE+HIGH)/4,1)*X_2;
X_4:=SMA(Abs(LOW-X_3),13,1)/SMA(MAX(LOW-X_3,0),10,1)*X_2;
X_5:=EMA(X_4,10)*X_2;
X_6:=LLV(LOW,33)*X_2;
X_7:=EMA(IF(LOW<=X_6,X_5,0),3)*X_2;
stICKLINE(X_7>REF(X_7,1),0,X_7,3,0)*X_2,COLOR000055;
STICKLINE(X_7>REF(X_7,1),0,X_7,2.6,0)*X_2,COLOR000077;
STICKLINE(X_7>REF(X_7,1),0,X_7,2.1,0)*X_2,COLOR000099;
STICKLINE(X_7>REF(X_7,1),0,X_7,1.5,0)*X_2,COLOR0000BB;
STICKLINE(X_7>REF(X_7,1),0,X_7,0.9,0)*X_2,COLOR0000DD;
STICKLINE(X_7>REF(X_7,1),0,X_7,0.3,0)*X_2,COLORRED;
STICKLINE(X_7<ref(x_7,1),0,x_7,3,0)*x_2,color005500;
STICKLINE(X_7<ref(x_7,1),0,x_7,2.6,0)*x_2,color007700;
STICKLINE(X_7<ref(x_7,1),0,x_7,2.1,0)*x_2,color009900;
STICKLINE(X_7<ref(x_7,1),0,x_7,1.5,0)*x_2,color00bb00;
STICKLINE(X_7<ref(x_7,1),0,x_7,0.9,0)*x_2,color00dd00;
STICKLINE(X_7<ref(x_7,1),0,x_7,0.3,0)*x_2,colorgreen;
主力出没:IF(X_7>REF(X_7,1),X_7,0)*X_2,NODRAW,COLORRED;
洗盘:IF(X_7<ref(x_7,1),x_7,0)*x_2,nodraw,colorgreen;
X_8:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2))*X_2;
X_9:=(CLOSE<ref(close,1) and="" close<ref(close,2))*x_2;<br=""> X_10:=(REF(X_9,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2))*X_2;
X_11:=(REF(X_10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2))*X_2;
X_12:=(REF(X_11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2))*X_2;
X_13:=(REF(X_12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2))*X_2;
X_14:=(REF(X_13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2))*X_2;
X_15:=(REF(X_14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2))*X_2;
X_16:=(REF(X_15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2))*X_2;
X_17:=(REF(X_16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2))*X_2;
X_18:=(REF(X_17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2))*X_2;
X_19:=(REF(X_18,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2))*X_2;
X_20:=(REF(X_19,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2))*X_2;
X_21:=REF(X_9 OR X_10 OR X_11 OR X_12 OR X_13 OR X_14 OR X_15 OR X_16 OR X_17 OR X_18 OR X_19 OR X_20,1) AND X_8;
X_22:=EMA(CLOSE,12)-EMA(CLOSE,26)*X_2;
X_23:=EMA(X_22,9)*X_2;
X_24:=(X_22-X_23)*2*X_2;
X_25:=BArslAST(REF(crOSS(X_22,X_23),1))*X_2;
X_26:=BARSLAST(REF(CROSS(X_23,X_22),1))*X_2;
X_27:=REF(CLOSE,X_25+1)>CLOSE AND X_22>REF(X_22,X_25+1) AND CROSS(X_22,X_23)*X_2;
X_28:=REF(CLOSE,X_26+1)X_22 AND CROSS(X_23,X_22)*X_2;
④:IF(X_27,57,0),COLORBROWN,LINETHICK3;
DRAWTEXT(X_27,15,285)*X_2,COLORWHITE;
DRAWTEXT(X_28,70,286),COLORGREEN;

 

标签:22,STICKLINE,23,侦察兵,通达信,源码,LOW,CLOSE,REF
From: https://www.cnblogs.com/zhibiao/p/18032165

相关文章

  • 通达信暴涨金牛指标公式源码选股
    {股票指标}X_1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*Sma(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);X_2:=8;X_3:=crOSS(X_1,X_2);X_4:=CROSS(X_1,X_2)ANDHIGH>REF(HIGH,1)ANDCLOSE>REF(CLOSE,1);X_5:=CROSS......
  • 通达信乾坤骑牛选股指标公式源码
    {股票指标}TJ1:=O=LANDC>OANDO/REF(C,1)<0.95;TJ2:=ma(C,5)<ma(c,10)and=""l<ma(c,5)=""h=""o="">1.1;TJ3:=H/C>1.07ANDV>REF(HHV(V,800),1);TJ4:=TJ1ANDTJ2ANDTJ3;TJ5:=REF(TJ4,1)ANDC>......
  • 通达信短线动力指标公式源码副图
    {股票指标}VAR2:=LLV(LOW,10);VAR3:=HHV(HIGH,25);注意:50,COLORGREEN;70,POINTDOT;清仓:90,COLORRED;动力线:=Ema((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*20;stICKLINE(动力线>REF(动力线,1),动力线,REF(动力线,1),3,1),COLORBROWN;STICKLINE(动力线<=REF(动力线,1),动......
  • 通达信持股量能指标公式源码副图
    {股票指标}M1:=5;M2:=135;volUME:VOL,VOLstICK;maVOL1:MA(VOLUME,M1);MAVOL2:MA(VOLUME,M2);绿低量:=13;蓝低量:=55;灰低量:=100;H_L:=0.1*CONST(HHV(VOL,240));{MAV10:MA(V,10),COLORYELLOW;}启动5:=MA(V,5),COLORWHITE;洗盘40:=MA(V,40),COLORBLUE;异动135:=MA(......
  • 通达信利波量价指标公式源码副图
    {股票指标}MV3:=Ema(V,3);MA3:=EMA(C,3);MV3角度:=ATAN((MV3/REF(MV3,1)-1)*100)*180/3.1416;MA3角度:=ATAN((MA3/REF(MA3,1)-1)*100)*180/3.1416;MV5:=EMA(V,5);MA5:=EMA(C,5);MV5角度:=ATAN((MV5/REF(MV5,1)-1)*100)*180/3.1416;MA5角度:=ATAN((MA5/REF(MA5,1)-1)*10......
  • 通达信KDJ多周期共振指标公式源码副图
    {股票指标}YK:kdj.K#MONTH,NODRAW;YD:kdJ.D#MONTH,NODRAW;ZK:KDJ.K#WEEK,NODRAW;X_1:=KDJ.D#WEEK;X_2:="KDJ.J#MONTH";X_3:="KDJ.J#WEEK";X_4:=1;stICKLINE(X_4ANDX_3=1,55,65,5,0),COLOR000088;STICKLINE(X_4ANDX_3=0,55,65,5,0),COLOR00880......
  • 通达信小股短线王指标公式源码副图
    {股票指标}成交量:=vol;ma5:=MA(VOL,5);MA10:=MA(VOL,10);MA20:=MA(VOL,20);MA35:=MA(VOL,35);AAA:=VOL/((H-L)*2-Abs(C-O));主买:=IF(C>O,AAA*(H-L),IF(C<o,aaa*((h-o)+(c-l)),vol2))*0.8,linethick0;<br="">主卖:=-IF(C>O,0-AAA*((H-C)+(O-L)),IF......
  • 通达信资金100分指标公式源码副图
    {股票指标}N:=3;M:=8;AA:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<open,aa*((high-open)+(close-low)),vol2)),linethick0,colorred;<br="">卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE......
  • 通达信主买占比指标公式源码副图
    {股票指标}万手:vol/10000,LINETHICK0;AA:=IF(CURRBARSCOUNT=1ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL);预测:AA/10000;BB:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));主动买:=IF(CLOSE>OPEN,BB*(HIGH-LOW),IF(CLOSE<open,bb*((high-open)+(close-low)),vol2));<br="......
  • 通达信顾比回调认同主图指标公式
    {股票指标}ma1:EXPMEMA(CLOSE,3),COLORRED,LINETHICK2;MA2:EXPMEMA(CLOSE,5);MA3:EXPMEMA(CLOSE,8);MA4:EXPMEMA(CLOSE,10);MA5:EXPMEMA(CLOSE,12);MA6:EXPMEMA(CLOSE,15);MA7:EXPMEMA(CLOSE,30),COLORRED;MA8:EXPMEMA(CLOSE,35);MA9:EXPMEMA(CLOSE,40);MA10:EXPMEMA......