通达信小助手指标公式,通达信瓜达卡耐而之战主图指标公式
admin888
|通达信小助手指标公式,通达信瓜达卡耐而之战主图指标公式
通达信小助手指标公式
{kdj月金}月K:="kdJ.K#MONTH"(9,3,3);
月J:="KDJ.J#MONTH"(9,3,3);
{KDJ周金}周K:="KDJ.K#WEEK"(9,3,3);
周J:="KDJ.J#WEEK"(9,3,3);
{KDJ日金}日K:="KDJ.K#DAY"(9,3,3);
日J:="KDJ.J#DAY"(9,3,3);
stICKLINE(日J<150,-60,60,4,1),COLOR008000;
{绿色}STICKLINE(月J>月K,40,60,4,0),COLOR0000FF;
{红色晴天};
STICKLINE(月J>月K AND 月J>100,60,40,4,0),COLORYELLOW;{
{蓝色变天}STICKLINE((REF(月J,1)<0 AND 月J>0) OR (REF(月J,1)<20 AND 月J>20),40,60,4,0),COLORWHITE;
{白色抄底}DRAWTEXT(ISLASTBAR,60,'KDJ月金'),COLORFF00FF;
STICKLINE(周J>周K,40,20,4,0),COLOR0000B9;
{红色晴天};
STICKLINE(周J>周K AND 周J>100,40,20,4,0),COLORYELLOW;
{黄色风险天}STICKLINE(周J>100 AND 周J
{蓝色变天}STICKLINE((REF(周J,1)<0 AND 周J>0) OR (REF(周J,1)<20 AND 周J>20),40,20,4,0),COLORWHITE;
{白色抄底}DRAWTEXT(ISLASTBAR,40,'KDJ周金'),COLORRED;
STICKLINE(日J>日K,20,0,4,0),COLOR000084;
{红色晴天}STICKLINE(日J>日K AND 日J>100,0,20,4,0),COLORYELLOW;
{黄色风险};
{蓝色变天}STICKLINE((REF(日J,1)<0 AND 日J>0) OR (REF(日J,1)<10 AND 日J>10),0,20,4,0),COLORWHITE;
{白色抄底}DRAWTEXT(ISLASTBAR,20,'KDJ日金'),COLORWHITE;
{吸筹}VAR2Q:=REF(LOW,1);
VAR3Q:=SMA(Abs(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;
VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);
VAR5Q:=LLV(LOW,30);
VAR6Q:=HHV(VAR4Q,100);
VAR7Q:=IF(MA(CLOSE,58),1,0);
VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/618*VAR7Q;
VAR9Q:=IF(VAR8Q>100,100,VAR8Q);
吸筹:STICKLINE(VAR9Q>-120,0,VAR9Q,6,-1),COLORBLUE;
{庄影难逃}趋势线T:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;
AAT:=((REF(趋势线T,1)=REF(趋势线T,1)) OR (REF(crOSS(-30,趋势线T),1) AND CROSS(趋势线T,-30)) OR 趋势线T=-30;
BBT:=((REF(趋势线T,1)-25) AND 趋势线T>=REF(趋势线T,1)) OR (REF(CROSS(-20,趋势线T),1) AND CROSS(趋势线T,-20));
CCT:=((REF(趋势线T,1)-30) AND 趋势线T>=REF(趋势线T,1)) OR (REF(CROSS(-25,趋势线T),1) AND CROSS(趋势线T,-25));
底部快显:=CROSS(-20,趋势线T);
机会来临:=CROSS(-25,趋势线T);
砸锅卖田等:=CROSS(-30,趋势线T);
砸锅卖田买:=AAT;
见底信号:=BBT;
莫错失机会:=CCT;
庄影:IF((底部快显 OR 机会来临 OR 砸锅卖田等 OR 砸锅卖田买 OR 见底信号 OR 莫错失机会),60,0),COLORRED;
{庄影难逃}{macd日金}日DIF:="MacD.DIF#DAY"(8,17,6);
日DEA:="MACD.DEA#DAY"(8,17,6);
{MACD周金}周DIF:="MACD.DIF#WEEK"(6,13,4.5);
周DEA:="MACD.DEA#WEEK"(6,13,4.5);
{MACD月金}月DIF:="MACD.DIF#MONTH"(6,13,4.5);
月DEA:="MACD.DEA#MONTH"(6,13,4.5);
STICKLINE(日DIF>日DEA AND 日DIF>-0.05,0,-20,4,0),COLOR000084;
{红色晴天}DRAWTEXT(ISLASTBAR,-1,'MACD日金'),COLORWHITE;
STICKLINE(周DIF>周DEA AND 周DIF>-0.05,-20,-40,4,0),COLOR0000B9;
{红色晴天}DRAWTEXT(ISLASTBAR,-21,'MACD周金'),COLORRED;
STICKLINE(月DIF>月DEA AND 月DIF>-0.05,-60,-40,4,0),COLOR0000FF;
{红色晴天}DRAWTEXT(ISLASTBAR,-41,'MACD月金'),COLORFF00FF;
{日线洗盘}STICKLINE((月J>月K) AND (周J>周K) AND (月DIF>月DEA) AND (周DIF>周DEA) AND (日J<日K),20,0,4,0),COLORGRAY;
{青色备钱}STICKLINE((月J>月K) AND (周J>周K) AND (月DIF>月DEA) AND (周DIF>周DEA) AND (日DIF<日DEA),-20,0,4,0),COLORGRAY;{
青色备钱}{长中短牛}VAR1L:=C-REF(C,1);
VAR2L:=100*EMA(EMA(VAR1L,6),6)/EMA(EMA(ABS(VAR1L),6),6);
MA5:=EMA(C,5);
MA13:=EMA(C,13);
UP:=DRAWLINE(L=LLV(L,BArslAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),0),COLOR0000FF;
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),0),COLOR00FF00;
BT:=(LLV(VAR2L,2)=LLV(VAR2L,7) AND COUNT(VAR2L<0,2) AND CROSS(VAR2L,MA(VAR2L,2))) AND REF(DOWN,1)REF(DOWN,1);
TJ1:=REF(DOWN,1)REF(DOWN,1) AND C
HR:=HHV(HIGH,55);
HRY:=LLV(LOW,55);
HRY11:=HR*HRY;
HRY33:=SQRT(HRY11);
TJ2:=REF(DOWN,1)REF(DOWN,1) AND C
{短牛}STICKLINE(BT AND (TJ2 OR TJ1),-20,60,2,0),COLOR000088;
STICKLINE(BT AND (TJ2 OR TJ1),-20,60,1,0),COLOR0000CC;
STICKLINE(BT AND (TJ2 OR TJ1),-20,60,0,0),COLOR0000FF;
{中牛}STICKLINE(TJ1,20,-20,4,0),COLORAA00AA;
STICKLINE(TJ1,20,-20,2,0),COLORCC00CC;
STICKLINE(TJ1,20,-20,1,0),COLORFF00FF;
{长牛}STICKLINE(TJ2,-60,-20,6,0),COLOR008888;
STICKLINE(TJ2,-60,-20,4,0),COLOR00AAAA;
STICKLINE(TJ2,-60,-20,2,0),COLOR00CCCC;
STICKLINE(TJ2,-60,-20,1,0),COLOR00FFFF;
通达信瓜达卡耐而之战主图指标公式
MA5:MA(CLOSE,5),COLORFFFFFF,LINETHICK2;
MA13:MA(CLOSE,13),COLOR00FF00;
MA21:MA(CLOSE,21),COLOR00FFFF,LINETHICK2;
MA34:MA(CLOSE,34),COLORFF00FF;{
MA55:MA(CLOSE,55),COLOR0000FF;}
{MA120:=MA(CLOSE,120),COLORFFFF00;
}盟军:=EMA(C,2),COLOR000000;
日寇:=EMA(SLOPE(C,21)*20+C,42),COLOR000000;
B:=crOSS(盟军,日寇);
S:=CROSS(日寇,盟军);
DRAWICON(B,L*0.97,1);
DRAWTEXT(B,L*0.92,'地狱猫攻击'),COLORYELLOW;
DRAWICON(S,H*1.03,2);
DRAWTEXT(S,H*1.08,'三零式后退'),COLORWHITE;
stICKLINE(盟军>=日寇,LOW,HIGH,0.01,0),COLOR0000DD;
STICKLINE(盟军>=日寇,CLOSE,OPEN,2,1),COLORRED;
{STICKLINE(盟军>=日寇,CLOSE,OPEN,3,0),COLOR0000CC;
STICKLINE(盟军>=日寇,CLOSE,OPEN,2,0),COLOR0000DD;
STICKLINE(盟军>=日寇,CLOSE,OPEN,1,0),COLOR0000FF;}
{STICKLINE(盟军<日寇,CLOSE,OPEN,1,0),COLOREEEE00;
STICKLINE(盟军<日寇,CLOSE,OPEN,2,0),COLORDDDD00;STICKLINE(盟军<日寇,CLOSE,OPEN,3,0),COLORCCCC00;}
STICKLINE(盟军<日寇,LOW,HIGH,0.01,0),COLORFFDD00;
STICKLINE(盟军<日寇,CLOSE,OPEN,2,0),COLORFFFF00;
STICKLINE(CROSS(盟军,日寇),OPEN,CLOSE,2.5,0),COLORYELLOW;
STICKLINE(CROSS(日寇,盟军),OPEN,CLOSE,2.5,0),COLORWHITE;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。