「翔博精选指标」单阳不破主图(通达信公式 主图 源码 测试图)
2022-05-25原创 编 辑:翔博软件
{单阳不破主图}
阳涨幅:=3.5;
阳倍量:=1.9;
单阳收:=C;
单阳开:=O;
单阳:=单阳收>=REF(C,1)*(1+阳涨幅/100)AND VOL>REF(VOL,1)*阳倍量;
DRAWTEXT(CURRBARSCOUNT<100 AND 单阳,L*0.98,'阳'),COLOR00FFFF;
高不破价:=REF(C,BARSLAST(单阳));
低不破价:=REF(L,BARSLAST(单阳));
单阳不破:=CURRBARSCOUNT<100 AND BARSLAST(单阳)<11 AND (LLV(L,BARSLAST(单阳))>低不破价 OR LLV(L,BARSLAST(单阳))=低不破价);
STICKLINE(C<=O,C,O,3,0),COLORBLUE;
STICKLINE(C<=O,H,L,0.1,0),COLORBLUE;
STICKLINE(C>=O,C,O,3,0),COLORMAGENTA;
STICKLINE(C>=O,H,L,0.1,0),COLORMAGENTA;
STICKLINE(单阳不破,低不破价-低不破价*0.0005,低不破价,4,0),COLORGREEN;
STICKLINE(单阳不破,高不破价,高不破价,4,0),COLORRED;
STICKLINE(单阳,单阳开,单阳收,3,0),COLORYELLOW;
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;
DRAWTEXT(BARSLAST(单阳)=11 AND 单阳不破,低不破价*0.98,'11'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=12 AND 单阳不破,低不破价*0.98,'12'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=13 AND 单阳不破,低不破价*0.98,'13'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=14 AND 单阳不破,低不破价*0.98,'14'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=15 AND 单阳不破,低不破价*0.98,'15'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=16 AND 单阳不破,低不破价*0.98,'16'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=17 AND 单阳不破,低不破价*0.98,'17'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=18 AND 单阳不破,低不破价*0.98,'18'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=19 AND 单阳不破,低不破价*0.98,'19'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=20 AND 单阳不破,低不破价*0.98,'20'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=21 AND 单阳不破,低不破价*0.98,'21'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=22 AND 单阳不破,低不破价*0.98,'22'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=23 AND 单阳不破,低不破价*0.98,'23'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=24 AND 单阳不破,低不破价*0.98,'24'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=25 AND 单阳不破,低不破价*0.98,'25'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=26 AND 单阳不破,低不破价*0.98,'26'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=27 AND 单阳不破,低不破价*0.98,'27'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=28 AND 单阳不破,低不破价*0.98,'28'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=29 AND 单阳不破,低不破价*0.98,'29'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=30 AND 单阳不破,低不破价*0.98,'30'),COLORGREEN;