飞狐寻庄GLD指标公式,飞狐波浪画线主图指标公式
admin888
|飞狐寻庄GLD指标公式,飞狐波浪画线主图指标公式
飞狐寻庄GLD指标公式
DRAWGBK(DATE>900101,COLORRGB(110,95,0),COLORRGB(0,20,0),1);
INPUT:N(21,1,60);
stICKLINE(c>0,5,5,8,0),COLORmaGENTA;
STICKLINE(c>0,0,0,10,0),COLORWHITE;
STICKLINE(c>0,-5,-5,8,0),COLORGREEN;
均价:=(2*C+(H-L)/2+L)/3;
价差:=SUM(均价-REF(均价,1),3)/3;
高低:=(均价+价差);
实价:=(高低+均价)/2;
aa:=ema(((SLOPE(实价,N)*20)+实价),N*3);
bb:=eMA(((SLOPE(均价,N)*20)+均价),N*3);
多空线:=((AA+bb)/2);
行情1:=EMA(EMA(EMA(多空线,7),21),63);
AaA:=eMA(((SLOPE(实价,N*2)*20)+实价),n*6);
BbB:=eMA(((SLOPE(均价,N*2)*20)+均价),n*6);
行情2:=(AAA+BBB)/2;
行情线:=(行情1+行情2)/2;
V1:=SMA(AMOUNT,10,1)/1000000;
V5:=MA(REF((2*C+(H-L)/2+L)/3,1),5);
最高:=V1*HIGH/V5*1/10;
最低:=V1*LOW/V5*1/10;
开盘:=V1*OPEN/V5*1/10;
收盘:=V1*CLOSE/V5*1/10;
均量:=(2*收盘+(最高-最低)/2+最低)/3,COLORMAGENTA;
量差:=SUM(均量-REF(均量,1),2)/2;
实量:=(2*均量+量差)/2;
a1:=(实价- 均价) / 均价*100,,LINETHICK;
a2:=(实量- 均量) / 均量*100,,LINETHICK;
a3:=(实价- 行情线) / 行情线*100,LINETHICK;
gld:(A3+a1+a2)/3,LINETHICK;
STICKLINE(gld>0,0,gld,2,0),COLORRED;
STICKLINE(gld<0,0,gld,2,0),COLORCYAN;
gle:ma(gld,2),COLORGREEN;
平台突破:if(crOSS(gld,5)and ANY(COUNT(abs(GLD)<5,30)>24,3),gld,0),COLORWHITE;
DRAWTEXT(平台突破,gld*1.05,'突★破'),COLORWHITE,LINETHICK3,ALIGN0;
飞狐波浪画线主图指标公式
N:=13; M:=1; P:=3; P2:=5;
A1:=REF(HIGH,3)=HHV(HIGH,2*3+1);
B1:=FILTER(A1,3);
C1:=BacKSET(B1,3+1);
D1:=FILTER(C1,3);{高点}
A2:=REF(LOW,3)=LLV(LOW,2*3+1);
B2:=FILTER(A2,3);
C2:=BACKSET(B2,3+1);
D2:=FILTER(C2,3);{
低点}E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;
E2:=(HIGH+LOW)/2;
{高低点出现在同一k线上时可作取舍}H1:=(D1 AND NOT((D2 AND E1>=E2))) OR ISLA
stBAR OR BARSCOUNT(CLOSE)=1;
L1:=(D2 AND NOT((D1 AND E1)));
H2:=(D1 AND NOT((D2 AND E1>=E2)));
X1:=REF(BArslAST(H1),1)+1;
F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1));
G1:=F1>REF(F1,1);
I1:=BACKSET(G1,2);
LD:=I1>REF(I1,1);{过滤后低点}
L2:=LD OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;
X2:=REF(BARSLAST(L2),1)+1;
F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2));
G2:=F2>REF(F2,1);
I2:=BACKSET(G2,2);
HD:=I2>REF(I2,1);{过滤后高点}
DRAWLINE(LD,L,HD,H,0),COLORWHITE,LINETHICK3;
DRAWLINE(HD,H,LD,L,0),COLORWHITE,LINETHICK3;
%%%%%%%%%%%%%H1:=(D1 AND NOT((D2 AND E1>=E2))) OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;
J1:=BACKSET(BARSTATUS=2 ,MIN(BARSLAST(HD),BARSLAST(LD))+1);
J2:=J1>REF(J1,1);
DRAWLINE(J2,IF(HD,H,L),BARSTATUS=2 ,IF(BARSLAST(HD)>BARSLAST(LD),H,L),0),COLORWHITE,LINETHICK2;
{以下是两条趋势线原码}UU:=BACKSET(BARSTATUS=2 ,BARSLAST(LD)+1);
VV:=UU>REF(UU,1);
WW:=BACKSET(VV,REF(BARSLAST(LD),1)+2);
XX:=WW>REF(WW,1);DRAWLINE(XX,L,VV,L,1),COLORmaGENTA,LINETHICK2;
UU2:=BACKSET(BARSTATUS=2 ,BARSLAST(HD)+1);
VV2:=UU2>REF(UU2,1);
WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2);
XX2:=WW2>REF(WW2,1);
DRAWLINE(XX2,H,VV2,H,1),COLORMAGENTA,LINETHICK2;
前一低:REF(L,BARSLAST(VV)),COLOR99FF66,LINETHICK1;
前二低:REF(L,BARSLAST(XX)),COLORFF66FF,LINETHICK1;
前一高:REF(H,BARSLAST(VV2)),COLOR99FF66,LINETHICK1;
前二高:REF(H,BARSLAST(XX2)),COLORFF66FF,LINETHICK1;
DRAWTEXT(BARPOS=SYSPARAM(2),HIGH*0.97,'上升五浪,下跌三浪,趋势自画:'+'\n 长短均线,阻力支撑,高低自明:'),align4,LINETHICK3,COLORMAGENTA;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。