同花顺单阳不破和牛熊争锋公式
-
相关简介:同花顺单阳不破和牛熊争锋公式 阳涨幅:=4; 阳倍量:=2; 单阳:=CO*(1+阳涨幅/100) AND VOLREF(VOL,1)*阳倍量; DRAWTEXT(单阳,L*0.98,'阳'),COLOR00FFFF; 高不破价:=REF(C,BARSLAST(单阳)); 中不破价:=REF((C+L)/2,BARSLAST(单阳)); 低不破价:=REF(L,BARSLAST(单阳)); 单阳不破:=BARSLAST(单阳)11 AND (LLV(L,BARSLAST(单阳))低不破价 OR
-
文章来源:股海网作者:股海网发布时间:2015-02-12浏览次数:
同花顺单阳不破和牛熊争锋公式
阳涨幅:=4;
阳倍量:=2;
单阳:=C>O*(1+阳涨幅/100) AND VOL>REF(VOL,1)*阳倍量;
DRAWTEXT(单阳,L*0.98,'阳'),COLOR00FFFF;
高不破价:=REF(C,BARSLAST(单阳));
中不破价:=REF((C+L)/2,BARSLAST(单阳));
低不破价:=REF(L,BARSLAST(单阳));
单阳不破:=BARSLAST(单阳)<11 AND (LLV(L,BARSLAST(单阳))>低不破价 OR LLV(L,BARSLAST(单阳))=低不破价);
STICKLINE(单阳不破,低不破价-低不破价*0.003,低不破价,11,0),colorred;
DRAWTEXT(BARSLAST(单阳)=1 AND 单阳不破,低不破价*0.98,'1'),colorgreen;
DRAWTEXT(BARSLAST(单阳)=2 AND 单阳不破,低不破价*0.98,'2'),colorgreen;
DRAWTEXT(BARSLAST(单阳)=3 AND 单阳不破,低不破价*0.98,'3'),colorgreen;
DRAWTEXT(BARSLAST(单阳)=4 AND 单阳不破,低不破价*0.98,'4'),colorgreen;
DRAWTEXT(BARSLAST(单阳)=5 AND 单阳不破,低不破价*0.98,'5'),colorgreen;
DRAWTEXT(BARSLAST(单阳)=6 AND 单阳不破,低不破价*0.98,'6'),colorgreen;
DRAWTEXT(BARSLAST(单阳)=7 AND 单阳不破,低不破价*0.98,'7'),colorgreen;
DRAWTEXT(BARSLAST(单阳)=8 AND 单阳不破,低不破价*0.98,'8'),colorgreen;
DRAWTEXT(BARSLAST(单阳)=9 AND 单阳不破,低不破价*0.98,'9'),colorgreen;
DRAWTEXT(BARSLAST(单阳)=10 AND 单阳不破,低不破价*0.98,'10'),colorgreen;
两天:=LLV(L,BARSLAST(单阳))>低不破价 OR LLV(L,BARSLAST(单阳))=低不破价;
一般:=LLV(L,BARSLAST(单阳)-2)>低不破价 OR LLV(L,BARSLAST(单阳)-2)=低不破价;
一般选股:STICKLINE(BARSLAST(单阳)<9 AND 两天 AND 一般,低不破价,低不破价,4,0),COLOR88FF00;
较强:=LLV(L,BARSLAST(单阳)-2)>中不破价 OR LLV(L,BARSLAST(单阳)-2)=中不破价;
较强选股:STICKLINE(BARSLAST(单阳)<9 AND 两天 AND 较强,中不破价,中不破价,4,0),COLOR0088FF;
最强:=LLV(L,BARSLAST(单阳)-3)>高不破价 OR LLV(L,BARSLAST(单阳)-2)=高不破价;
最强选股:STICKLINE(BARSLAST(单阳)<9 AND 两天 AND 最强,高不破价,高不破价,4,0),COLOR00FFFF;
攻击线:EMA(C,7),colorwhite;黄金线:(EMA(C,18)),LINETHICK4,coloryellow;生命线:(MA(C,28)),colormagenta;决策线:(EMA(C,56)),colorcyan;牛熊线:(MA(C,120)),COLOR0099FF;A3:=EMA((((SLOPE(C,21)) * 20) + C),68);A4:=EMA(C,10);A5:=REF(C,2);A6:=((SMA((MAX((C - A5),0)),6,1)) / (SMA(ABS((C - A5)),6,1))) * 100;A7:=IF(((A6 < (REF(A6,1))) AND (A6 > 79)),A6,0);A8:=LLV(L,21);A9:=HHV(H,21);A10:=EMA((((CLOSE - A8) / (A9 - A8)) * 100),5);A11:=EMA((((CLOSE - A8) / (A9 - A8)) * 50),13);A12:=EMA(((0.667 * (REF(A10,1))) + (0.333 * A10)),2);A13:=LLV(L,55);A14:=HHV(H,34);A15:=EMA((((C - A13) / (A14 - A13)) * 100),3);A16:=(A11 + A15) / 2;A17:=EMA(((0.667 * (REF(A15,1))) + (0.333 * A10)),2);A18:=EMA(A16,5);A19:=EMA(((0.667 * (REF(A18,1))) + (0.333 * A18)),2);A20:=CROSS(A10,A11);A21:=(CROSS(A10,A19)) AND (A19 < 30);A22:=A21 * 0.6;A23:=((C + L) + H) / 3;A24:=EMA(A23,6);A25:=EMA(A24,5);A26:=CROSS(A24,A25);DRAWICON(A26,(LOW / 1.030),1),LINETHICK2,colormagenta;DRAWTEXT(CROSS(A4,A3),L*0.88,'牛'),LINETHICK4,coloryellow;STICKLINE(((C >= 黄金线) AND (C >= O)),H,L,0,1),colorred;STICKLINE(((C >= 黄金线) AND (C >= O)),O,C,2,1),colorred;STICKLINE(((C >= 黄金线) AND (C <= O)),H,L,0,0),colorred;STICKLINE(((C >= 黄金线) AND (C <= O)),O,C,2,0),colorred;STICKLINE(((C < 黄金线) AND (C >= O)),H,L,0,1),colorgreen;STICKLINE(((C < 黄金线) AND (C >= O)),O,C,2,1),colorgreen;STICKLINE(((C < 黄金线) AND (C <= O)),H,L,0,0),colorgreen;STICKLINE(((C < 黄金线) AND (C <= O)),O,C,2,0),colorgreen;