联系方式 Contact

云指标公式网

淘宝:iyungs.taobao.com

电话:18020657357

微信:396950280

Q Q:332879389

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

多空通道完美

2016-9-11 15:04:19点击:

多空通道,长期通道,短期通道。四成仓,六成仓。


 

 短上轨:EMA(H,26),colorred;

短下轨:EMA(L,26),colorgreen;
NOTEXT短上轨1:IF(C>短上轨,短上轨,DRAWNULL),colorred;
NOTEXT短下轨1:IF(C<短下轨,短下轨,DRAWNULL),colorgreen;
NOTEXT短上轨2:IF(C>短下轨,短下轨,DRAWNULL),colorred;
NOTEXT短下轨2:IF(C<短上轨,短上轨,DRAWNULL),colorgreen;
STICKLINE(C>短上轨,短上轨,短下轨,1,1),colorred;
STICKLINE(C<短下轨,短上轨,短下轨,1,1),colorgreen;
长上轨:EMA(H,89),colormagenta;
长下轨:EMA(L,89),colorblue;
NOTEXT长上轨1:IF(C>长上轨,长上轨,DRAWNULL),colormagenta;
NOTEXT长下轨1:IF(C<长下轨,长下轨,DRAWNULL),colorblue;
NOTEXT长上轨2:IF(C<长上轨,长上轨,DRAWNULL),colorblue;
NOTEXT长下轨2:IF(C>长下轨,长下轨,DRAWNULL),colormagenta;
STICKLINE(C>长上轨,长上轨,长下轨,1,1),colormagenta;
STICKLINE(C<长下轨,长上轨,长下轨,1,1),colorblue;
DRAWTEXT((REF(C,3)<REF(短下轨,3) OR REF(C,3)<REF(短上轨,3)) AND (REF(C,2)<REF(短下轨,2) OR REF(C,2)<REF(短上轨,2)) AND (REF(C,1)<REF(短下轨,1) OR REF(C,1)<REF(短上轨,1)) AND C>短上轨 AND 短上轨<长下轨 AND COUNT(C<短下轨,6)>0,L*0.96,'四'),colormagenta;
DRAWTEXT((REF(C,3)<REF(短下轨,3) OR REF(C,3)<REF(短上轨,3)) AND (REF(C,2)<REF(短下轨,2) OR REF(C,2)<REF(短上轨,2)) AND (REF(C,1)<REF(短下轨,1) OR REF(C,1)<REF(短上轨,1)) AND C>短上轨 AND C>长上轨 AND COUNT(C<短下轨,6)>0,H*1.04,'十'),colormagenta;
DRAWTEXT((REF(C,3)<REF(长下轨,3) OR REF(C,3)<REF(长上轨,3)) AND (REF(C,2)<REF(长下轨,2) OR REF(C,2)<REF(长上轨,2)) AND (REF(C,1)<REF(长下轨,1) OR REF(C,1)<REF(长上轨,1)) AND C>长上轨 AND C>短上轨 AND COUNT(C<长下轨,6)>0,L*0.98,'十'),colormagenta;
DRAWTEXT((REF(C,3)>REF(短上轨,3) OR REF(C,3)>REF(短下轨,3)) AND (REF(C,2)>REF(短上轨,2) OR REF(C,2)>REF(短下轨,2)) AND (REF(C,1)>REF(短上轨,1) OR REF(C,1)>REF(短下轨,1)) AND C<短下轨 AND 短上轨>长上轨 AND C>长下轨 AND COUNT(C>短上轨,6)>0,H*1.04,'六'),colormagenta;
DRAWTEXT((REF(C,3)>REF(短上轨,3) OR REF(C,3)>REF(短下轨,3)) AND (REF(C,2)>REF(短上轨,2) OR REF(C,2)>REF(短下轨,2)) AND (REF(C,1)>REF(短上轨,1) OR REF(C,1)>REF(短下轨,1)) AND C<短下轨 AND 短下轨<长下轨 AND COUNT(C>短上轨,6)>0,H*1.04,'零'),colormagenta;
DRAWTEXT((REF(C,3)>REF(长上轨,3) OR REF(C,3)>REF(长下轨,3)) AND (REF(C,2)>REF(长上轨,2) OR REF(C,2)>REF(长下轨,2)) AND (REF(C,1)>REF(长上轨,1) OR REF(C,1)>REF(长下轨,1)) AND C<长下轨 AND C<短下轨 AND COUNT(C>长上轨,6)>0,H*1.04,'零'),colormagenta;
四成仓:(REF(C,3)<REF(短下轨,3) OR REF(C,3)<REF(短上轨,3)) AND (REF(C,2)<REF(短下轨,2) OR REF(C,2)<REF(短上轨,2)) AND (REF(C,1)<REF(短下轨,1) OR REF(C,1)<REF(短上轨,1)) AND C>短上轨 AND 短上轨<长下轨 AND COUNT(C<短下轨,6)>0,NoDraw;
十成仓:((REF(C,3)<REF(短下轨,3) OR REF(C,3)<REF(短上轨,3)) AND (REF(C,2)<REF(短下轨,2) OR REF(C,2)<REF(短上轨,2)) AND (REF(C,1)<REF(短下轨,1) OR REF(C,1)<REF(短上轨,1)) AND C>短上轨 AND C>长上轨 AND COUNT(C<短下轨,6)>0) OR ((REF(C,3)<REF(长下轨,3) OR REF(C,3)<REF(长上轨,3)) AND (REF(C,2)<REF(长下轨,2) OR REF(C,2)<REF(长上轨,2)) AND (REF(C,1)<REF(长下轨,1) OR REF(C,1)<REF(长上轨,1)) AND C>长上轨 AND C>短上轨 AND COUNT(C<长下轨,6)>0),NoDraw;
六成仓:(REF(C,3)>REF(短上轨,3) OR REF(C,3)>REF(短下轨,3)) AND (REF(C,2)>REF(短上轨,2) OR REF(C,2)>REF(短下轨,2)) AND (REF(C,1)>REF(短上轨,1) OR REF(C,1)>REF(短下轨,1)) AND C<短下轨 AND 短上轨>长上轨 AND C>长下轨 AND COUNT(C>短上轨,6)>0,NoDraw;