程序化指标公式
问答中心

大智慧三色趋势主图指标公式

大智慧公式 2019-06-02阅读量:2570
安装后如下图,友情提示(指标只是辅助,不作建议) 所有程序均为免费分享。

不会安装点击  安装指南  步骤操作

MA3:=MA(C,3);
 MA4:=MA(C,4);
 MA5:MA(C,5),LINETHICK1,COLORYELLOW;
 MA20:MA(C,20),LINETHICK2,COLOR007733;
 MA40:MA(C,40),LINETHICK2,COLOR0055ff;
 MA60:MA(C,60),LINETHICK3,COLOR00ff00;
 FILLRGN(MA3,MA4,MA3>MA4,(RGB(100,0,100)));
 FILLRGN(MA3,MA4,MA3<MA4,(RGB(0,150,250)));
 FILLRGN(MA5,MA4,MA4>MA5,(RGB(150,150,0)));
 FILLRGN(MA5,MA4,MA4<MA5,(RGB(150,150,150)));
{程序化指标官方网址 www.honghaie.com}
 STICKLINE(CLOSE>=OPEN ,OPEN,CLOSE,7,0),COLOR000033;
 STICKLINE(CLOSE>=OPEN ,OPEN,CLOSE,6,0),COLOR000055;
 STICKLINE(CLOSE>=OPEN ,OPEN,CLOSE,5,0),COLOR000066;
 STICKLINE(CLOSE>=OPEN ,OPEN,CLOSE,4,0),COLOR000077;
 STICKLINE(CLOSE>=OPEN ,OPEN,CLOSE,3,0),COLOR000099;
 STICKLINE(CLOSE>=OPEN ,OPEN,CLOSE,2,0),COLOR0000BB;
 STICKLINE(CLOSE>=OPEN ,OPEN,CLOSE,1,0),COLOR0000DD;
 STICKLINE(CLOSE>=OPEN ,LOW,H,0.5,0),COLOR0000DD;{收阳}
 STICKLINE(CLOSE<OPEN ,OPEN,CLOSE,7,0),COLOR003300;
 STICKLINE(CLOSE<OPEN ,OPEN,CLOSE,6,0),COLOR005500;
 STICKLINE(CLOSE<OPEN ,OPEN,CLOSE,5,0),COLOR007700;
 STICKLINE(CLOSE<OPEN ,OPEN,CLOSE,4,0),COLOR008800;
 STICKLINE(CLOSE<OPEN ,OPEN,CLOSE,3,0),COLOR009900;
 STICKLINE(CLOSE<OPEN ,OPEN,CLOSE,2,0),COLOR00BB00;
 STICKLINE(CLOSE<OPEN ,OPEN,CLOSE,1,0),COLOR00DD00;
 STICKLINE(CLOSE<OPEN ,LOW,H,0.5,0),COLOR00DD00;{收阴}
 VARDQ:=((REF(CLOSE,1)=HHV(CLOSE,4)) AND (CLOSE<REF(CLOSE,2)) or ((REF(CLOSE,2)=HHV(CLOSE,4)) AND (REF(CLOSE,1)>REF(CLOSE,3)) or (REF(CLOSE,3)=HHV(CLOSE,4)) AND (REF(CLOSE,1)>REF(CLOSE,2))) AND (REF(CLOSE,2)>=REF(CLOSE,4)) AND (CLOSE<REF(CLOSE,1)));
 STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/(2),7,0),CoLorFF1100;
 STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/(2),6,0),CoLorFF3300;
 STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/(2),5,0),CoLorFF5500;
 STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/(2),4,0),CoLorFF7700;
 STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/(2),3,0),CoLorFF9900;
 STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/(2),2,0),CoLorFFBB00;
 STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/(2),1,0),CoLorFFDD00;
 VARCQ:=((REF(CLOSE,1)=LLV(CLOSE,4)) AND (CLOSE>=REF(CLOSE,2)) or (REF(CLOSE,2)=LLV(CLOSE,4)) AND (REF(CLOSE,1)<=REF(CLOSE,3)) AND (REF(CLOSE,2)<REF(CLOSE,4)) AND (CLOSE>=REF(CLOSE,1)));
 STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/(2),7,0),CoLor003300;
 STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/(2),6,0),CoLor005500;
 STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/(2),5,0),CoLor007700;
 STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/(2),4,0),CoLor009900;
 STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/(2),3,0),CoLor00BB00;
 STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/(2),2,0),CoLor00DD00;
 STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/(2),1,0),CoLor00FF00;

版权声明

所有指标均为免费分享。

文章内容来自互联网,本网站无任何收费项目也不推荐股票
广告投放请自行识别风险。

分享:

扫一扫在手机阅读、分享本文

程序化指标公众号

左边广告一

关闭

右边广告二

关闭