设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

股票的公式有哪些?飞狐四指金刚公式源码

2016-6-15 10:49:42 股票入门 http://rumen.southmoney.com

股票的公式有哪些飞狐四指金刚公式源码 附:飞狐波段无敌主图公式源码  南方财富网小编为您提供


【飞狐四指金刚公式源码】

LONG:=26;
WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">SHORT:=12;
cm:=42;
MID:=4;
m1:=3;
DFC:=c-REF(c,1);
WJXS:=(LONG-SHORT)/2;
JF:=WJXS*EMA(DFC,SHORT);
CCI:(JF-MA(JF,CM))/((0.2*CM)*AVEDEV(JF,CM)),COLOR6600FF;
FILLRGN(CCI<0,CCI,0),COLORFF0080;
FILLRGN(CCI>0,CCI,0),COLOR6600FF;
DIF:EMA(JF,LONG),COLOR1188FF,LINEDOT;
DEA:EMA(DIF,MID),COLORGREEN,LINEDOT;
FILLRGN(DIF>=DEA,DEA,DIF),COLORBROWN;
FILLRGN(DIF<DEA,DEA,DIF),COLORBLUE;
MACD:=3*(DIF-DEA),COLOR1133FF,COLORSTICK;
K:SMA(JF,SHORT/3,1),COLORFEDCBA;
D:SMA(K,M1,1),COLOR13F8F9;
J:=2.4*K-1.5*D,COLORF813F9;
DJ:=ABS(J);
MM:=(HHV(DJ,120)+LLV(DJ,120))/2;
STICKLINE(J>K,J,K,2.3,0),COLOR1388D3;
STICKLINE(J>K,J,K,1.0,0),COLOR13AAD3;
STICKLINE(J<K,J,K,2.3,0),COLOR338833;
STICKLINE(J<K,J,K,1.0,0),COLOR33AA33;
STICKLINE(J<K AND DJ<0.2*MM,J+0.15*MM,K-0.15*MM,0.1,0),COLOR33AA33;
STICKLINE(J>=K AND DJ<0.2*MM,K-0.1*MM,J+0.1*MM,0.1,0),COLOR13AADD;
LC:=REF(JF,1);
rsi:SMA(MAX(JF-LC,0),SHORT,1)/SMA(ABS(JF-LC),SHORT,1)*(SHORT/5)-(SHORT/10),COLORSTICK,COLORCYAN,LINETHICK2;
STICKLINE(C>0,0,0,10,0),COLORGRAY;
STICKLINE(C>0,0.5,0.5,5,0),COLORMAGENTA;
STICKLINE(C>0,-0.5,-0.5,5,0),COLORMAGENTA;

附:【飞狐波段无敌主图公式源码】

VAR1:=1;
DRAWGBK(CLOSE>0,COLORRGB(180,180,180),COLORRGB(1,1,1),1);
上市日期年:REF(YEAR,BARSCOUNT(CLOSE)-1),LINETHICK0,colorFF;
月:REF(MONTH,BARSCOUNT(CLOSE)-1),LINETHICK0,colorFF00FF;
日:REF(DAY,BARSCOUNT(CLOSE)-1),LINETHICK0,colorFFFF;
DRAWTEXT(SYSPARAM(2)=BARPOS,CLOSE,'证券代码:'+STKLABEL),ALIGN4,colorFF;
DRAWTEXT(BARPOS=SYSPARAM(2),HIGH,' 所属板块:'+BLKNAME+' 发行价'+NUMTOSTR(FINANCE(51),2)+'元'+' 发行量'+NUMTOSTR(FINANCE(52),2)+'万股'+'\n'+'总股本'+NUMTOSTR(FINANCE(1),0)+'万股'+' 流通A股'+NUMTOSTR(FINANCE(7),0)+'万股'+' 净资产'+NUMTOSTR(FINANCE(35),2)+'亿元'+' 每股收益'+NUMTOSTR(FINANCE(33),2)+'元'+' 每股未分配'+NUMTOSTR(FINANCE(32),2)+'元'+' 市盈率'+NUMTOSTR(DYNAINFO(39),2)+'%'+' 投资收益'+NUMTOSTR(FINANCE(24),2)+'元'+' 股东总数'+NUMTOSTR(FINANCE(50),0)+'户'),ALIGN4,color222222;
VAR4:=(LOW+HIGH+CLOSE)/3*VAR1;
操作:MA(VAR4,5),LINETHICK2,colorFFFFFF;
拉升:HHV(操作,13),LINETHICK2,colorFF;
压力:HHV(操作,60),LINETHICK2,color8916FF;
买卖:=LLV(操作,13);
底部支撑:=LLV(LOW,60)*1.02;
顶部:=HHV(HIGH,60)*0.98*VAR1;
现价:=MA(CLOSE,1);
STICKLINE(操作>REF(操作,1),操作,操作+0.05,5,0),LINETHICK4,colorFF;
STICKLINE(拉升>REF(拉升,1),拉升,拉升+0.018,5,0),LINETHICK2,colorFFFF;
VAR100:=1/WINNER(CLOSE);
VAR200:=MA(CLOSE,13);
VAR300:=100-ABS((CLOSE-VAR200)/VAR200*100);
VAR400:=LLV(LOW,75);
VAR500:=HHV(HIGH,75);
VAR600:=(VAR500-VAR400)/100;
VAR700:=SMA((CLOSE-VAR400)/VAR600,20,1);
VAR800:=SMA((OPEN-VAR400)/VAR600,20,1);
VAR900:=3*VAR700-2*SMA(VAR700,15,1);
VARA:=3*VAR800-2*SMA(VAR800,15,1);
VARB:=100-VARA;
VARC:=IF(900101<DATE AND DATE<99991232,1,0);
AA:=CLOSE/REF(CLOSE,1)>=1.099;
AB:=VOL/REF(VOL,1);
关注:=IF(CLOSE/REF(CLOSE,1)>=1.07 AND AB<1,1,0);
龙头战法第一买点:IF(AA AND AB<1,1,0),LINETHICK0;
DRAWTEXT(龙头战法第一买点=1,REF(LOW,1)*1.1,' 龙头战法D1买点'),colorFFFF;
买线:=EMA(CLOSE,2)*VAR1;
卖线:=(EMA(SLOPE(CLOSE,21)*20+CLOSE,42))*VAR1;
STICKLINE(买线>=卖线,CLOSE,OPEN,8,0),colorAA;
STICKLINE(买线>=卖线,CLOSE,OPEN,7,0),colorBB;
STICKLINE(买线>=卖线,CLOSE,OPEN,6,0),colorCC;
STICKLINE(买线>=卖线,CLOSE,OPEN,4,0),colorDD;
STICKLINE(买线>=卖线,CLOSE,OPEN,2,0),colorEE;
STICKLINE(买线>=卖线,LOW,HIGH,0.1,0),colorFF;
STICKLINE(买线<卖线,CLOSE,OPEN,8,0),colorAAAA00;
STICKLINE(买线<卖线,CLOSE,OPEN,7,0),colorBBBB00;
STICKLINE(买线<卖线,CLOSE,OPEN,6,0),colorCCCC00;
STICKLINE(买线<卖线,CLOSE,OPEN,4,0),colorDDDD00;
STICKLINE(买线<卖线,CLOSE,OPEN,2,0),colorEEEE00;
STICKLINE(买线<卖线,LOW,HIGH,0.1,0),colorFFFF00;

更多股票公式相关资讯请关注南方财富网

 

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。