大智慧顶底指标公式
- 指标类别: 大智慧指标公式
- 授权方式: 免费版
- 指标评级: ★★★★★
- 指标分类: 超买超卖
- 画线方法: 副图
- 日期:2019-01-08 来源:互联网
大智慧顶底指标公式:
S1:80,COLOR996699,PRECIS0;
B1:20,COLORGREEN,PRECIS0;
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
长线:A+100,ColorFF00FF,LINETHICK2;
短线:B+100,coloryellow,linethick2;
中线:D+100,ColorFFFF00,LINETHICK2;
中长差:(中线-长线),linethick0;
买入:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);
卖出:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);
{DRAWTEXT(v>MA(VOL,M3)*3.5,MA4,'★'),COLORred;}
DRAWTEXT(ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2),80,'★顶'),COLORgreen;
DRAWTEXT(ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2),20,'★底'),COLORred;
顶换:sum(v,BARSLAST(卖出))/capital,colorred,linethick0;
底换:sum(v,BARSLAST(买入))/capital,colorred,linethick0;
{DRAWTEXT(cross(顶换,0.5),MA1,'▲金买50'),COLORred;}
{DRAWTEXT(cross(底换,1.1),MA1,'▲金卖110'),COLORgreen;}
DRAWTEXT(cross(顶换,0.5) and 顶换<2,短线,'金买50'),COLORred;
DRAWTEXT(cross(底换,1.1) and 底换<2,短线,'金卖110'),COLORgreen;
见顶:(REF(中线,1)>85 AND REF(短线,1)>85 AND REF(长线,1)>65) AND CROSS(长线,短线),PRECIS0;
顶部区:(中线<REF(中线,1) AND REF(中线,1)>80) AND (REF(短线,1)>95 OR REF(短线,2)>95 ) AND 长线>60 AND 短线<83.5 AND 短线<中线 AND 短线<长线+4,PRECIS0;
顶部:=FILTER(顶部区,4);
底部区:(长线<12 AND 中线<8 AND (短线<7.2 OR REF(短线,1)<5) AND (中线>REF(中线,1) OR 短线>REF(短线,1))) OR (长线<8 AND 中线<7 AND 短线<15 AND 短线>REF(短线,1)) OR (长线<10 AND 中线<7 AND 短线<1),PRECIS0;
STICKLINE(顶部,98,103,20,1),COLORRED;
STICKLINE(底部区,-4,0,22,0),COLORGREEN;
STICKLINE(底部区,40,44,22,0),COLORGREEN;
低位金叉:长线<15 AND REF(长线,1)<15 AND 中线<18 AND 短线>REF(短线,1) AND CROSS(短线,长线) AND 短线>中线 AND (REF(短线,1)<5 OR REF(短线,2)<5) AND (中线>=长线 OR REF(短线,1)<1),PRECIS0;
PARTLINE(中线,中线>REF(中线,1),RGB(255,0,0)),LINETHICK2;
PARTLINE(长线,长线<=REF(长线,1),RGB(0,125,0)),LINETHICK2;
STICKLINE(低位金叉,0,4,11,0 ),COLORRED;
S0:10,COLORCC6633,LINETHICK2,PRECIS0;
B0:90,COLOR9966BB,LINETHICK2,PRECIS0;
大智慧顶底指标公式实例图解:
大智慧顶底指标公式