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

网站首页 > 同花顺指标 正文

同花顺八指标金叉指标公式

admin 2023-10-15 15:37:15 同花顺指标 512 ℃

TR=SUM(maX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);

HD=HIGH-REF(HIGH,1);

LD=REF(LOW,1)-LOW;

DMP=SUM(IF(HD>0 AND HD>LD,HD,0),14);

DMM=SUM(IF(LD>0 AND LD>HD,LD,0),14);

DI1:DMP*100/TR;

DI2:DMM*100/TR;

A1:DI1>DI2;

dmi金叉:IF(A1,1,0),colorred;

LC=REF(CLOSE,1);

AA=ABS(HIGH-LC);

BB=ABS(LOW-LC);

CC=ABS(HIGH-REF(LOW,1));

DD=ABS(LC-REF(OPEN,1));

R=IF(AA>BB AND AA>CC,AA+BB/2+DD/4,IF(BB>CC AND BB>AA,BB+AA/2+DD/4,CC+DD/4));

X=(CLOSE-LC+(CLOSE-OPEN)/2+LC-REF(OPEN,1));

SI=16*X/R*MAX(AA,BB);

asi:SUM(SI,26);

ASIT:MA(ASI,10);

A2:ASI>ASIT;

ASI金叉:IF(A2,1,0),colorred;

dpo:CLOSE-REF(MA(CLOSE,20),10);

MADPO:MA(DPO,6);

A3:DPO>MADPO;

DPO金叉:IF(A3,1,0),colorred;

roc:(CLOSE-REF(CLOSE,12))/REF(CLOSE,12)*100;

ROCMA:MA(ROC,6);

A4:ROC>ROCMA;

ROC金叉:IF(A4,1,0),colorred;

volUME:=MA(VOL,14)/VOL;

MID:=100*(HIGH+LOW-REF(HIGH+LOW,1))/(HIGH+LOW);

TEMP:= MID*VOLUME*(HIGH-LOW);

IF (HIGH == LOW)

TEMP:=0;

emv:MA(TEMP/MA(HIGH-LOW,14),14);

MAEMV:MA(EMV,9);

A5:EMV>MAEMV;

EMV金叉:IF(A5,1,0),colorred;

A:CLOSE-REF(CLOSE,12);

MI:SMA(A,12,1);

A6:A>MI;

MI金叉:IF(A6,1,0),colorred;

DTM:=IF(OPEN<=REF(OPEN,1),0,MAX((HIGH-OPEN),(OPEN-REF(OPEN,1))));

DBM:=IF(OPEN>=REF(OPEN,1),0,MAX((OPEN-LOW),(OPEN-REF(OPEN,1))));

stM:=SUM(DTM,23);

SBM:=SUM(DBM,23);

ADTM:IF(STM>SBM,(STM-SBM)/STM,IF(STM==SBM,0,(STM-SBM)/SBM));

MAADTM:MA(ADTM,8);

A7:ADTM>MAADTM;

ADTM金叉:IF(A7,1,0),colorred;

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

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

A8:CCI>0;

CCI金叉:IF(A8,1,0),colorred;

AR:SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;

A9:AR>100;

AR金叉:IF(A9,1,0),colorred;

涨买入:IF((A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND A8 AND A9) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND A8 AND A9,1)=0,7,0),colormagenta,LINETHICK2;

上涨:IF(A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND A8 AND A9,7,0),colorcyan,LINETHICK1;

晴天:BArslASTCOUNT(A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND A8 AND A9),LINETHICK0;

雨天:(BARSLASTCOUNT(DMI金叉+ASI金叉+DPO金叉+ROC金叉+EMV金叉+MI金叉+ADTM金叉+CCI金叉+AR金叉>0 AND DMI金叉+ASI金叉+DPO金叉+ROC金叉+EMV金叉+MI金叉+ADTM金叉+CCI金叉+AR金叉<21 ))/10,LINETHICK0;

雪天:BARSLASTCOUNT(DMI金叉+ASI金叉+DPO金叉+ROC金叉+EMV金叉+MI金叉+ADTM金叉+CCI金叉+AR金叉=0),LINETHICK0;

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

其他说明

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


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


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