您现在的位置:  股票知识 > 股票公式 > 正文
南财搜索

新飞狐指标 飞狐句芒指标公式(2)

2017-09-25 16:12    股票知识   zhishi.southmoney.com
    

VAR5:=SMA(VAR4,3,1);

黄线持股:3 * VAR4 - (2 * VAR5), LINETHICK2,COLORYELLOW;

VAR6:=(黄线持股 > (1 * REF(黄线持股,1)));

VAR7:=LLVBARS(LOW,50);

VAR8:=SUM(VOL,VAR7);

VAR9:=HHVBARS(HIGH,50);

VAR10:=SUM(VOL,VAR9);

VAR11:=(((CLOSE - REF(OPEN,VAR9)) / REF(OPEN,VAR9)) * 100);

VAR12:=((VAR10 / CAPITAL) * 100);

VAR13:=(((CLOSE - REF(OPEN,VAR7)) / REF(OPEN,VAR7)) * 100);

VAR14:=((VAR8 / CAPITAL) * 100);

VAR15:=(MA(WINNER(CLOSE),3) * 100);

VAR16:=EMA(VAR4,3);

回档不破洗盘:EMA(VAR4,3),COLORFFFFFF,LINETHICK2;

PARTLINE(黄线持股<回档不破洗盘,黄线持股),LINETHICK2,COLORBLUE;

DRAWICON(CROSS(黄线持股,回档不破洗盘),(黄线持股 * 0.80),6);

股价趋势:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-

2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);

ab1:=ma(hhv(股价趋势,2),2);

ab2:=ema(ma(llv(股价趋势,2),2),2), LINETHICK1,COLORff3399;

jc:(股价趋势+ab1-ab2),LINETHICK2,COLORGREEN;

PARTLINE(jc>ref(jc,1),jc),LINETHICK2,COLORred;

PARTLINE(jc>ref(jc,1) and jc<40,jc) ,LINETHICK2,COLORMAGENTA;

jc0:=EMA(jC,3);

g1:=REF(jc0,1); 

g2:=(jc0-g1)/g1*100;

g3:=REF(jc0,BARSLAST(CROSS(g2,0))+1);

g4:=REF(jc0,BARSLAST(CROSS(0,g2))+1);

DRAWLINE(CROSS(g2,0),g1,CROSS(0,g2),g1,0),LINEDOT,LINETHICK1,COLORRED;

DRAWLINE(CROSS(0,g2),g1,CROSS(g2,0),g1,0),LINEDOT,LINETHICK1,COLORGREEN;

DRAWLINE(CROSS(0,g2) OR CROSS(g2,0),g1,ISLASTBAR,g1,0),LINEDOT,LINETHICK1,COLORdd99ff;

{-----------------------☆功能开关------------------------}

RSV:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100;

K:=(SMA(RSV,10,1));

D:=(SMA(K,5,1));

KK:=INTPART(SMA(RSV,10,1));

DD:=INTPART(SMA(K,5,1));

N:KK+DD,LINETHICK,COLORGREEN;

A:KK-DD,LINETHICK,COLORWHITE;

A1:REF(KK-DD,1),LINETHICK0,COLORCYAN;//许多股票遇到A1=0时,很容易大涨或涨停

A2:REF(KK-DD,2),LINETHICK0;

STICKLINE(N<25,-25,-15,10,0),ALIGN0,linethick3,COLORYELLOW;//横线 -- 阶段底区;要格外注意

{表格竖线}

x:=SYSPARAM(2)=BARPOS;

k:=(SYSPARAM(3)-SYSPARAM(2))/110;

x1:=SYSPARAM(2)+ROUND(12*k)=BARPOS;

x2:=SYSPARAM(2)+ROUND(28*k)=BARPOS;

x3:=SYSPARAM(2)+ROUND(46*k)=BARPOS;

x4:=SYSPARAM(2)+ROUND(62*k)=BARPOS;

x5:=SYSPARAM(2)+ROUND(80*k)=BARPOS;

x6:=SYSPARAM(2)+ROUND(103*k)=BARPOS;

VERTLINE(x or x1 or x2 or x3  or x4 or x5 or x6 ),colorgray;

{表格横线}

DRAWLINE(x,-20,x6,-20,0),colorgray;

DRAWLINE(x,15,x6,15,0),colorgray;

DRAWLINE(x,50,x6,50,0),colorgray;(股票知识网zhishi.southmoney.com)

    股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
商务进行时
股票知识学习
联盟广告

关于股票知识网 -版权声明 -诚聘英才 -广告服务 -网站地图 -
特此声明:广告商的言论与行为均与股票知识网无关
zhishi.southmoney.com
股票知识网 © 版权所有 闽ICP备09035581号