股票的公式有哪些?飞狐买在启动时公式源码
2016-6-14 10:25:24 股票入门 http://rumen.southmoney.com
股票的公式有哪些?飞狐买在启动时公式源码 附:飞狐KDJ顶底公式源码 南方财富网小编为您提供
【飞狐买在启动时公式源码】
AC:=CLOSE;
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">AH:=HIGH;
AL:=LOW;
AO:=OPEN;
STICKLINE(AC<=AO,AH,AC,0,0),COLORFF8800;
STICKLINE(AC<=AO,AO,AL,0,0),COLORFF8800;
STICKLINE(AC<=AO,AC,AO,3,0),COLORFF8800;
STICKLINE(AC<=AO,AC,AO,1,0),COLORFFBB11;
STICKLINE(AC>=AO,AH,AC,0,0),COLOR0000FF;
STICKLINE(AC>=AO,AO,AL,0,0),COLOR0000FF;
STICKLINE(AC>AO,AC,AO,3,0),COLOR0000AA;
STICKLINE(AC>AO,AC,AO,1,0),COLOR0033DD;
快线:EMA((CLOSE+LOW)/2,8);
均衡:EMA(EMA((CLOSE+LOW)/2,20),8);
STICKLINE(快线>均衡,快线,均衡,0.1,0),LINETHICK1,COLOR0000FF;
DRAWTEXT(CROSS(快线,均衡),HIGH*1.03,'加仓'),COLOR0000FF;
STICKLINE(快线<均衡,快线,均衡,0.1,0),LINETHICK1,COLOR00FF00;
DRAWTEXT(CROSS(均衡,快线),LOW*0.98,'减仑'),COLOR00FF00;
强弱:EMA(EMA((LOW+CLOSE+HIGH)/3,25),25),LINETHICK2,COLOR008800;
附:【飞狐KDJ顶底公式源码】
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1),COLORWHITE;
D:SMA(K,3,1),COLORYELLOW;
J:3*K-2*D,COLORFF00FF;
STICKLINE((J>100 AND K>=60),100,J,1,1),COLORYELLOW;{回调买}
STICKLINE(K>92,100,K,1,1),COLORGREEN;{高位减}
STICKLINE((J<=0 AND K<=30),0,J,1,1),COLORYELLOW;{黄关注}
STICKLINE(K<=9,0,K,1,1),COLORRED;{红建仓};
A1:=BARSLAST(REF(CROSS(J,K),1));
底背:=REF(CLOSE,A1+1)>CLOSE AND J>REF(J,A1+1) AND CROSS(J,K);
底:DRAWLINE(A1=0,D,底背,D,0),COLORRED,POINTDOT;
DRAWTEXT(底背,D,'底B'),COLORRED;
A2:=BARSLAST(REF(CROSS(K,J),1));
顶背:=REF(CLOSE,A2+1)<CLOSE AND REF(J,A2+1)>J AND CROSS(K,J);
顶:DRAWLINE(A2=0,D,顶背,D,0),COLORGREEN,POINTDOT;
DRAWTEXT(顶背,D,'顶B'),COLORGREEN;
双金叉:IF(SUM(CROSS(K,D)AND D<23,15)>=2 AND CROSS(K,D)AND C>O,10,0),COLORRED;
更多股票公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。