单阳不破主图通达信公式 主图 源码附图
阳涨幅:=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;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
阳涨幅赋值:3.5
阳倍量赋值:1.9
单阳收赋值:C
单阳开赋值:O
单阳赋值:单阳收>=1日前的C*(1+阳涨幅/100)AND 成交量>1日前的成交量*阳倍量
当满足条件 到最后交易的周期<100 AND 单阳时,在L*0.98和'阳'位置书写文字
高不破价赋值:REF(C,上次单阳距今天数)
低不破价赋值:REF(L,上次单阳距今天数)
单阳不破:= 到最后交易的周期<100 AND 上次单阳距今天数<11 AND (LLV(L,上次单阳距今天数)>低不破价 OR LLV(L,上次单阳距今天数)=低不破价)
当满足条件C<=O时,在C和O之间画柱状线
当满足条件C<=O时,在H和L之间画柱状线
当满足条件C>=O时,在C和O之间画柱状线
当满足条件C>=O时,在H和L之间画柱状线
当满足条件单阳不破时,在低不破价-低不破价*0.0005和低不破价之间画柱状线
当满足条件单阳不破时,在高不破价和高不破价之间画柱状线
当满足条件单阳时,在单阳开和单阳收之间画柱状线
DRAWTEXT(上次单阳距今天数=1 AND 单阳不破,低不破价*0.98,'1'),画绿色
DRAWTEXT(上次单阳距今天数=2 AND 单阳不破,低不破价*0.98,'2'),画绿色
DRAWTEXT(上次单阳距今天数=3 AND 单阳不破,低不破价*0.98,'3'),画绿色
DRAWTEXT(上次单阳距今天数=4 AND 单阳不破,低不破价*0.98,'4'),画绿色
DRAWTEXT(上次单阳距今天数=5 AND 单阳不破,低不破价*0.98,'5'),画绿色
DRAWTEXT(上次单阳距今天数=6 AND 单阳不破,低不破价*0.98,'6'),画绿色
DRAWTEXT(上次单阳距今天数=7 AND 单阳不破,低不破价*0.98,'7'),画绿色
DRAWTEXT(上次单阳距今天数=8 AND 单阳不破,低不破价*0.98,'8'),画绿色
DRAWTEXT(上次单阳距今天数=9 AND 单阳不破,低不破价*0.98,'9'),画绿色
DRAWTEXT(上次单阳距今天数=10 AND 单阳不破,低不破价*0.98,'10'),画绿色
DRAWTEXT(上次单阳距今天数=11 AND 单阳不破,低不破价*0.98,'11'),画绿色
DRAWTEXT(上次单阳距今天数=12 AND 单阳不破,低不破价*0.98,'12'),画绿色
DRAWTEXT(上次单阳距今天数=13 AND 单阳不破,低不破价*0.98,'13'),画绿色
DRAWTEXT(上次单阳距今天数=14 AND 单阳不破,低不破价*0.98,'14'),画绿色
DRAWTEXT(上次单阳距今天数=15 AND 单阳不破,低不破价*0.98,'15'),画绿色
DRAWTEXT(上次单阳距今天数=16 AND 单阳不破,低不破价*0.98,'16'),画绿色
DRAWTEXT(上次单阳距今天数=17 AND 单阳不破,低不破价*0.98,'17'),画绿色
DRAWTEXT(上次单阳距今天数=18 AND 单阳不破,低不破价*0.98,'18'),画绿色
DRAWTEXT(上次单阳距今天数=19 AND 单阳不破,低不破价*0.98,'19'),画绿色
DRAWTEXT(上次单阳距今天数=20 AND 单阳不破,低不破价*0.98,'20'),画绿色
DRAWTEXT(上次单阳距今天数=21 AND 单阳不破,低不破价*0.98,'21'),画绿色
DRAWTEXT(上次单阳距今天数=22 AND 单阳不破,低不破价*0.98,'22'),画绿色
DRAWTEXT(上次单阳距今天数=23 AND 单阳不破,低不破价*0.98,'23'),画绿色
DRAWTEXT(上次单阳距今天数=24 AND 单阳不破,低不破价*0.98,'24'),画绿色
DRAWTEXT(上次单阳距今天数=25 AND 单阳不破,低不破价*0.98,'25'),画绿色
DRAWTEXT(上次单阳距今天数=26 AND 单阳不破,低不破价*0.98,'26'),画绿色
DRAWTEXT(上次单阳距今天数=27 AND 单阳不破,低不破价*0.98,'27'),画绿色
DRAWTEXT(上次单阳距今天数=28 AND 单阳不破,低不破价*0.98,'28'),画绿色
DRAWTEXT(上次单阳距今天数=29 AND 单阳不破,低不破价*0.98,'29'),画绿色
DRAWTEXT(上次单阳距今天数=30 AND 单阳不破,低不破价*0.98,'30'),画绿色