操作结构副图 源码分享+F10基本面数据
K:=MA(C,5);
D:=MA(C,10);
乖离:=(K-D),COLORSTICK;
STICKLINE((乖离>=0),0,乖离,2.5,-1),COLOR0000FF;
STICKLINE(((乖离>=0) AND (乖离 < REF(乖离,1))),0,乖离,2,0),COLORFF00FF;
STICKLINE((乖离< 0),0,乖离,2.5,0),COLORBLUE;
STICKLINE(((乖离< 0) AND (乖离 > REF(乖离,1))),0,乖离,1.5,-1),COLORCYAN;
买点:=乖离>REF(乖离,1) AND C< O AND K>D AND K>REF(K,1) AND D>REF(D,1) AND C>D;
DRAWICON(买点,乖离/2,1);
底:=0,COLORBLUE,NODRAW;
JZCSYL:=FINANCE(33)/ FINANCE(34)*100;
ZCBS:=IF(JZCSYL>50,8,IF(50>JZCSYL>=14,2.2+(JZCSYL-14)*0.16, 2.2+(JZCSYL-14)* 0.15));
LTP:=CAPITAL;
LTPBS:=IF(LTP< 1000000,(1000000-LTP)/1000000,0);
ROE:FINANCE(33)/FINANCE(34)*100 ,COLORRED,NODRAW;
每股净资产:FINANCE(34),NODRAW;
市净率:CONST(DYNAINFO(7) / FINANCE(34))COLOREE3AB2,NODRAW;
每股未分配利润:=FINANCE(32),NODRAW;
主营收入占比:FINANCE(20)/(FINANCE(20)+FINANCE(22)+FINANCE(24)+FINANCE(25))*100,NODRAW;
每股经营现金流:FINANCE(25)/FINANCE(1),NODRAW;
现金流利润比:FINANCE(25)/FINANCE(29),NODRAW;
每股总现金流:FINANCE(26)/FINANCE(1),NODRAW;
股价现金流比:=FINANCE(1)*C/FINANCE(25),NODRAW;
年ROE:=FINANCE(33)/FINANCE(34),NODRAW;
DRAWTEXT_FIX(C>O,0.01,0.9,0,'微信公众号:水鸭的投资日记'),COLORRED;
年投资回报率:年ROE/市净率*100,COLOR0099FF,NODRAW;
回本年限:72/年投资回报率,NODRAW;
市盈率:DYNAINFO(39)COLORWHITE,NODRAW;
未来函数检测结果如下:
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO
该公式包含未来函数:FINANCE
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
K赋值:C的5日简单移动平均
D赋值:C的10日简单移动平均
乖离赋值:(K-D),COLORSTICK
STICKLINE((乖离>=0),0,乖离,2.5,-1),COLOR0000FF
STICKLINE(((乖离>=0) AND (乖离 < 1日前的乖离)),0,乖离,2,0),COLORFF00FF
STICKLINE((乖离< 0),0,乖离,2.5,0), 画蓝色
STICKLINE(((乖离< 0) AND (乖离 > 1日前的乖离)),0,乖离,1.5,-1),画青色
买点赋值:乖离>1日前的乖离 AND C< O AND K>D AND K>1日前的K AND D>1日前的D AND C>D
当满足条件买点时,在乖离/2和1之间画图标
底赋值:0, 画蓝色,NODRAW
JZCSYL赋值:FINANCE(33)/ FINANCE(34)*100
ZCBS赋值:IF(JZCSYL>50,8,IF(50>JZCSYL>=14,2.2+(JZCSYL-14)*0.16, 2.2+(JZCSYL-14)* 0.15))
LTP赋值:当前流通股本
LTPBS:=IF(LTP< 1000000,(1000000-LTP)/1000000,0)
输出ROE:FINANCE(33)/FINANCE(34)*100 ,COLORRED,NODRAW
输出每股净资产:FINANCE(34),NODRAW
输出市净率:CONST(DYNAINFO(7) / FINANCE(34))COLOREE3AB2,NODRAW
每股未分配利润赋值:FINANCE(32),NODRAW
输出主营收入占比:FINANCE(20)/(FINANCE(20)+FINANCE(22)+FINANCE(24)+FINANCE(25))*100,NODRAW
输出每股经营现金流:FINANCE(25)/FINANCE(1),NODRAW
输出现金流利润比:FINANCE(25)/FINANCE(29),NODRAW
输出每股总现金流:FINANCE(26)/FINANCE(1),NODRAW
股价现金流比赋值:FINANCE(1)*C/FINANCE(25),NODRAW
年ROE赋值:FINANCE(33)/FINANCE(34),NODRAW
当满足条件C>O时,在横轴0.01纵轴0.9位置书写文字
输出年投资回报率:年ROE/市净率*100,COLOR0099FF,NODRAW
输出回本年限:72/年投资回报率,NODRAW
输出市盈率:DYNAINFO(39)画白色,NODRAW