通达信 大阳主图显示板块所属和F10财务
DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK);
DRAWTEXT_FIX(ISLASTBAR,1,0,0,DYBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.5,2,0,GNBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0,0,3,FGBLOCK);
PE:=DYNAINFO(39),NODRAW;
EPSRATE:=FINANCE(43);
PEG:=DYNAINFO(39)/FINANCE(43),NODRAW;
DRAWTEXT_FIX(ISLASTBAR,0.07,0,0,'营业收入'),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.07,0.06,0,CON2STR(FINANCE(20)/100000000,2)),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.14,0,0,'主营毛利率'),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.14,0.06,0,CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2)),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.233,0,0,'收入同比增长'),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR,0.233,0.06,0,CON2STR(FINANCE(44),2)),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR,0.34,0,0,'市销率'),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.34,0.06,0,CON2STR(C*FINANCE(1)/FINANCE(20),2)),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.4,0,0,'净利润增长率'),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.4,0.06,0,CON2STR(FINANCE(43),2)),COLORRED;
短线5:=MA(C,5),COLORCYAN;
主力操作线:(EMA(C,14)) ,LINETHICK1,COLORLIGRAY;
M14:=主力操作线;
生命线:=(MA(C,25)) ,LINETHICK1,COLORYELLOW;
不惑线43:=(MA(C,30)) ,COLORCYAN;
长线持仓线:=(EMA(C,204)) ,LINETHICK1,COLORRED;
主力成本线:(EMA(C,55)) ,COLORRED;
BOLL:=MA(CLOSE,14);
压力:BOLL+2*STD(CLOSE,14),DOTLINE,COLORBLUE;
支撑:BOLL-2*STD(CLOSE,14),DOTLINE,COLORBLUE;
IF(M14>REF(M14,1) ,M14,DRAWNULL)COLORMAGENTA,LINETHICK1;
IF(M14< REF(M14,1) ,M14,DRAWNULL),COLORGREEN,LINETHICK1;
STICKLINE(C/REF(C,1)< 1.105 AND C/REF(C,1)>1.095 AND C=H,C,O,2,0),COLORLIMAGENTA;
STICKLINE(C/REF(C,1)>1.105 AND O< C ,C,O,2,0),COLORMAGENTA;
STICKLINE(C/REF(C,1)>1.095 AND L=H AND C=H,C,O*0.97,2,0),COLORLIRED;
STICKLINE(C/REF(C,1)>1.19 AND C=H,C,O,2,0),COLORRED;
STICKLINE(C/REF(C,1)>0.895 AND C/REF(C,1)< 0.905 AND C=L,C,O,2,0),COLORBLUE;
STICKLINE(C/REF(C,1)< 0.895,C,O,2,0),COLORLIBLUE;
STICKLINE(C/REF(C,1)< 0.905 AND L=H AND C=H,C,O*0.97,2,0),COLORCYAN;
ZT:=REF(C,1)/REF(C,2)>1.045 AND REF(L,1)=REF(H,1) AND REF(C,1)=REF(H,1);
ZT1:=C/REF(C,1)>1.045 AND L=H AND C=H;
DRAWICON(DYNAINFO(8)>0 AND V< REF(LLV(V,21),1 AND NOT(C=H AND C=L)) AND NOT(ZT1),LOW*0.97,16);
DRAWICON ((C=HHV(C,10) AND H=HHV(H,10) AND C>O*1.01 AND H< C*1.04 AND V>=HHV(V,10) AND V>(REF(V,1)*1.8)),L*0.95,1);
QS1:=3*SMA((CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100,5,1),3,1);
压力1:=BOLL+2*STD(CLOSE,14);
支撑1:=BOLL-2*STD(CLOSE,14);
BILI:=压力1/支撑1;
DRAWICON ((QS1>90 AND BARSCOUNT(CLOSE)>30 AND REF(QS1,2)< REF(QS1,1) AND QS1< REF(QS1,1) ),H*1.05,12);
DRAWICON ((QS1< 10 AND BARSCOUNT(CLOSE)>30 AND REF(QS1,2)>REF(QS1,1) AND QS1>REF(QS1,1) AND C>REF(C,1) AND C>O ),L*0.95,11);
未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
该公式包含未来函数:FINANCE
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
当满足条件ISLASTBAR时,在横轴0纵轴0位置书写文字
当满足条件ISLASTBAR时,在横轴1纵轴0位置书写文字
当满足条件ISLASTBAR时,在横轴0.5纵轴2位置书写文字
当满足条件ISLASTBAR时,在横轴0纵轴0位置书写文字
PE赋值:DYNAINFO(39),NODRAW
EPSRATE赋值:FINANCE(43)
PEG:=DYNAINFO(39)/FINANCE(43),NODRAW
当满足条件ISLASTBAR时,在横轴0.07纵轴0位置书写文字
DRAWTEXT_FIX(ISLASTBAR,0.07,0.06,0,CON2STR(FINANCE(20)/100000000,2)),画红色
当满足条件ISLASTBAR时,在横轴0.14纵轴0位置书写文字
DRAWTEXT_FIX(ISLASTBAR,0.14,0.06,0,CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2)),画洋红色
当满足条件ISLASTBAR时,在横轴0.233纵轴0位置书写文字
DRAWTEXT_FIX(ISLASTBAR,0.233,0.06,0,CON2STR(FINANCE(44),2)),画青色
当满足条件ISLASTBAR时,在横轴0.34纵轴0位置书写文字
DRAWTEXT_FIX(ISLASTBAR,0.34,0.06,0,CON2STR(C*FINANCE(1)/FINANCE(20),2)),画绿色
当满足条件ISLASTBAR时,在横轴0.4纵轴0位置书写文字
DRAWTEXT_FIX(ISLASTBAR,0.4,0.06,0,CON2STR(FINANCE(43),2)),画红色
短线5赋值:C的5日简单移动平均,画青色
输出主力操作线:(C的14日指数移动平均) ,LINETHICK1,COLORLIGRAY
M14赋值:主力操作线
生命线赋值:(C的25日简单移动平均) ,LINETHICK1,画黄色
不惑线43赋值:(C的30日简单移动平均) ,画青色
长线持仓线赋值:(C的204日指数移动平均) ,LINETHICK1,画红色
输出主力成本线:(C的55日指数移动平均) ,画红色
BOLL赋值:收盘价的14日简单移动平均
输出压力:BOLL+2*收盘价的14估算标准差,DOTLINE, 画蓝色
输出支撑:BOLL-2*收盘价的14估算标准差,DOTLINE, 画蓝色
IF(M14>1日前的M14 ,M14,DRAWNULL)画洋红色,LINETHICK1
IF(M14< 1日前的M14 ,M14,DRAWNULL),画绿色,LINETHICK1
STICKLINE(C/1日前的C< 1.105 AND C/1日前的C>1.095 AND C=H,C,O,2,0),COLORLIMAGENTA
STICKLINE(C/1日前的C>1.105 AND O< C ,C,O,2,0),画洋红色
STICKLINE(C/1日前的C>1.095 AND L=H AND C=H,C,O*0.97,2,0),COLORLIRED
STICKLINE(C/1日前的C>1.19 AND C=H,C,O,2,0),画红色
STICKLINE(C/1日前的C>0.895 AND C/1日前的C< 0.905 AND C=L,C,O,2,0), 画蓝色
STICKLINE(C/1日前的C< 0.895,C,O,2,0),COLORLIBLUE
STICKLINE(C/1日前的C< 0.905 AND L=H AND C=H,C,O*0.97,2,0),画青色
ZT赋值:1日前的C/2日前的C>1.045 AND 1日前的L=1日前的H AND 1日前的C=1日前的H
ZT1:=C/1日前的C>1.045 AND L=H AND C=H
DRAWICON(DYNAINFO(8)>0 AND V< REF(21日内V最低值,1 AND NOT(C=H AND C=L)) AND NOT(ZT1),最低价*0.97,16)
DRAWICON ((C=10日内C最高值 AND H=10日内H最高值 AND C>O*1.01 AND H< C*1.04 AND V>=10日内V最高值 AND V>(1日前的V*1.8)),L*0.95,1)
QS1赋值:3*SMA((收盘价-14日内最低价最低值)/(14日内最高价最高值-14日内最低价最低值)*100,5,1)-2*SMA(SMA((收盘价-14日内最低价最低值)/(14日内最高价最高值-14日内最低价最低值)*100,5,1),3,1)
压力1:=BOLL+2*收盘价的14估算标准差
支撑1:=BOLL-2*收盘价的14估算标准差
BILI赋值:压力1/支撑1
DRAWICON ((QS1>90 AND 收盘价的有效数据周期数>30 AND 2日前的QS1< 1日前的QS1 AND QS1< 1日前的QS1 ),H*1.05,12)
DRAWICON ((QS1< 10 AND 收盘价的有效数据周期数>30 AND 2日前的QS1>1日前的QS1 AND QS1>1日前的QS1 AND C>1日前的C AND C>O ),L*0.95,11)