同花顺三级买卖副图指标 源码介绍
同花顺三级买卖副图指标 源码
紫黄柱一级买点,黄柱二级买点,向上箭头三级买点,青色柱卖点。
HLP:WINNER(CLOSE)*100;
HLPH:=HHV(HLP,15),colorblue,LINETHICK1;
HLPL:LLV(HLP,15),coloryellow,LINETHICK1;
HLPM:LLV(HLP,60),colorlired,LINETHICK3;
HLPD:LLV(HLP,6),colorlicyan,LINETHICK1;
STICKLINE(REF(HLP,1)=REF(HLPL,1) AND HLP>HLPL AND HLPL<10 AND ABS(HLPL-HLPM)<1,0,20,20,0),colormagenta;
STICKLINE(REF(HLP,1)=REF(HLPL,1) AND HLP>HLPL AND HLPL<=40 AND ABS(HLPL-HLPM)<1,0,20,10,0),coloryellow;
STICKLINE(REF(HLP,1)=REF(HLPH,1) AND HLP<HLPH AND HLPH>80,80,100,10,0),colorcyan;
GG:IF(ABS(HLPL-HLPD)<1,HLPD,DRAWNULL),colorlimagenta,LINETHICK2;
DD:IF(ABS(HLPL-HLPM)<1,HLPM,DRAWNULL),colorred,LINETHICK3;
DRAWICON(ABS(HLPL-HLPD)<1 AND REF(HLP,1)=REF(HLPD,1) AND HLP>HLPD AND GG<60,HLPD-0.02,1);
gd46636