精 彩 内 容 呈 现
ZYG1:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;
ZYG2:=2*ABS(ZYG1);
ZYG3:=100-(100-3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1)+2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1),15,1));
ZYG4:=100-(100-3*SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1)+2*SMA(SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1),15,1));
ZYG5:=(H+L+C)/3;
ZYG6:=(ZYG5-MA(ZYG5,10))/(0.015*AVEDEV(ZYG5,10));
ZYG7:=(ZYG5-MA(ZYG5,30))/(0.015*AVEDEV(ZYG5,30));
ZYG8:=IF(ZYG6>=150 AND ZYG6<200 AND ZYG7>=150 AND ZYG7<200,10,0);
ZYG9:=IF(ZYG6<=-150 AND ZYG6>-200 AND ZYG7<=-150 AND ZYG7>-200,-10,ZYG8);
VA:=(C-MA(C,13))/MA(C,13)*100;
VB:=100-ABS(VA);
VC:=3*SMA((INDEXC-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1)-2
*SMA(SMA((INDEXC-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1),15,1);
VD:=3*SMA((INDEXO-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))
*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1),15,1);
VE:=REF(L,1)*0.9;
VF:=L*0.9;
ZYG10:=(VF*V+VE*(CAPITAL-V))/CAPITAL;
ZYG11:=EMA(ZYG10,30);
ZYG12:=ZYG11-C;
ZYG13:=REF(C,1);
ZYG14:=SMA(MAX(C-ZYG13,0),7,1)/SMA(ABS(C-ZYG13),7,1)*100;
ZYG15:=SMA(MAX(C-ZYG13,0),13,1)/SMA(ABS(C-ZYG13),13,1)*100;
ZYG16:=BARSCOUNT(C);DRAWTEXT_FIX(C>O,0,0.07,0,'更多实用指标公式,请关注微信公众号:金钻指标精选'),COLORWHITE;
ZYG17:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
ZYG18:=((-100)*(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))+50)*2;
ZYG19:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100;
ZYG1A:=(SMA(ZYG19,4,1)-50)*2;
ZYG1B:=SMA(ZYG1A,3,1);
ZYG1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
ZYG1D:=SMA(ZYG1C,4,1);
ZYG1E:=SMA(ZYG1D,3,1);
ZYG1F:=(HHV(H,30)-C)/C*100;
ZYG20:=IF(ZYG17<=25 AND ZYG18<-95 AND ZYG1F>20 AND ZYG1B<-30 AND ZYG1E<30
AND ZYG12>=-0.25 AND ZYG14<22 AND ZYG15<28 AND ZYG16>50,80,0);
大趋势: ZYG3;
顶线:=IF(VB<90,VB,100);
多方:IF(ZYG1>0,ZYG1,0),LINESTICK COLORMAGENTA;
空方:-IF(ZYG1<0,ZYG2,0),LINESTICK COLORGREEN ;
抄底:=ZYG20,COLORRED,LINETHICK2;
预警系统:= (IF((ZYG7>=200 AND ZYG6>=150) OR CROSS(65,多方),15,IF(ZYG7<=-200
AND ZYG6<=-150,-15,ZYG9))+65);
STICKLINE(ZYG3<=REF(ZYG4,1),ZYG3,ZYG4,8,0),COLORWHITE;
STICKLINE(ZYG3>REF(ZYG4,1),ZYG3,ZYG4,8,0),COLORRED;
STICKLINE(ZYG3>REF(ZYG4,1) AND 多方,0,6,2,0),COLORYELLOW ;
共振:=BARSLASTCOUNT(ZYG3>REF(ZYG4,1) AND 多方)=1;
DRAWICON(共振,ZYG3>REF(ZYG4,1)*0.98,9);
T1:=C>MA(C,20) AND MA(C,20)>=REF(MA(C,20),1);
T2:=C; T3:=多方>60 AND 预警系统>65 AND 顶线=100;
T4:=多方>48 AND 预警系统>65 AND 顶线<100;
T5:=空方<-38 AND 预警系统<65;
T6:=抄底>50 AND 顶线<90;
T7:=ZYG3>REF(ZYG4,1) AND V>REF(V,1) AND C>REF(C,1);
T8:=ZYG3<=REF(ZYG4,1) AND C AND 空方>=REF(空方,1) AND VC; DRAWTEXT(T1 AND COUNT(T1,30)=1,10,'上升通道!'),COLOR00FFFF;
DRAWTEXT(T2 AND COUNT(T2,30)=1,55,'下降通道!'),COLOR00FFFF;
DRAWTEXT(T4 AND COUNT(T4,30)=1,多方,'庄家出货!'),COLORBLUE;
DRAWICON(T4 AND COUNT(T4,30)=1,多方,6);
DRAWTEXT(T5 AND COUNT(T5,30)=1,50,'有小反弹!'),COLOR00FFFF;
DRAWTEXT(T6 AND COUNT(T6,30)=1,30,'抢反弹!'),COLOR00FFFF;
DRAWTEXT(T7 AND COUNT(T7,30)=1,-10,'资金进场!'),COLORRED;
PS:
新增2个微信公众号,用来补充分享指标公式源码和机会提示,有需要的可以关注下!
使用说明:
无
点击下方短线指标公式公众号名片,关注星标后,每天免费获取更多精彩指标公式!
温馨提示
我每天分享指标,不求打赏,请大家看完文章后保持互动
帮忙点击底部【在看+赞】
保持互动,系统才会及时向你推送文章,不错过精品指标。