飞狐缺口显示数字主图指标公式,飞狐操作提示主图指标公式
admin888
|飞狐缺口显示数字主图指标公式,飞狐操作提示主图指标公式
飞狐缺口显示数字主图指标公式
TJA:=CLOSE>OPEN or CLOSE=OPEN and CLOSE>REF(CLOSE,1);
BQ:=IF((SYSPARAM(1) = (BARSSINCE((C > 0)) + 1)),1,0);
BQ2:=(L>REF(H,1));
stICKLINE(BQ1,o+(c-o)*0.25,O,8,0),coloraa0000;
STICKLINE(BQ1,o+(c-o)*0.30,O,6,0),colorbb0000;
STICKLINE(BQ1,o+(c-o)*0.35,O,4,0),colorcc0000;
STICKLINE(BQ1,o+(c-o)*0.40,O,3,0),colordd0000;
STICKLINE(BQ1,o+(c-o)*0.45,O,2,0),coloree0000;
STICKLINE(BQ1,o+(c-o)*0.5,O,1,0),coloree0000;
STICKLINE(BQ2,O,o+(c-o)*0.25,8,0),colorFF0070;
STICKLINE(BQ2,O,o+(c-o)*0.3,6,0),colorFF0060;
STICKLINE(BQ2 ,O,o+(c-o)*0.35,4,0),colorFF0050;
STICKLINE(BQ2 ,O,o+(c-o)*0.4,3,0),colorFF0040;
STICKLINE(BQ2 ,O,o+(c-o)*0.45,2,0),colorFF0030;
STICKLINE(BQ2 ,O,o+(c-o)*0.5,1,0),colorFF0020;
STICKLINE(BQ2 ,O,o+(c-o)*0.6,0.5,0),colorFF0010;
QC:=REF(C,1);QO:=REF(O,1);QH:=REF(H,1);QL:=REF(L,1);
FUZ:=L+((H-L)/2);FUS:=O+((C-O)/2); FUSY:=C+((O-C)/2);SSFU:=(FUZ+IF(C>O,FUS,FUSY))/2;
FUZ1:=L+((H-L)*0.333);FUS1:=O+((C-O)*0.333);FUS1Y:=C+((O-C)*0.333);SSFU1:=(FUZ1+IF(C>O,FUS1,FUS1Y))/2;
FUZ2:=L+((H-L)*0.667);FUS2:=O+((C-O)*0.677);FUS2Y:=C+((O-C)*0.667);SSFU2:=(FUZ2+IF(C>O,FUS2,FUS2Y))/2;
bs1:=Ql+((Qh-Ql)/2);BS2:=QO+((QC-QO)/2);BS3:=QC+((QO-QC)/2);
DB1:=QL+((QH-QL)*0.333);DB2:=QO+((QC-QO)*0.333);DB3:=QC+((QO-QC)*0.333);
EB1:=QL+((QH-QL)*0.667);EB2:=QO+((QC-QO)*0.667);EB3:=QC+((QO-QC)*0.667);
SYB1:=QH-((QH-QC)/2);SYB2:=QH-((QH-QO)/2);
SYB3:=IF(QC>QO,SYB1,SYB2);
XYB1:=QL+((QC-QL)/2);XYB2:=QL+((QO-QL)/2);
XYB3:=IF(QC
QFU:=(BS1+IF(QC>QO,BS2,BS3))/2;
QDFU:=(DB1+IF(QC>QO,DB2,DB3))/2;
QEFU:=(EB1+IF(QC>QO,EB2,EB3))/2;
A3:=C=HHV(C,6);
A9:=C=LLV(C,6);
A4:=BArslAST(A3);
A5:=BARSLAST(A9);
A6:=IF(A4,REF(C,A4),REF(C,A4))*1.005;
A7:=IF(A5,REF(C,A5),REF(C,A5))*0.995;
fh:=HIGH;fl:=LOW;
for p=DATacOUNT-1 downto 1 do beginIF fh[p]
fh[p]:=fh[p+1];
IF fl[p]>fl[p+1] thenfl[p]:=fl[p+1];
end;
G:=IF(LOW>REF(HIGH,1),LOW,IF(HIGH
D:=IF(LOW>REF(HIGH,1),REF(HIGH,1),IF(HIGH
S:=IF(LOW>REF(HIGH,1),2,IF(HIGH
tj:=s=2 and fL<=G AND fL>=D OR s=1 and fH
w:=BARSSINCE(BACKSET(BARSTATUS=2,BARSLAST(TJ*BARPOS=BARPOS)+1))+1;
DD:=DATE;
缺口日期:REF(DD,W-1)+1991219,LINETHICK0,COLORAAFF33;
S1:=IF(REF(S,W-1)=2,REF(fL,w-1),IF(REF(S,W-1)=1,REF(fH,w-1),0));
S2:=IF(REF(S,W-1)=2,REF(D,w-1),IF(REF(S,W-1)=1,REF(G,w-1),0));
A:=maX(S1,S2);
B:=MIN(S1,S2);
缺口:B[DATACOUNT],COLORWHITE,LINETHICK,,PRECISION2;
→:A[DATACOUNT],COLORWHITE,LINETHICK,PRECISION2;
STICKLINE(w,S1,S2,15,0),COLORGRAY;
DRAWTEXT(BARSTATUS=2,A,NUMTOSTR(B,2)+'-'+NUMTOSTR(A,2)),COLOR0099CC,ALIGN1;
飞狐操作提示主图指标公式
均价:=(C+H+L+O)/4;
R:=(2*L+均价)/3;R1:=(2*H+均价)/3;
kx:=(r+r1)/2;
ma2:=WMA(SUM(R*V,2)/SUM(V,2),1);
MA26:=WMA(SUM(R*V,2)/SUM(V,2),26);
dif:=MA2-MA26;
DEA:=WMA(DIF,3);
macd:=2*(DIF-DEA);
GG:=WMA(SUM(r*V,2)/SUM(V,2),1);
DRAWGBK(MacD=0,COLORRGB(30,30,30),COLORRGB(
130,130,130),1);
DRAWGBK(MACD>0,COLORRGB(110,0,0),COLORRGB(0,0,0),0);
DRAWGBK(MACD<0,COLORRGB(0,110,0),COLORRGB(0,0,0),0);
明日阻力:=2*C-LOW;
明日支撑:=2*C-HIGH;
明日突破:=C+(HIGH-LOW);
明日反转:=C-(HIGH-LOW);
今日阻力:=REF(明日阻力,1);
今日支撑:=REF(明日支撑,1);
次日心理价:=(C+明日突破+明日阻力+明日支撑+明日反转)/5,COLORWHITE,LINETHICK;
今日保护价:=(REF(C,1)+REF(C,2)+C)/3,COLOR0099FF,LINETHICK;
DRAWTEXTEX(1,0,200,25,'今日阻力=:'+NUMTOstR(今日阻力,2)),ColorFFFF00;
DRAWTEXTEX(1,0,200,41,'今日支撑=:'+NUMTOSTR(今日支撑,2)),Colorred;
DRAWTEXTEX(1,0,200,57,'明日突破=:'+NUMTOSTR(明日突破,2)),ColorFF00FF;
DRAWTEXTEX(1,0,200,73,'明日阻力=:'+NUMTOSTR(明日阻力,2)),ColorFFFF00;
DRAWTEXTEX(1,0,200,89,'明日支撑=:'+NUMTOSTR(明日支撑,2)),COLORRED;
DRAWTEXTEX(1,0,200,105,'明日反转=:'+NUMTOSTR(明日反转,2)),COLORYellow;
DRAWTEXTEX(1,0,200,121,'次日心理价=:'+NUMTOSTR(次日心理价,2)),COLORRED;
DRAWTEXTEX(1,0,200,137,'今日保护价=:'+NUMTOSTR(今日保护价,2)),COLORGREEN;
YC:=REF(CLOSE,1);
止损价位:=(YC*1.0035*97+0.2)/99.65,COLORRED,LINETHICK0;
DRAWTEXTEX(1,0,15,20,'★ ======================'),COLORRED;
DRAWTEXTEX(1,0,15,30,'操 '),COLORRED;
DRAWTEXTEX(1,0,15,50,'盘 '),COLORRED;
DRAWTEXTEX(1,0,15,70,'铁'),COLORRED;
DRAWTEXTEX(1,0,15,89,'律'),COLORRED;
DRAWTEXTEX(1,0,15,105,'★ ======================'),COLORRED;
DRAWTEXTEX(1,0,15,41,'买入条件 工作线'),colorYellow;
DRAWTEXTEX(1,0,15,57,' 买入时间2:30以后' ),colorYellow;
DRAWTEXTEX(1,0,15,73,' 止损价位 '+NUMTOSTR(止损价位,2)+'元'),colorYellow;
DRAWTEXTEX(1,0,15,89,' 线上工作 线下休息'),color00FFFF;
KLINE(O,H,L,C,0);
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。