飞狐股票公式 看长做短公式 源码 副图
2014-10-9 9:28:18 股票入门 http://rumen.southmoney.com
J0:=(CLOSE+HIGH+LOW)/3;
J1:=IF(CLOSE》REF(J0,1),AMOUNT,0);
J2:=IF(CLOSE《REF(J0,1),AMOUNT,0);
JJ:=J1-J2;
YA:=SUM(JJ,0)/100000000;
YB:=SUM(JJ,22)/100000000;
长资金:(EMA(YA,22)-EMA(YA,144))/3,LINEDOT,COLORMAGENTA;
长趋势:EMA(长资金,34),LINEDOT,COLORGREEN;
短资金:(EMA(YB,5)-EMA(YB,14));
短趋势:EMA(短资金,9);
存量净值:(短资金-短趋势),STICK,Color0000FF;
IF(存量净值《0,存量净值,0),STICK,ColorFFA900;
FJ:=EMA(存量净值,14);
流出:STICKLINE(存量净值《REF(存量净值,1) and 存量净值《0 OR (AMOUNT/REF(AMOUNT,1)《0.97),存量净值,REF(存量净值,1),7,0),LINETHICK2,COLOREEEEEE;
流入:STICKLINE(存量净值》=REF(存量净值,1) and 存量净值》0,存量净值,REF(存量净值,1),7,0),LINETHICK2,Color0000FF;
持币:STICKLINE(存量净值《FJ and 存量净值《0,存量净值,REF(存量净值,1),7,0),LINETHICK2,Color00FF00;
S:=EMA((CLOSE-EMA(CLOSE,13))/EMA(CLOSE,21),10);
W:=IF(S》0,MA(s,1),0);
JC:=CROSS(短资金,短趋势);
JD:=CROSS(短趋势,短资金);
JD1:=FILTER(CROSS(长趋势,长资金),5);
AA:=FILTER(jc,5);
BB:=FILTER(jd and 短趋势》0,5);
DRAWICON(AA,短资金,10);
DRAWICON(BB,短趋势,12);
DRAWTEXT(CROSS(长资金,长趋势),长资金,‘▲’),COLORRED;
DRAWICON(AA and CROSS(W,0.001),短资金,1);
DRAWICON(BB and JD1,短趋势,2);DRAWTEXT(jd1,长资金,‘▼’),COLORFFFF00;
//
更多飞狐股票公式,请关注南方财富网。
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。