大智慧逆市飘红指标公式

[复制链接]
查看119 | 回复0 | 2021-8-21 13:52:01 | 显示全部楼层 |阅读模式

个股趋势: 3*SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*10,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*10,5,1),3,1),COLORRED,LINETHICK2;
大盘趋势: 3*SMA((INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34))*10,5,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34))*10,5,1),3,1),LINETHICK2,COLORYELLOW;
STICKLINE(个股趋势>大盘趋势,个股趋势,大盘趋势,0.5,0),COLORRED;
ZDF:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
DPZDF:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1)*100;
STICKLINE(ZDF>=0 AND DPZDF<0,0,2,8,0),COLORRED;
STICKLINE(ZDF>=0 AND DPZDF<-2,0,2,8,0),COLORMAGENTA;
STICKLINE(ZDF<0 AND DPZDF>=0,0,2,8,0),COLORGREEN;
DRAWTEXTABS(5,5,'股旁网 www.gupang.com'),linethick1,COLOR00EEff;
STICKLINE(ZDF<0 AND DPZDF>=2,0,2,8,0),COLORCYAN;
STICKLINE(ZDF>9.9,2,4,8,0),COLORYELLOW;
STICKLINE(ZDF<-9.9,2,4,8,0),COLORBLUE;
六十日飘红个数:COUNT(ZDF>=0 AND DPZDF<0,60),LINETHICK0;
六十日涨停个数:COUNT(ZDF>9.9,60),LINETHICK0;
试庄线:2;
反转线:5;
拉升线:8;

202108211246.jpg

202108211246.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则