首页 > 编程语言 >通达信筹码峰分布主图指标公式源码

通达信筹码峰分布主图指标公式源码

时间:2024-03-08 19:57:44浏览次数:27  
标签:13 15 MA 主图 HIGH 通达信 源码 CLOSE REF

{ 股票指标 }

Z1:=stRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,FGBLOCK);
Z3:=STRCAT(Z2,DYBLOCK);
Z4:=STRCAT(Z3,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z4,GNBLOCK)),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR,0,0.09,0,EXTERNSTR(0,12)),COLORLIGREEN;{老王}
DRAWTEXT_FIX(ISLASTBAR,0,0.03,0,EXTERNSTR(0,3)),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0,0.06,0,EXTERNSTR(0,6)),COLORLIBLUE;
X_1:=ma(CLOSE,4);
X_2:=MA(CLOSE,13);
X_3:=MA(CLOSE,24);
X_4:=MA(CLOSE,30);
X_5:=MA(CLOSE,120);
AA:=Abs((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);
济安线:=DMA((2*CLOSE+LOW+HIGH)/4,AA),LINETHICK3,COLORMAGENTA;
X_6:=X_2>X_3 AND X_3>X_4 AND X_4>X_5 AND X_2>REF(X_2,1) AND X_3>REF(X_3,1) AND X_4>REF(X_4,1) AND X_5>=REF(X_5,1);
X_7:=ATAN((MA(CLOSE,13)/REF(MA(CLOSE,13),1)-1)*100)*57.299999;
X_8:=120;
X_9:=MA(CLOSE,X_8);
X_10:=POW(CLOSE-X_9,2);
X_11:=MA(X_10,X_8);
X_12:=SQRT(X_11);
X_13:=X_9+2*X_12;
X_14:=X_9-2*X_12;
筹码线:REF(X_13,1),COLORYELLOW,LINETHICK2;
趋势线:MA(CLOSE,24),COLORRED,LINETHICK2;
X_15:=(3*CLOSE+OPEN+LOW+HIGH)/6;
X_16:=(20*X_15+19*REF(X_15,1)+18*REF(X_15,2)+17*REF(X_15,3)+16*REF(X_15,4)+15*REF(X_15,5)+14*REF(X_15,6)+13*REF(X_15,7)+12*REF(X_15,8)+11*REF(X_15,9)+10*REF(X_15,10)+9*REF(X_15,11)+8*REF(X_15,12)+7*REF(X_15,13)+6*REF(X_15,14)+5*REF(X_15,15)+4*REF(X_15,16)+3*REF(X_15,17)+2*REF(X_15,18)+REF(X_15,20))/210;
X_17:=MA(X_16,7);
X_18:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_19:=(HIGH-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_20:=IF(CLOSE>REF(CLOSE,1),vol,-VOL);
X_21:=SUM(IF(CLOSE=REF(CLOSE,1),0,X_20),0);
X_22:=MA(X_21,30);
X_23:=VOL;
X_24:=X_23>REF(HHV(X_23,30),1);
X_25:=X_21>X_22;
X_26:=IF((CLOSE-REF(CLOSE,1))*100/REF(CLOSE,1)>=10-0.01*100/REF(OPEN,1),1,0);
X_27:=HIGH>=HHV(HIGH,20);
X_28:=REF(X_26,1);
X_29:=COUNT(X_28,5)>=1;
X_30:=COUNT(X_28,13)>=1;
X_31:=OPEN<=REF(CLOSE,1) AND X_18<(-2);
X_32:=COUNT(X_31,2)>=1;
X_33:=X_29 AND X_18>2.5 AND REF(X_32,1) AND REF(X_18<2.4,1) AND X_4>0;
X_34:=X_33 AND COUNT(X_33,30)=1 ;
STICKLINE(X_26,OPEN,CLOSE,2,0),COLORYELLOW;
X_35:=HIGH>=HHV(HIGH,150);
X_36:=X_35=1 AND BArslAST(REF(X_35=1,1))>=1 AND X_18>3;
DRAWICON(FILTER(X_36=1,1),LOW-0.2,25),COLORYELLOW;
X_37:=VOL>MA(VOL,89);
X_38:=X_37=1 AND BARSLAST(REF(X_37=1,1))>=6 AND HIGH>济安线 AND X_4>X_5;
STICKLINE(X_34,OPEN,CLOSE,1,0),COLORF00FF0;
X_39:=X_6 AND CLOSE>X_2 AND LOW<=X_2 AND CLOSE>OPEN AND X_7>47 AND X_30;
DRAWICON(X_34,LOW,24);
DRAWICON(X_34,LOW-0.3,25);
DRAWICON(X_34,LOW-0.6,26);
A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A4:=SMA(A3,3,1);
A5:=SMA(A4,3,1);
A6:=3*A4-2*A5;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND crOSS(A8,MA(A8,2));
{DRAWICON(FILTER(买=1,5),LOW-0.05,26),COLORYELLOW;}
STICKLINE(买,OPEN,CLOSE,2,0),COLORYELLOW;

 

标签:13,15,MA,主图,HIGH,通达信,源码,CLOSE,REF
From: https://www.cnblogs.com/zhibiao/p/18061729

相关文章

  • 通达信五线看牛熊主图指标公式源码
    {股票指标}量化:=maX(MA(C,5),MAX(MAX(MA(C,10),MA(C,20)),MAX(MA(C,60),MA(C,120))));M20:=MA(量化,20);DRAWBAND(M20,RGB(0,0,0),量化,120);MA5:MA(量化,5),COLORMAGENTA;MA3:MA(量化,3),COLORBROWN;DRAWTEXT(crOSS(C,量化)ANDCROSS(C,MA5)ANDCROSS(C,M20),L,'量价......
  • 通达信绝地反击釜底抽薪竞价选股公式 枭雄竞价 抓首板 抓连扳 开盘绿开反核低吸 绿盘
    {股票指标}枭雄竞价之绝地反击:专门选昨日未涨停今天绿开的个股,绿盘低吸。每天出信号最多不超过3只,信号全天不变。枭雄竞价之釜底抽薪:专门选昨日涨停(不限几连板)今天绿开的个股,绿盘低吸。每天出信号最多不超过3只,信号全天不变。竞价指标要用到竞价量等未来函数,这些是竞价要用......
  • 通达信求财MACD指标公式源码
    {股票指标}DIF:Ema(CLOSE,12)-EMA(CLOSE,26);DEA:EMA(DIF,9),COLOR888888;macd:(DIF-DEA)*2,COLORstICK;NOTEXT5:IF(DIF>=DEA,DIF,DRAWNULL),COLORRED;NOTEXT6:IF(DIF<dea,dif,drawnull),colorwhite;<br="">AT1:=BArslAST(REF(crOSS(DIF,DEA),1)......
  • 通达信独霸金牛王副图预警选股指标公式源码分享
    {股票指标}本指标具有以下优点:{独霸金牛王}顶:80;VAR1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;做空线:SMA(VAR1,3,1),LINETHICK2,COLORGREEN;VAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;做多线:SMA(VAR2,5,1)-8,LINETHICK2,COLORR......
  • 通达信财神送宝主图源码狙击埋伏龙头
    {股票指标}本指标是通达信主图指标,可以佩服副图,副图指标叫财神送宝或者状元郎,大家也可以搜索找到。使用方法自己研究,不提供技术支持。软件选股风险自担。软件已经测试,可以正常使用。VARQ0:=1.04; MA5:MA(CLOSE,5),COLORWHITE;MA10:MA(CLOSE,10),COLORYELLOW;MA20:MA......
  • 通达信大金叉捉妖主图指标公式源码主图
    {股票指标}Z1:=stRCAT('【',STRCAT(CODE,STKNAME));Z2:=STRCAT('行业:',HYBLOCK);Z3:=STRCAT('地域:',DYBLOCK);Z4:=STRCAT(STRCAT('概念:',GNBLOCK),'】');Z5:=STRCAT(Z1,Z2);Z6:=STRCAT(Z3,Z4);Z7:=STRCAT(Z5,Z6);DRAWTEX......
  • 通达信末日抄底选股指标公式源码
    {股票指标}X_1:=CLOSE/ma(CLOSE,40)*100<78;X_2:=CLOSE/MA(CLOSE,60)*100<74;X_3:=HIGH>LOW*1.051;X_4:=X_3ANDCOUNT(X_3,5)>1;X_5:=IF(X_4AND(X_1ORX_2),2,0);X_6:=CLOSE/REF(CLOSE,25)<=1.1;X_7:=SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1)/SMA(Abs(CL......
  • 通达信共振通杀指标公式源码副图
    {股票指标}RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;J0:=(HIGH+LOW)/2;QJ:=Ema(J0,3);J1:=IF(CLOSE>QJ,vol,0);J2:=IF(CLOSE<QJ,VOL,0);量能:IF(CAPITAL<1,MA(VOL,74),MA(SUM(J1-J2,22),......
  • 通达信王者波段选股指标公式源码副图
    {股票指标}W1:=rsi(2);W2:=50;W3:=10;WS:=crOSS(W1,W2);A1:=ma(C,5);A2:=MA(C,13);A3:=MA(C,30);AA:=A3>REF(A3,1);A4:=MA(C,60);A5:=MA(C,250);NM:=((4*SMA((((C-LLV(L,5))/(HHV(H,5)-LLV(L,5)))*100),5,1))-(3*SMA(SMA((((C-LLV(L,5))/(HHV(H,5)-LLV(L,5)))*100),5,......
  • MetaGPT day06 Environment组件源码 多智能体辩论
    Environment环境中通常具有一定的规则,而agent必须按照规则进行活动,MetaGPT提供了一个标准的环境组件Environment,来管理agent的活动与信息交流。MetaGPT源码中是这样介绍Environment的:环境,承载一批角色,角色可以向环境发布消息,可以被其他角色观察到Environment的基本组成:......