飞狐做多做空公式源码是什么?
2016-4-22 15:23:39 股票入门 http://rumen.southmoney.com
飞狐做多做空公式源码是什么?附:飞狐超短线买卖点A幅图指标公式 南方财富网小编为您提供
【飞狐做多做空公式源码】
均价:=(2*C+(C+H+L+O)/4+O)/4;
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">R:=(2*L+3*均价)/5;R1:=(2*H+3*均价)/5;kx:=(R+r1)/2;
STICKLINE(C>0,50,50,10,10),COLORWHITE;
CCI:(R-MA(R,84))/(0.015*AVEDEV(R,84))/1,COLORYELLOW;
做多:(3*SMA(CCI,2,1)+2*SMA(SMA(CCI,2,1),2,1))/5,COLOR6600FF;
FILLRGN(CCI<做多,做多,CCI),COLORAAAA00;
FILLRGN(CCI>做多,做多,CCI),COLORBROWN;
WR1:(100*(HHV(R1,84)-KX)/(HHV(R1,84)-LLV(R,84)))*2.5,COLORFFC0FF;
做空:(3*SMA(WR1,2,1)+2*SMA(SMA(WR1,2,1),2,1))/5,COLORGRAY;
PARTLINE(WR1>0,wr1),COLORFFCCAA,COLORAAAA00;
FILLRGN(WR1<做空,做空,WR1),COLOR00AA99;
FILLRGN(WR1>做空,做空,WR1),COLORGRAY;
附:【飞狐超短线买卖点A幅图指标公式】
- RSV:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(100);
- TJ:=IF((RSV<5),0,RSV);
- 投机:IF((TJ>95),100,TJ),Color008000,Linethick1;
- K:=SMA(RSV,3,1);
- D:=SMA(K,3,1);
- 中期:=EMA(D,10);
- STICKLINE((K>=D),D,REF(D,1),4,0),Color0000FF;
- STICKLINE((K<D),D,REF(D,1),4,0),COLORFFF000;
- 分界线:50,Color00FF00,POINTDOT;
- RS1:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(100);
- RS2:=((CLOSE-LLV(LOW,(5)*(9)))/(HHV(HIGH,(5)*(9))-LLV(LOW,(5)*(9))))*(100);
- RS3:=((CLOSE-LLV(LOW,(20)*(9)))/(HHV(HIGH,(20)*(9))-LLV(LOW,(20)*(9))))*(100);
- K1:=SMA(RS1,3,1);
- K2:=SMA(RS2,3+1,1);
- K3:=SMA(RS3,3+2,1);
- D1:=SMA(K1,3,1);
- D2:=SMA(K2,3+1,1);
- D3:=SMA(K3,3+2,1);
- DRAWTEXT(CROSS(K1,D1),REF(D,1),'▲'),COLORWHITE,ALIGN0;
- DRAWTEXT(CROSS(K2,D2),REF(D,1),'◆'),ColorFF00FF,ALIGN0,PXDN25;
- DRAWTEXT(CROSS(K3,D3),REF(D,1),'★'),Color00FFFF,ALIGN0,PXDN50;
- ▲短叉:IF(CROSS(K1,D1),1,0),COLORWHITE;
- ◆中叉:IF(CROSS(K2,D2),1,0),ColorFFAAFF;
- ★长叉:IF(CROSS(K3,D3),1,0),Color00FFFF;
更多飞狐指标公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。