股票公式有哪些?飞狐独门暗器公式源码
2016-6-6 15:19:18 股票入门 http://rumen.southmoney.com
股票公式有哪些?飞狐独门暗器公式源码 附:飞狐顶底密码公式源码 南方财富网小编为您提供
【飞狐独门暗器公式源码】
input:P(15,1,50),N(-10,-50,0);
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">VAR1:=IF(((YEAR >= 9999) AND (MONTH > 0)),0,1);
VAR2:=LLV(LOW,18);
VAR3:=HHV(HIGH,18);
VAR4:=EMA((((CLOSE - VAR2) / (VAR3 - VAR2)) * 100),13);
VAR5:=(EMA(((0.618 * REF(VAR4,1)) + (0.382 * VAR4)),3) * VAR1);
STICKLINE(((VAR5 - REF(VAR5,1)) > 0),VAR5,VAR5,1,0);
STICKLINE(((VAR5 - REF(VAR5,1)) < 0),VAR5,VAR5,1,0);
VAR6:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
VAR7:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
VAR8:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
VAR9:=(((VAR6 + (2 * VAR7)) + (3 * VAR8)) / 6);
IF(CROSS(80,VAR5),80,100);
VARA:=MA(VAR9,3);
独门暗器:IF((VARA < N),15,0);
15;
45;
附:【飞狐顶底密码公式源码】
input:M(1,1,50),N(18,1,60);
DRAWGBK(1,colorrgb(0,0,100),colorrgb(0,0,0),1);
VAR1:=MA(CLOSE,N);
VAR2:=(CLOSE-VAR1)/VAR1*100;
VAR3:=MA(VAR2,M);
升跌: VAR3;
VAR4:=BARSLAST(CROSS(-10,VAR3)=1);
VAR5:=BARSLAST(CROSS(VAR3,10)=1);
VAR6:=VAR3<-10 AND VAR4>=5;
VAR7:=VAR3>10 AND VAR5>=5;
C1: IF(VAR3<-10 AND VAR4<=5,VAR3,0), COLOR00FF00;
C2: C1, COLORSTICK,LINETHICK3;
C3: IF(VAR3>10 AND VAR5<=5,VAR3,0), COLOR0000FF;
C4: C3, COLORSTICK,LINETHICK3;
D: 升跌>REF(升跌,1) AND VAR6*25, COLOR00FF;
更多股票公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。