顶与底判断-精品通达信指标公式源码分享
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
我:=3.5,COLOR0088FF;
清仓: 3.5,COLORYELLOW,LINETHICK3;
减仓: 3.2,COLORBLUE;
AGS:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);
强弱线:1.75,LINETHICK1,COLORGREEN;
关注:0.5,COLORBLUE ;
数值:AGS,COLORA8A8A8;
DRAWBAND(减仓,RGB(80,90,10),强弱线,RGB(80,90,10));
DRAWBAND(强弱线,RGB(200,90,10),关注,RGB(200,90,10));
STICKLINE(AGS>REF(AGS,1) ,AGS ,REF(AGS,1),0,1 ),COLOR0000FF;
STICKLINE(AGS>REF(AGS,1) ,AGS ,REF(AGS,1),3,0 ),COLOR000033;
STICKLINE(AGS>REF(AGS,1) ,AGS ,REF(AGS,1),2.7,0 ),COLOR000066;
STICKLINE(AGS>REF(AGS,1) ,AGS ,REF(AGS,1),2.1,0 ),COLOR000099;
STICKLINE(AGS>REF(AGS,1) ,AGS ,REF(AGS,1),1.5,0 ),COLOR0000CC;
STICKLINE(AGS>REF(AGS,1) ,AGS ,REF(AGS,1),0.9,0 ),COLOR0000FF;
STICKLINE(AGS>REF(AGS,1) ,AGS ,REF(AGS,1),0.3,0 )COLORCC66FF;
STICKLINE(AGS<=REF(AGS,1) ,AGS ,REF(AGS,1),0,1 ),COLORCYAN;
STICKLINE(AGS<=REF(AGS,1) ,AGS ,REF(AGS,1),3,0 ),COLOR990000;
STICKLINE(AGS<=REF(AGS,1) ,AGS ,REF(AGS,1),2.7,0 ),COLORCC0000;
STICKLINE(AGS<=REF(AGS,1) ,AGS ,REF(AGS,1),2.1,0 ),COLORFF4400;
STICKLINE(AGS<=REF(AGS,1) ,AGS ,REF(AGS,1),1.5,0 ),COLORFF8800;
STICKLINE(AGS<=REF(AGS,1) ,AGS ,REF(AGS,1),0.9,0 ),COLORFFCC00;
STICKLINE(AGS<=REF(AGS,1) ,AGS ,REF(AGS,1),0.3,0 ),COLORCYAN;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!