通达信生命与宝塔线主图指标公式,通达信资金轨迹主图指标公式
admin888
|通达信生命与宝塔线主图指标公式,通达信资金轨迹主图指标公式
通达信生命与宝塔线主图指标公式
VAR2:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2)));
VAR3:=((REF(VAR2,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR4:=((REF(VAR3,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR5:=((REF(VAR4,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR6:=((REF(VAR5,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR7:=((REF(VAR6,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR8:=((REF(VAR7,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR9:=((REF(VAR8,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VARA:=((REF(VAR9,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VARB:=((REF(VARA,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VARC:=((REF(VARB,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VARD:=((REF(VARC,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
stICKLINE((((((((((((VAR2 OR VAR3) OR VAR4) OR VAR5) OR VAR6) OR VAR7) OR VAR8) OR VAR9) OR VARA) OR VARB) OR VARC) OR VARD),CLOSE,REF(CLOSE,1),3,1),COLORRED;
VARE:=((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,2)));
VARF:=((REF(VARE,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR10:=((REF(VARF,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR11:=((REF(VAR10,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR12:=((REF(VAR11,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR13:=((REF(VAR12,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR14:=((REF(VAR13,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR15:=((REF(VAR14,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR16:=((REF(VAR15,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR17:=((REF(VAR16,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR18:=((REF(VAR17,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR19:=((REF(VAR18,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
STICKLINE((((((((((((VARE OR VARF) OR VAR10) OR VAR11) OR VAR12) OR VAR13) OR VAR14) OR VAR15) OR VAR16) OR VAR17) OR VAR18) OR VAR19),CLOSE,REF(CLOSE,1),3,1),COLORFF9900;
VAR1A:=(REF((((((((((((VARE OR VARF) OR VAR10) OR VAR11) OR VAR12) OR VAR13) OR VAR14) OR VAR15) OR VAR16) OR VAR17) OR VAR18) OR VAR19),1) AND VAR2);
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0)COLORYELLOW;
AA:=(REF((((((((((((VAR2 OR VAR3) OR VAR4) OR VAR5) OR VAR6) OR VAR7) OR VAR8) OR VAR9) OR VARA) OR VARB) OR VARC) OR VARD),1) AND VARE);
STICKLINE(AA,REF(CLOSE,1),REF(CLOSE,2),4,0)COLORBLUE;
YC_AA:=(O+C)/2;
{看趋势做股,关键是涅磐黄线,信号不需怕多,短线看宝瓶般若,中线看bs及笑脸,};
{长数念珠,灵活运用周期,世间万法皆缘,发财请多行善,有好的人品必能做好股品.};
{弹指能发人于丈外是太极,仅能保健也是太极,未到如火纯青地、莫论太极长与短.};
摩:=(HIGH+4*LOW+OPEN+CLOSE)/7;
诃:= EMA(摩,13) - EMA(摩,34);
波:= EMA(诃,5);
罗:=(诃-波)*5;
柳枝A:=IF(罗>=1000 ,1000 ,IF(罗<=摩,摩,罗) );
甘露:FORCAST(FORCAST(柳枝A,31),10),LINETHICK3,COLORBLUE{短期趋势};
CSAR:=SAR(10,2,20);
持币:=IF(CSAR>=H,CSAR,0),CIRCLEDOT,COLORGREEN{持币};
持股:=IF(CSAR<=L,CSAR,0),CIRCLEDOT,COLORRED{持股};
涅磐:EMA(SLOPE(C,21)*20+C,42),LINETHICK2,COLORRED;
{股价在上持,在下空仓}宝瓶:EMA(C,2.5),COLORGREEN,LINETHICK1;
般若:EMA(C,5),COLORYELLOW,LINETHICK1;
{红持股绿持币黄观望}菩提:=xma(H,20);
{此函数仅做参考线,为提前趋势预测线,上涨途中向下见顶,下跌途中向上见底};
开悟:IF(般若>=REF(般若,1),般若,DRAWNULL),LINETHICK2,COLORRED;
{持股前提}闭关:IF(般若<=REF(般若,1),般若,DRAWNULL);
{持币前提}{DRAWICON(crOSS(CSAR,H) AND L<涅磐 AND 涅磐>菩提 ,HIGH*1.02,6);
{趋势顶}DRAWICON(CROSS(L,CSAR) AND 开悟>0 AND H<菩提 AND 持股>0 AND H>涅磐,(LOW * 0.93),5);
{趋势底}{DRAWICON(CROSS(宝瓶,涅磐) AND H>涅磐 AND 菩提>宝瓶 AND H<菩提,L*0.91,7);}
{波段底}{DRAWICON(CROSS(涅磐,般若) AND 闭关>0 AND 菩提<涅磐, H*1.08,8);}
{DRAWICON(CROSS(般若,宝瓶) AND 涅磐>C AND 闭关>0,H*1.01,2);
{上涨不看卖,短线用时打开}{DRAWICON((CROSS(宝瓶,般若) AND 开悟>0 AND 持股>0 AND C>般若 AND 菩提>涅磐 AND C<菩提 ),(LOW*0.96),1),COLORRED;
{下跌不看买,短线突破时打开}{DRAWTEXT(CROSS(88,rsi),(HIGH * 1.02),'◎'),COLORGREEN;
{短线调整信号}{DRAWICON(CROSS(菩提,涅磐),L*0.971,3);
牵引见底标志,股价向下菩提向上}{DRAWICON(CROSS(涅磐,菩提),H*1.043,9);
{牵引见顶标志,股价向上菩提向下}{STICKLINE(涅磐>=菩提,H,L,0,1),COLORGREEN;
{绿心持币}{STICKLINE(菩提>=涅磐,H,L,0,1),COLORRED;
{红心持股}{VARC:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;}{DRAWICON(CROSS(77,VARC),HIGH,2);}
{VAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5;}
VAR2:=REF(VAR1,5);}
{VAR3:=SMA(MAX(VAR1-VAR2,0),10,1)/SMA(ABS(VAR1-VAR2),10,1)*100;}
{VAR4:=FILTER(IF(COUNT(VAR3<20,5)>=1 AND COUNT(VAR1=LLV(VAR1,10),10)>=1 AND CLOSE>=OPEN*1.038 ANDvol>MA(VOL,5)*1.2,1,0),5);}
{DRAWICON(VAR4,LOW,1);};
般:XMA(CLOSE,7),COLORBROWN;
若:MEMA(CLOSE,3),COLORLIBLUE;
{般值大于若值持股,反之空仓}{柳枝:(般-若)*6.18,COLORSTICK;}
{比传统macd信号提早2-3天,红绿柱为涨跌动量的前瞻标志}DRAWICON(LONGCROSS(般,若,0.25) AND 菩提>H ,L*0.958,1),COLORRED;
{超短线时选择用,扫尽买点}{DRAWICON(LONGCROSS(若,般,0.25) AND C>涅磐 AND H>菩提,H*1.03,2),COLORGREEN;}
{超短线选择用,扫尽卖点}{关闭的指标开1关1地选择性应用,综合判断(通达信输出限制)其中采用的XMA函数也仅是为了严谨信号的出现而增加的一个附加筛选条件之一,(杜绝马后炮及飘移现象),}{高手运用此公式玩股于掌心,技术指标应具备前瞻性才能快人一步,08年更需如此才能立足市场,此公式经过了2年实战验证,欢迎市场实战交易者斧正.南无观世音菩萨!};
通达信资金轨迹主图指标公式
DRAWTEXT(crOSS(0.94,(L/(MA(CLOSE,14) * 0.9))) AND C>L,L*0.9,'抄'),COLORWHITE;
DRAWICON(CROSS(0.94,(L/(MA(CLOSE,14) * 0.9))) AND C>L ,L-0.03,1);
DRAWTEXT(CROSS(0.94,(L/(MA(CLOSE,20) * 0.9))) AND C>L,L*0.9,'抄'),COLORGREEN;
DRAWICON(CROSS(0.94,(L/(MA(CLOSE,20) * 0.9)))AND C>L ,L-0.03,1);
DRAWTEXT(CROSS(0.94,(L/(MA(CLOSE,30) * 0.9))) AND C>L,L*0.9,'抄'),COLORFF00FF;
DRAWICON(CROSS(0.94,(L/(MA(CLOSE,30) * 0.9)))AND C>L ,L-0.03,1);
DRAWTEXT(CROSS(0.94,(L/(MA(CLOSE,60) * 0.9))) AND C>L,L*0.9,'抄'),COLORWHITE;
DRAWICON(CROSS(0.94,(L/(MA(CLOSE,60) * 0.9)))AND C>L ,L-0.03,1);
N3:=4;
N4:=6;
快:=COUNT(CLOSE>REF(CLOSE,2),N3)/N3*100,COLORGREEN;
慢:=COUNT(CLOSE>REF(CLOSE,2),N4)/N4*100,COLORRED;
关注:= IF(慢=0 AND 快=0,60,0),COLORRED,LINETHICK1;
DRAWTEXT( 关注 AND REF(关注 ,1)=0 ,L-0.5,'近'),COLORRED;
资金:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3)/4;
外围游资:=IF(资金>23.16,资金,0);
卖:=IF(外围游资,1,0);
DRAWICON( 卖,HIGH,2);
TYP:=(L+H+C)/3;
cci:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
A:=REF(C,1);
rsi:=SMA(MAX(C-A,0),6,1)/SMA(Abs(C-A),6,1)*100;
A1:=(C/MA(C,5)-1)*100<-10;
A2:=(C/MA(C,13)-1)*100<-10;
A3:=(C/MA(C,34)-1)*100<-15;
A4:=RSI<18;
A5:=CCI<-120;
A6:=COUNT(ABS(C/REF(C,1)-1)*100>=6,30)>=1;
底部:=A1 AND A2 AND A3 AND A4 AND A5 AND A6,COLOR00FFFF,LINETHICK2;
CDSJ:=BArslAst(底部);
ZF:=(C/REF(C,1)-1)*100;
坑:=IF(BETWEEN(CDSJ,0,5) AND L<=REF(C,CDSJ) AND ZF<=-5,30,0),COLORFF0000,LINETHICK2;
DRAWTEXT( C>O AND REF(深坑 ,1)=30 ,L*0.88,'M'),COLORRED;
MA1:MA(CLOSE,60);
VAR14:=expma(CLOSE,9);
下轨:=EXPMA(VAR14*0.86,5),COLORYELLOW,POINTDOT;
XS:=MA(LOW,5)*(1-5/100),LINETHICK0;
XS1:=MA(HIGH,5)*(1+5/100);
DRAWTEXT(CROSS(XS1,C),H*1.05,'砸'),COLORWHITE;
VA11:=HIGH>=HHV(HIGH,60);
V1:=(REF(VA11,1)>0 AND VA11<1);
VA12:=LOW<=LLV(LOW,60);
V2:=REF(VA12,1)>0 AND VA12<1;
CD:=DRAWLINE(V2,LOW,V1,LLV(LOW,6),1),COLOR0099FF;
{DRAWTEXT(CROSS(C,AB),L*0.98,'B'),COLORGRAY;}
DRAWTEXT(CROSS(CD,L),L*0.98,'Z'),COLORGREEN;
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
VARR1:=SMA(MAX(CLOSE-REF(C,1),0),12,1)/SMA(ABS(CLOSE-REF(C,1)),15,1)*100;
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
pdi:=((DMP * 100) / TR1);
mdi:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
上轨1:=(1+7/100)*DD,POINTDOT,COLORGREEN,LINETHICK2;
下轨1:=(1-7/100)*DD;
LY:=10;
BL:=40;
CJQS:=xma(CLOSE,LY);
JBQS:=XMA(CLOSE,BL);
N:=REF(JBQS,BL/2+1-CURRBARSCOUNT)/REF(JBQS,BL/2+2-CURRBARSCOUNT);
M:=REF(CJQS,LY/2+1-CURRBARSCOUNT)/REF(CJQS,LY/2+2-CURRBARSCOUNT);
CJ上轨:=IF(CURRBARSCOUNT>LY/2,CJQS*1.05,REF(CJQS,LY/2+1-CURRBARSCOUNT)*POW(M,LY/2+1-CURRBARSCOUNT)*1.05);
DRAWTEXT(CROSS(H,CJ上轨),(H * 1.01),'Z'),COLORYELLOW;
低买:=((L<=下轨1 AND C>=REF(L,1)AND COUNT(H>MA(CLOSE,60),14)>=4));
STICKLINE(O<=下轨 AND (C-L)>(H-C),O,H,3,0),COLORMAGENTA;
DRAWTEXT(O<下轨 AND (C-L)>=(H-C),L*0.95,'D'),COLORGREEN;
STICKLINE(低买,OPEN,CLOSE,3,0),COLORMAGENTA;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。