一个警示线指标

[复制链接]
查看50 | 回复0 | 2022-7-24 06:56:07 | 显示全部楼层 |阅读模式

 

STICKLINE(C>0,90,91,5,0),COLOR408000;
 STICKLINE(C>0,10,9,5,0),COLOR408000;
风险值:EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLORcyan,LINETHICK1;
 FILLRGN(风险值,90,风险值>90,RGB(255,000,139));
 FILLRGN(风险值,10,风险值<10,RGB(255,255,71));
 STICKLINE(风险值>90,100,98,2,1),COLORGREEN;
 STICKLINE(风险值>95,100,98,2,0),COLORGREEN;
 STICKLINE(风险值<10,0,2,2,1),COLORRED;
 STICKLINE(风险值<5,0,2,2,0),COLORRED;
 PARTLINE(风险值,风险值>=REF(风险值,1)),COLORRED,LINETHICK1;
持股线:MA(风险值,10),LINETHICK1,COLORGREEN;
 PARTLINE(持股线,持股线>=REF(持股线,1)),COLORRED,LINETHICK1;
超高位区:=风险值>=95;
高位区:=风险值<95 AND 风险值>90;
低位区:=风险值<10 AND 风险值>5;
超低位区:=风险值<=5;
底背离:=IF(C<REF(C,1) AND 风险值>REF(风险值,1) AND 风险值<15,1,0);
 STICKLINE(底背离,0,-4,2,0),COLORMAGENTA;
顶背离:=IF(C>REF(C,1) AND 风险值<REF(风险值,1) AND 风险值>85,1,0);
 STICKLINE(顶背离,100,104,2,0),COLORBLUE;
 A:=风险值/REF(风险值,1)-1;
 B:=风险值/REF(风险值,2)-1;
高位变盘:=A>=-0.035 AND A<=0.035 AND 风险值>50 {AND 风险值<70};
 STICKLINE(高位变盘,50,52,2,0),COLORRED;
低位变盘:=A>=-0.035 AND A<=0.035 AND 风险值<50{AND 风险值>30};
 STICKLINE(低位变盘,50,48,2,0),COLORGREEN;
危险:=高位变盘 AND C<REF(C,1);
风险线:80,COLORRED;
中位线:50,COLORWHITE;
安全线:20,COLORGREEN;
 P:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),3);
振幅:(H-L)/L*100,LINETHICK0;
 DRAWTEXT(120,110,'波段指标:单头谨慎多头走,不见红色不出手。持股线向下,上穿也不买,到了底部上穿可大胆买'),COLORFF00FF;
 

78522641.png

78522641.png

 

回复

使用道具 举报

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

本版积分规则