最新更新 - 网站地图 -
您的当前位置:首页 > 股市理论 > 波浪理论 > 大智慧股海波浪主图指标公式

大智慧股海波浪主图指标公式

来源:网络 点击: 时间:2023-01-04 21:42:02

a:=(3*c+l+o+h)/6;
X:=(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref(a,5)+
14*ref(a,6)+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10)+9*ref(a,11)+8*ref(a,12)
+7*ref(a,13)+6*ref(a,14)+5*ref(a,15)+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+
ref(a,20))/210;
生命线:EMA(X,13),colorFF00FF,LINETHICK2;
M:=MA((C+O+H+L)/4,2);
M3:MA(M,3),COLOR8AFAAA;
M5:MA(M3,5),COLORFF00FF;
买入:CROSS(M3,M5),COLORRED;
卖出:CROSS(M5,M3),COLOR00FF00;
{K线修饰}
STICKLINE(M3>=M5,H,L,1,1),COLORRED;
STICKLINE(M3>=M5,OPEN,CLOSE,5,0),COLOR000099;
STICKLINE(M3>=M5,OPEN,CLOSE,3,0),COLOR0000BB;
STICKLINE(M3>=M5,OPEN,CLOSE,1,0),COLOR0000FF;
STICKLINE(M3STICKLINE(M3STICKLINE(M3STICKLINE(M3{买入显示}
DRAWTEXT(买入,LOW*0.98,'▲'),COLOR0000FF;
DRAWTEXT(买入,LOW*0.975,'∣'),COLOR0000FF;
DRAWTEXT(买入,LOW*0.975,'‖'),COLOR0000FF;
{买出显示}
DRAWTEXT(卖出,HIGH*1.02,'▼'),COLOR00FF00;
DRAWTEXT(卖出,HIGH*1.025,'∣'),COLOR00FF00;
DRAWTEXT(卖出,HIGH*1.025,'‖'),COLOR00FF00;
{加仓}
加仓:M3>REF(M3,1) AND REF(M3,1)M5 AND 买入<>1 AND 卖出<>1,COLORFF00FF;
DRAWTEXT(加仓,LOW*0.98,'▲'),COLORFF00FF;
STICKLINE(加仓,H,L,1,1),COLORFF00FF;
STICKLINE(加仓,OPEN,CLOSE,5,0),COLOR660099;
STICKLINE(加仓,OPEN,CLOSE,3,0),COLOR6600CC;
STICKLINE(加仓,OPEN,CLOSE,1,0),COLORFF00FF;
{减仓}
减仓:M3REF(M3,2) AND M3>M5 AND 卖出<>1 AND 买入<>1,COLORYELLOW;
DRAWTEXT(减仓,HIGH*1.02,'▼'),COLORYELLOW;
STICKLINE(减仓,H,L,1,1),COLORYELLOW;
STICKLINE(减仓,OPEN,CLOSE,5,0),COLOR00CCCC;
STICKLINE(减仓,OPEN,CLOSE,3,0),COLOR33FFCC;
STICKLINE(减仓,OPEN,CLOSE,1,0),COLOR00FFFF;
{波浪顶底}
TY:=C;
HD:=FILTER(BACKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10);
LD:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY,2*10+1),10),10+1),10);
A2:=REF(C,BARSLAST(HD));
B2A:=REF(C,BARSLAST(LD));
T1:=BARSLAST(HD)T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
顶:IF(T1,A2,A2),COLOR00FF00,POINTDOT,LINETHICK2;
STICKLINE(T1,A2,A2,9,0),COLOR00FF00;
底:IF(T2,B2A,B2A),COLORFF00FF,POINTDOT,LINETHICK2;
STICKLINE(T2,B2A,B2A,9,0),COLORFF00FF;
【股海方舟】:0,COLORRED;

大智慧股海波浪主图指标公式

    Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号

    免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!

    Top