同花顺薛斯通道宝塔线副图指标
-
相关简介:同花顺薛斯通道宝塔线副图指标 源码 //薛斯通道+宝塔线 UPPERL: MA(HIGH,30)*1.15; UPPERS: MA(HIGH,3)*1.03; LOWERS: MA(LOW,3)*0.97; LOWERl: MA(LOW,30)*0.85; B1:=REF(C,1);B2:=REF(C,2); SS:=IF(CREF(C,1) AND REF(C,1)=REF(C,2),1,IF(C AND REF(C,1)=REF(C,2),-1,IF(CREF(C,2) AND REF(C
-
文章来源:股海网作者:股海网发布时间:2016-05-03浏览次数:
同花顺薛斯通道宝塔线副图指标
源码
//薛斯通道+宝塔线
UPPERL: MA(HIGH,30)*1.15;
UPPERS: MA(HIGH,3)*1.03;
LOWERS: MA(LOW,3)*0.97;
LOWERl: MA(LOW,30)*0.85;
B1:=REF(C,1);B2:=REF(C,2);
SS:=IF(C>REF(C,1) AND REF(C,1)>=REF(C,2),1,IF(C
AND REF(C,1)<=REF(C,2),-1,IF(C>REF(C,2)
AND REF(C,2)>REF(C,1),2,IF(C
SM:=IF(REF(SS,1)<>0,REF(SS,1),IF(REF(SS,2)<>0,REF(SS,2),
IF(REF(SS,3)<>0,REF(SS,3),IF(REF(SS,5)<>0,REF(SS,5),
IF(REF(SS,6)<>0,REF(SS,6),IF(REF(SS,7)<>0,REF(SS,7),0))))));
STICKLINE(SS=1 OR SM>=1 AND SS=0,B1,C,7,1),colorred;
STICKLINE(SS=-1 OR SM<=-1 AND SS=0,B1,C,7,0),colorgreen;
STICKLINE(SS=2,B2,C,7,1),colorred;
STICKLINE(SS=-2,B2,C,7,0),colorgreen;
STICKLINE((SS=-1 OR SS=-2) AND SM>0,B2,B1,7,1),colorred;
STICKLINE((SS=1 OR SS=2) AND SM<0,B2,B1,7,0),colorgreen;
上一篇:同花顺下买上出副图指标
下一篇:同花顺底部吸筹副图指标