通达信战神买卖指标公式,通达信红心持股指标公式
admin888
|通达信战神买卖指标公式,通达信红心持股指标公式
通达信战神买卖指标公式
M1:=5;
M2:=10;
M3:=20;
M4:=60;
N1:=7;
N2:=6;
ma1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,M3);
MA4:MA(CLOSE,M4);
VAR1:=ema((C-(LLV(L,25)))/((HHV(H,25))-(LLV(L,25)))*100,5);
VAR2:=VAR1,COLORRED,LINETHICK2;
VAR3:=MA((V-REF(V,1))/REF(V,1),5);
VAR4:=(C-MA(C,24))/MA(C,24)*100;
VAR5:=VAR4*(1+VAR3);
VAR6:=REF(vol,1);
VAR7:=SMA(MAX(VOL-VAR6,0),6,1)/SMA(Abs(VOL-VAR6),6,1)*100;
VAR8:=VAR5>REF(VAR5,1) AND VAR2REF(VAR7,1);
VAR9:=VAR5REF(VAR2,1) AND VAR7>REF(VAR7,1);
VAR10:=VAR5>REF(VAR5,1) AND VAR2
VAR11:=VAR5REF(VAR2,1) AND VAR7
VAR12:=VAR5>REF(VAR5,1);
VAR15:=VAR2>REF(VAR2,1);
VAR16:=VAR8 OR VAR10;
VAR17:=VAR9 OR VAR11;
VAR18:=VAR13 AND VAR14;
VAR19:=VAR16 OR VAR18;
VAR20:=VAR12 AND VAR15;
VAR21:=VAR17 OR VAR20;
VAR22:=LAst(VAR19,N1,1) AND VAR20;
VAR23:=LAST(VAR21,N2,1) AND VAR18;
DRAWTEXT(VAR22,L,'★买'),COLOR00FFFF;
DRAWTEXT(VAR23,H,'★卖'),COLORWHITE;
通达信红心持股指标公式
摩:=(HIGH+4*LOW+OPEN+CLOSE)/7;
诃:=ema(摩,13) - Ema(摩,34);
波:= EMA(诃,5);
罗:=(诃-波)*5;
柳枝A:=IF(罗>=1000 ,1000 ,IF(罗<=摩,摩,罗) );
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;}
{超短线选择用,扫尽卖点};
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。