万物公式网是一个专注于股票软件、股票公式资源分享的平台
微信公众号:万物狙击

网站首页 > 通达信公式 > 通达信主副图指标 正文

通达信趋势加仓主图指标公式源码[万物公式]

admin 2024-02-01 17:06:56 通达信主副图指标 658 ℃

MA5:=MA(C,5);

MA10:=MA(C,10);

MA20:=MA(C,20);

CY:STICKLINE(CLOSE/REF(CLOSE,1)>=1.1 ,CLOSE-(CLOSE-OPEN)/3,OPEN,2,0),COLORYELLOW;

ZT:STICKLINE(CLOSE/REF(CLOSE,1)>=1.0989 AND CLOSE=HIGH ,CLOSE,OPEN,2,0),COLORYELLOW;

DY:STICKLINE(CLOSE/REF(CLOSE,1)>=1.05 AND CLOSE/REF(CLOSE,1)< 1.0989,CLOSE,OPEN,2,0),COLORMAGENTA;

ZY:STICKLINE(CLOSE/REF(CLOSE,1)>=1.03 AND CLOSE/REF(CLOSE,1)< 1.05,CLOSE,OPEN,2,0),COLORRED;

TZB:=HIGH=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE< HIGH;

ZQ:=100*(C-REF(C,12))/REF(C,12);

CQ:=((H+L+C)/3-MA((H+L+C)/3,88))/(0.015*AVEDEV((H+L+C)/3,88));

DRAWTEXT_FIX(1,0.005,0,0,所属风格:),COLORWHITE;

DRAWTEXT_FIX(1,0.06,0,0,FGBLOCK),COLORWHITE;

DRAWTEXT_FIX(1,0.005,0.05,0,所属概念:),COLORWHITE;

DRAWTEXT_FIX(1,0.06,0.05,0,GNBLOCK),COLORYELLOW;

DRAWTEXT_FIX(1,0.005,0.10,0,所属板块:),COLORWHITE;

DRAWTEXT_FIX(1,0.06,0.10,0,DYBLOCK),COLORMAGENTA;

DRAWTEXT_FIX(1,0.11,0.10,0,HYBLOCK),COLORRED;

TD:=1.07*DMA(C,Abs((2*C+H+L)/4-MA(C,26))/MA(C,26));

QS:=MA(ATAN(TD-REF(TD,1)),3);

QS1:=IF((C>O OR C< O) AND H>=REF(C,1),ATAN(MA(H,5)*1.02-REF(MA(C,5)*1.02,1)),0);

QS2:=IF((C>O OR C< O) AND H< REF(C,1),-ATAN(REF(MA(C,5)*1.02,1)-MA(H,5)*1.02),0);

FJ:=MA(REF((QS1+QS2),1),26);

QQS:=QS>FJ AND QS>REF(QS,1);

CN:=QQS AND CQ>200 AND ZQ>20 AND C>REF(C,1);

DRAWTEXT(CN,L*0.95,),COLORYELLOW ,LINETHICK2;

TT:(EMA(C,5) * 7 + EMA(C,10) * 3) / 10,,NODRAW;

DRAWTEXT(FILTER(crOSS(TT,MA(H,30) * (1 + 13 / 100)),5),MA(H,30) * (1 + 13 / 100) * 0.96,↖捉大妖),COLORYELLOW;

AAA:=(3*C+H+L+O)/6;

VAR1:(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36,LINETHICK2,COLORRED;

VAR2:=(HHV(VAR1,2)+HHV(VAR1,4)+HHV(VAR1,8))/3;

BB:(HHV(VAR2,2)+HHV(VAR2,4)+HHV(VAR2,8))/3,COLORYELLOW,LINETHICK4;

IF((VAR1 <= REF(VAR1,1)),VAR1,DRAWNULL),COLORGREEN,LINETHICK4;

IF((VAR1 >= REF(VAR1,1)),VAR1,DRAWNULL),COLORMAGENTA,LINETHICK4;

VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,8))/3;

STICKLINE(BB>VAR1,BB,VAR1,0,0),COLORBLUE;

DRAWTEXT(REF(VAR6,1)=REF(VAR1,1) AND VAR6< VAR1,L*0.98,↖加仓),COLORYELLOW;

LC:=REF(CLOSE,1);

LC1:=REF(CLOSE,1);

rsi1:=((SMA(MAX(CLOSE-LC,0),6,1))/(SMA(ABS(CLOSE-LC),6,1)))*(100);

DRAWTEXT(CROSS(84,RSI),HIGH,→ 逃顶 ),COLORYELLOW,LINETHICK2;

DRAWTEXT(CROSS(RSI,11),LOW*0.95,→ 低吸 ),COLORWHITE;

TYP:=(HIGH+LOW+CLOSE)/3;

cci:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));

VAR5:=CROSS(CCI,-100);

VAR8:=CCI>=200;

DRAWTEXT(VAR8,HIGH*1.02,←----小心),COLORLIRED;

更多精彩内容,请关注公众号:实盘操手

其他说明

1、在下载过程遇到问题,请您 联系客服:QQ:2180737354  或  微信:xxs008000(常用)     备用微信:bsqj88886(常用号不能用的情况再加),我们会在第一时间修复和反馈。


2、本站所提供的股票指标等资源请细看说明,适合自己再购买下载,指标不包安装,不懂的人切勿购买,新手勿扰。所有指标仅供参考学习交流,没稳赚的指标,赢亏自负,如果觉着指标好用请支持正版,否则产生的一切后果将由下载用户自行承担,有部分股票指标资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来联系我们,我们会及时删除,给您带来的不便,我们深表歉意!


⇒⇒⇒点击加入通达信指标公式交流群QQ群