股票的公式有哪些?飞狐专家短线公式源码
2016-6-13 10:51:47 股票入门 http://rumen.southmoney.com
股票的公式有哪些?飞狐专家短线公式源码 附:飞狐三线开花主图公式源码 南方财富网小编为您提供
【飞狐专家短线公式源码】
LT:=100;
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">LU:=0;
LV:=38.2;
卖出预警:IF(LT,100,100),COLOR00FF00,POINTDOT;
持股信心:IF(LU,0,0),COLORRED,POINTDOT;
把钱拿稳:IF(LU,38.2,38.2),COLORWHITE,POINTDOT;
买入准备:IF(LU,0,0),COLORFFCC66,POINTDOT;
LA:=REF(CLOSE,1);
LB:=((SMA(MAX((CLOSE - LA),0),5,1) / SMA(ABS((CLOSE - LA)),5,1)) * 100);
LC:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
LE:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
LF:=SUM(IF(((LC > 0) AND (LC > LD)),LC,0),10);
LG:=SUM(IF(((LD > 0) AND (LD > LC)),LD,0),10);
LH:=((LF * 100) / LE);
LI:=((LG * 100) / LE);
LJ:=MA(((ABS((LI - LH)) / (LI + LH)) * 100),5);
AV:=(LB + LJ);
LK:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
LL:=(LB - LK);
LM:=(AV + LL);
LO:=((((2 * CLOSE) + HIGH) + LOW) / 4);
LP:=LLV(LOW,34);
LQ:=HHV(HIGH,34);
LR:=EMA((((LO - LP) / (LQ - LP)) * 100),13);
LS:=EMA(((0.667 * REF(LR,1)) + (0.333 * LR)),2);
向导线:=LLV(LM,1);
STICKLINE((向导线>225),95,90,6,1),COLORFFCC00;
STICKLINE((向导线>235),100,95,6,1),COLORRED;
STICKLINE(CROSS(235,向导线),100,90,6,1),COLOR00FF00;
STICKLINE((LM<(0-1)),0,5,6,1),COLOR00FF00;
STICKLINE((LM<(0-5)),5,10,6,1),COLORYELLOW;
STICKLINE(CROSS(向导线,(0-3)),0,10,6,1),COLORRED;
STICKLINE(((LR-LS)>0),LR,LS,10,0),COLORRED;
STICKLINE(((LR-LS)<0),LR,LS,10,0),COLORFFCC66;
VAR0:=(2*CLOSE+HIGH+LOW)/4;
VAR1:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100;
VAR2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
B:=EMA((VAR0-LLV(LOW,26))/(HHV(HIGH,34)-LLV(LOW,26))*100,16);
短线:SMA(SMA(VAR2,2,1)+3,2,1),COLORYELLOW;
VAR11:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR21:=LLV(LOW,34);
VAR31:=HHV(HIGH,34);
SK:= EMA((VAR11-VAR21)/(VAR31-VAR21)*100,13);
SD:= EMA(SK,3);
VAR41:=IF(CROSS(SK,SD),40,22);
买进: VAR41;
附:【飞狐三线开花主图公式源码】
N1:=8;N2:=20;
X1:EMA(C,n1),COLORWHITE;
X2:EMA(c,n2),COLORYELLOW;
X3:EMA(X2,n2),COLORF0F000;
VAR4: EMA(CLOSE,N1),COLORWHITE;
VAR5: EMA(CLOSE,N2),COLORYELLOW;
STICKLINE(VAR4>VAR5,VAR5,VAR4,0.1,0),COLORGREEN;
STICKLINE(VAR4<VAR5,VAR4,VAR5,0.1,0),COLORF00FF0;
DRAWTEXT(CROSS(VAR5,VAR4),VAR4,'★止损'),COLORGRAY;
DRAWTEXT(CROSS(VAR4,VAR5),VAR4,'★买入'),COLORRED;
更多股票公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。