飞狐草原黑马指标公式

2019-08-29    作者:    来源:

input:n(26,1,100),n1(4,1,100),n2(2,1,100);
Var1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,50))*100;
a: SMA(Var1,7,1),linethick2;
Var2:=SMA(a,5,1);
b: IF(CROSS(a,Var2) AND cross(ma(c,n1),ma(c,n2) and a>50) ,Var2*2,Var2),coloryellow;
VAR4:= EMA(CLOSE,10);
VAR5:= EMA(CLOSE,20);
草原黑马:if(CROSS(MA(CLOSE,1),MA(CLOSE,n)) and a-b>5 and var4>var5 ,Var2*2,var2),colorred;
//持币:(CROSS(MA(CLOSE,0),MA(CLOSE,n)) and a-b>2 and var4>var5 ),COLORGREEN;
持币:(a<b)*20,colorgreen;
持股: (a>b)*20,COLORRED;
//DRAWTEXT(CROSS(20,持股),low,' 持股 '),COLORYELLOW;
STICKLINE(a>Var2,a,b,30,60),colorred;
STICKLINE(a<Var2,a,Var2,30,60),colorgreen ;

阅读:156    评论:0

联系我们 - 关于我们 - 网站地图

声明:站内所有文章、公式均来自互联网或网友分享提供,如侵犯您的权利请告知,我们会在24小时内及时删除! 


【电脑版】  【回到顶部】