飞狐经典指标共振指标公式是什么?
2016-4-22 15:01:09 股票入门 http://rumen.southmoney.com
飞狐经典指标共振指标公式是什么?附:自用主图公式适用股市期货 飞狐+通达信 南方财富网小编为您提供
【飞狐经典指标共振指标公式】
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">XXQ:="KDJ.J"(9,3,3);{引用J}
XXW:="KDJ.D"(9,3,3);{引用D}
XXN:=CROSS(XXQ,XXW);{J上穿D}
XXE:="MACD.DIFf";{引用DIF}
XXR:="MACD.DEA";{引用DEA}
XXM:=CROSS(XXE,XXR);{DIF上穿DEA}
XXT:="RSI.RSI1"(6,12,24);{引用RSI1}
XXC:="RSI.RSI3"(6,12,24);{引用RSI3}
XXA:=CROSS(XXT,XXC);{RSI1上穿RSI3}
XXS:="DMI.PDI"(14,6);{引用PDI}
XXD:="DMI.MDI"(14,6);{引用MDI}
XXJ:=CROSS(XXS,XXD);{PDI上穿MDI}
XXG:XXN AND XXM AND XXA AND XXJ AND MA(C,30)>REF(MA(C,30),1);
附:【自用主图公式适用股市期货 飞狐+通达信】
通达信源码:
HH:=HHV(HIGH,5);
LL:=LLV(LOW,5);
HH1:=BARSLAST((HH > REF(HH,1)));
LL1:=BARSLAST((LL < REF(LL,1)));
IF((HH1 < LL1),LL,DRAWNULL),LINETHICK2,COLORBB0066;
IF((HH1 > LL1),HH,DRAWNULL),LINETHICK2,COLOR1B8800;
STICKLINE((HH1 < LL1),CLOSE,OPEN,3,0),COLORRED;
STICKLINE((HH1 < LL1),HIGH,LOW,0,0),COLORRED;
STICKLINE((HH1 > LL1),CLOSE,OPEN,3,0),COLORFF0000;
STICKLINE((HH1 > LL1),HIGH,LOW,0,0),COLORFF0000;
DRAWICON(CROSS(HH1,LL1),HH,11);
DRAWICON(CROSS(LL1,HH1),LL,12);
DRAWTEXT(CROSS(HH1,LL1),HH,'卖'),COLORFF0000;
DRAWTEXT(CROSS(LL1,HH1),LL,'买'),COLORFF00FF;
DRAWTEXT(FILTER(((HH1 < REF(HH1,1)) AND (HH1 < LL1)),90),LOW,'♂加'),COLORFF00FF;
DRAWTEXT(FILTER(((LL1 < REF(LL1,1)) AND (HH1 > LL1)),90),HIGH,'♀减'),COLORFF0000;
飞狐源码:
input:N(10,1,500);
HH:=HHV(HIGH,N);
LL:=LLV(LOW,N);
HH1:=BARSLAST((HH > REF(HH,1)));
LL1:=BARSLAST((LL < REF(LL,1)));
PARTLINE((HH1 < LL1),LL),LINETHICK2,colorBB0066;
PARTLINE((HH1 > LL1),HH),LINETHICK2,color1B8800;
STICKLINE((HH1 < LL1),CLOSE,OPEN,9,0),colorFF;
STICKLINE((HH1 < LL1),HIGH,LOW,0,0),colorFF;
STICKLINE((HH1 > LL1),CLOSE,OPEN,9,0),colorFF0000;
STICKLINE((HH1 > LL1),HIGH,LOW,0,0),colorFF0000;
DRAWICON(CROSS(HH1,LL1),HH,11);
DRAWICON(CROSS(LL1,HH1),LL,12);
DRAWTEXT(CROSS(HH1,LL1),HH,'卖'),colorFF00;
DRAWTEXT(CROSS(LL1,HH1),LL,'买'),colorFF00FF;
DRAWTEXT(FILTER(((HH1 < REF(HH1,1)) AND (HH1 < LL1)),90),LOW,'♂加'),colorFF00FF;
DRAWTEXT(FILTER(((LL1 < REF(LL1,1)) AND (HH1 > LL1)),90),HIGH,'♀减'),colorFF00;
drawtext(BARPOS=SYSPARAM(2),h,'会员专用'),align4,colorffff;
更多飞狐指标公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。