通达信【顺势博涨】主副图指标 信号简单 一看便懂 源码
前面发布过一款“博涨成交量”副图指标,而本次发布的“博涨”系列指标信号,跟之前发布的完全是两个逻辑信号;
此博涨信号,甚至更加可以媲美封龙量柱中的“博涨”信号,只有顺势才能博大!
指标包含:博涨主图指标+博涨成交量+博涨指标;
信号简单,一看便懂。指标含当前流通股本未来,不影响使用,以下举例:
{顺势博涨成交源码如下}
量:VOL,VOLSTICK;
好股网1:MA(量,5);
好股网2:MA(量,10);
ABC1:=LLV(LOW,21);
ABC2:=HHV(HIGH,21);
AK1:=EMA((((CLOSE - ABC1) / (ABC2 - ABC1)) * 100),5);
AK:=EMA((((CLOSE - ABC1) / (ABC2 - ABC1)) * 50),13);
AB:=CROSS(AK1,AK);
ABC3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
ABC4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)< 1.01) AND (ABC3AA>0),91,0);
DRAWTEXT(FILTER((ABC4AA>90),35),VOL,'★博涨'),COLOR00FFFF;
STICKLINE(FILTER((ABC4AA>90),35),0,VOL,2,0),COLORMAGENTA;
DRAWICON((FILTER((ABC4AA>90),35)),VOL,23);
{顺势博涨主图源码如下}
MA5:MA(CLOSE,5)DOTLINE COLORWHITE;
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;
S2:=SMA(C,3,1);
S6:=SMA(C,5,1);
DK:=2*(S2-S6);
ACBL:(EMA(CLOSE,10)*7+EMA(CLOSE,20)*3)/10;
ACBS:DMA(EMA(CLOSE,20),MAX(1,100*(SUM(VOL,5)/(3*CAPITAL)))),COLORWHITE,DOTLINE;
STICKLINE(C>O,C,O,2.8,0),COLORRED;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
主力成本:EMA(X,13),COLORFF00FF,LINETHICK0;
短期底部:LLV(HIGH,30),LINETHICK2,COLORFFCC00;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
ABC1:=LLV(LOW,21);
ABC2:=HHV(HIGH,21);
AAC1:=EMA((((CLOSE - ABC1) / (ABC2 - ABC1)) * 100),5);
AAC:=EMA((((CLOSE - ABC1) / (ABC2 - ABC1)) * 50),13);
AB:=CROSS(AAC1,AAC);
ABC3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
ABC4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)< 1.01) AND (ABC3AA>0),91,0);
DRAWTEXT(FILTER((ABC4AA>90),35),(LOW)*(0.99000001),'★博涨'),COLOR00FFFF;
STICKLINE(FILTER((ABC4AA>90),35),C,O,2,0),COLORMAGENTA;
DRAWICON(FILTER((ABC4AA>90),35),L,9);