以下是大智慧波段买卖副图 源码
大智慧波段买卖副图 源码
《波段买卖》指标由体现了牛熊力量、买卖压力。指标从买压、卖压的视角来评估证券价格运动,为我们提供了新的视角。
指标只有一条线,简洁明快,用法简单、明了,一看就懂!
{BDMM 波段买卖}
{牛熊对比}
NIU:=(H-EMA(C,13))/EMA(C,13)*100;
XONG:=(L-EMA(C,13))/EMA(C,13)*100;
NX:=(NIU+XONG)+50;
{买卖压力}
MM1:=SUM(IF(H-REF(C,1)>0,(H-REF(C,1))+(C-L),C-L),8);
MM2:=SUM(IF(REF(C,1)-L>0,(REF(C,1)-L)+(H-C),H-C),8);
DMK:=MM1/(MM1+MM2)*100;
BD:=(NX+DMK)/2;
MBD:EMA(BD,3);
TJ1:=REF(MBD,3)>REF(MBD,2) AND REF(MBD,2)>REF(MBD,1) AND REF(MBD,1)<MBD AND C>=MA(C,6)*1.004 AND MBD<43;
TJ2:=REF(MBD,4)>REF(MBD,3) AND REF(MBD,3)>REF(MBD,2) AND REF(MBD,2)<REF(MBD,1) AND REF(MBD,1)<MBD AND C>=MA(C,6)*1.004 AND MBD<43;
TJ3:=REF(MBD,5)>REF(MBD,4) AND REF(MBD,4)>REF(MBD,3) AND REF(MBD,3)<REF(MBD,2) AND REF(MBD,2)<REF(MBD,1) AND REF(MBD,1)<MBD AND C>=MA(C,6)*1.004 AND MBD<43;
TJ4:=ZIG(3,10)>REF(ZIG(3,10),1);{上升趋势}
OK:=(TJ1 OR TJ2 OR TJ3) AND TJ4=1;
XG:=FILTER(OK,5);
STICKLINE(TJ4=1,50,50,5,0),COLORRED;
STICKLINE(TJ4=0,50,50,5,0),COLORCYAN;
STICKLINE(XG,35,65,0,-1),COLORRED; {画垂直线};
评论(0)