同花顺多空生命线副图指标
-
相关简介:同花顺多空生命线副图指标 源码 Var1:=(HIGH+LOW+OPEN+CLOSE)/4; 生命线: MA(3*Var1-2*SMA(Var1,2,1),12),Linethick2,colorred; Var2:=IF(Var1生命线,Var1,生命线); Var3:=2*EMA(LLV(Var1,7),10)-Var1; 多空线: 3*Var3-2*SMA(Var3,10,1),colorgreen; B:EMA(C,2),color000000; S:EMA(SLOPE(C,21)*20
-
文章来源:股海网作者:股海网发布时间:2016-06-03浏览次数:
同花顺多空生命线副图指标
源码
Var1:=(HIGH+LOW+OPEN+CLOSE)/4;
生命线: MA(3*Var1-2*SMA(Var1,2,1),12),Linethick2,colorred;
Var2:=IF(Var1<生命线,Var1,生命线);
Var3:=2*EMA(LLV(Var1,7),10)-Var1;
多空线: 3*Var3-2*SMA(Var3,10,1),colorgreen;
B:EMA(C,2),color000000;
S:EMA(SLOPE(C,21)*20+C,42),POINTDOT,color000000;
买进:=CROSS(B,S);
卖出:=CROSS(S,B);
STICKLINE(B>=S,LOW,HIGH,0.1,0),colorred;
STICKLINE(B>=S,CLOSE,OPEN,4.5,0),color0000AA;
STICKLINE(B>=S,CLOSE,OPEN,3,0),color0000CC;
STICKLINE(B>=S,CLOSE,OPEN,2,0),color0000DD;
STICKLINE(B>=S,CLOSE,OPEN,1,0),color0000FF;
STICKLINE(B<S,CLOSE,OPEN,1,0),colorEEEE00;
STICKLINE(B<S,CLOSE,OPEN,2,0),colorDDDD00;
STICKLINE(B<S,CLOSE,OPEN,3,0),colorCCCC00;
STICKLINE(B<S,CLOSE,OPEN,4.5,0),colorAAAA00;
STICKLINE(B<S,LOW,HIGH,0.1,0),colorFFff00;
STICKLINE(CROSS(B,S) OR CROSS(S,B),OPEN,CLOSE,3.5,0),coloryellow;