大智慧粒米观海指标公式,大智慧能量比拟分析指标公式
admin888
|大智慧粒米观海指标公式,大智慧能量比拟分析指标公式
大智慧粒米观海指标公式
VAR2:=(((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100);
角度:(((CLOSE - REF(OPEN,29)) / REF(OPEN,29)) * 100);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,9,1);
VAR5:=((3 * VAR3) - (2 * VAR4));
VAR6:=VOL;
换手:((VOL / CAPITAL) * 100);
STICKLINE((VOL AND (VAR3 > VAR4)),0,VOL,9,1),colorred;
STICKLINE((VOL AND (VAR3 <= VAR4)),0,VOL,9,1),colorFFFF00;
VAR2:=(CLOSE - REF(CLOSE,1));
VAR3:=IF(((CLOSE - REF(CLOSE,1)) >= 0),VAR2,0);
VAR4:=(REF(CLOSE,1) - CLOSE);
VAR5:=IF(((CLOSE - REF(CLOSE,1)) <= 0),VAR4,0);
VAR6:=(SUM(VAR3,16) / SUM(VAR5,16));
VAR7:=(100 - (100 / (1 + VAR6)));
VAR8:=EMA(VAR7,16);
VAR9:=EMA(VAR8,8);
VARA:=EMA(VAR8,45);
MO:=(VAR8 - VARA);
ML:=(VAR9 - VARA);
VAR1A:=EMA(CLOSE,32);
VAR2A:=MA(OPEN,32);
趋势:=(VAR1A - VAR2A);
观望:IF(((((MO > ML) AND (趋势 < 0)) AND (MO > REF(MO,3))) AND (趋势 > REF(趋势,3))),9,0);
STICKLINE(((((MO > ML) AND (趋势 < 0)) AND (MO > REF(MO,3))) AND (趋势 > REF(趋势,3))),VOL,0,9,1);
VAR2:=(HIGH - LOW);
VAR3:=ABS((OPEN - CLOSE));
VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));
VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);
VAR6:=((VAR3 / VAR2) * VOL);
VAR7:=((VAR4 / VAR2) * VOL);
VAR8:=((VAR5 / VAR2) * VOL);
VAR9:=IF(((VOL / CAPITAL) > 0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100)))));
VARA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);
VARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60)));
VARC:=((MA(CLOSE,5) < MA(CLOSE,10)) AND (MA(CLOSE,10) < MA(CLOSE,30)));
上攻量:STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),0,VAR6,8,0),colorred;
下攻量:STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)),0,VAR6,8,0);
上探量:STICKLINE(((VAR7 > VAR6) AND (VAR7 > VAR8)),0,VAR7,8,0),colorCCCC66;
下探量:STICKLINE(((VAR8 > VAR6) AND (VAR8 > VAR7)),0,VAR8,8,0),colorFF6633;
地量:STICKLINE(((VAR9 > 2) AND (VOL < (MA(VOL,5) / 2))),0,VOL,2.5,0);
量:=(EMA(IF((CLOSE >= REF(CLOSE,2)),VOL,(0 - VOL)),60) / MA(VOL,60));
量1:=EMA(量,3);
量2:=EMA(量,5);
量3:=EMA(量,8);
T1:=((量2 >= 量3) AND (量 < REF(量,1)));
T2:=((量2 < 量3) AND (量 > REF(量,1)));
K1:=SUM(IF((CLOSE >= REF(CLOSE,1)),VOL,0),8);
K2:=SUM(IF((CLOSE < REF(CLOSE,1)),VOL,0),8);
KC:=(((EMA(VOL,3) - LLV(VOL,50)) / (HHV(VOL,50) - LLV(VOL,50))) * 100);
KH:=((EMA(EMA(KC,4),16) + EMA(((K1 / (K1 + K2)) * 100),7)) / 4);
AA:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
主动买盘:IF((CLOSE > OPEN),(AA * (HIGH - LOW)),IF((CLOSE < OPEN),(AA * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2))),POINTDOT,colorred;
主动卖盘:IF((CLOSE > OPEN),(0 - (AA * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (AA * (HIGH - LOW))),(0 - (VOL / 2)))),LINETHICK0,colorFF0000;
STICKLINE((主动买盘 > 0),0,VOL,4,0),colorFF0000;
STICKLINE((主动买盘 > 0),0,主动买盘,4,0),colorFF00FF;
STICKLINE(CROSS(KH,30),0,VOL,4,0);
STICKLINE(CROSS(30,KH),0,VOL,4,0),color6783DB;
DRAWICON(CROSS(KH,30),VOL,11);
DRAWICON(CROSS(30,KH),VOL,11);
DRAWTEXT(CROSS(KH,30),VOL,'-->量顶');
DRAWTEXT(CROSS(30,KH),VOL,'-->量顶'),color6783DB;
换手率:=((VOL * 100) / CAPITAL);
换手相对位置:=(((换手率 - LLV(换手率,89)) / (HHV(换手率,89) - LLV(换手率,89))) * 100);
换手相对位置2:=(((换手率 - LLV(换手率,144)) / (HHV(换手率,144) - LLV(换手率,144))) * 100);
换手率天量拐点:=IF(((REF(换手相对位置,1) = 100) AND (换手相对位置 < 100)),1,0);
换手率天量拐2:=IF(((REF(换手相对位置2,1) = 100) AND (换手相对位置2< 100)),1,0);
换手率地量拐点:=IF(((REF(换手相对位置,1) = 0) AND (换手相对位置 > 0)),(0 - 1),0);
换手率地量拐2:=IF(((REF(换手相对位置2,1) = 0) AND (换手相对位置2> 0)),(0 - 1),0);
天量a:STICKLINE(((REF(换手相对位置,1) = 100) AND (换手相对位置 < 100)),0,(VOL * 1.2),1,0);
DRAWICON(((REF(换手相对位置,1) = 100) AND (换手相对位置 < 100)),(VOL * 1.2),11);
DRAWTEXT(((REF(换手相对位置,1) = 100) AND (换手相对位置 < 100)),(VOL * 1.2),'-->天量');
天量b:STICKLINE(((REF(换手相对位置2,1) = 100) AND (换手相对位置2 < 100)),0,(VOL * 1.2),1,0);
DRAWICON(((REF(换手相对位置2,1) = 100) AND (换手相对位置2 < 100)),(VOL * 1.2),11);
DRAWTEXT(((REF(换手相对位置2,1) = 100) AND (换手相对位置2 < 100)),(VOL * 1.2),'-->天量');
地量a:STICKLINE(((REF(换手相对位置,1) = 0) AND (换手相对位置 > 0)),0,(VOL * 1.2),1,0);
DRAWICON(((REF(换手相对位置,1) = 0) AND (换手相对位置 > 0)),(VOL * 1.2),10);
DRAWTEXT(((REF(换手相对位置,1) = 0) AND (换手相对位置 > 0)),(VOL * 1.2),'-->地量');
地量b:STICKLINE(((REF(换手相对位置2,1) = 0) AND (换手相对位置2 > 0)),0,(VOL * 1.2),1,0);
DRAWICON(((REF(换手相对位置2,1) = 0) AND (换手相对位置2 > 0)),(VOL * 1.2),10);
DRAWTEXT(((REF(换手相对位置2,1) = 0) AND (换手相对位置2 > 0)),(VOL * 1.2),'-->地量1');
常量:STICKLINE((VOL > (MA(VOL,5) * 0.1)),0,VOL,0.1,0),colorFFFFFF;
A1:=MA(VOL,20);
A2:=MA(VOL,90);
DRAWICON(CROSS(A1,A2),LOW,4);
DRAWICON(CROSS(A2,A1),LOW,5);
大智慧能量比拟分析指标公式
INPUT:N(70,1,999),M(5,1,120);
ZSC:=IF(INBLOCK('工程修建'),"991002$CLOSE",IF(INBLOCK('电力 '),"991003$CLOSE",IF(INBLOCK('盘 算机'),"991004$CLOSE",
IF(INBLOCK('电子信息'),"991006$CLOSE",IF(INBLOCK('房地产 '),"991007$CLOSE",IF(INBLOCK('纺织打扮'),"991008$CLOSE",
IF(INBLOCK('钢铁'),"991009$CLOSE",IF(INBLOCK('供水供气 '),"991010$CLOSE",IF(INBLOCK('化工化纤'),"991011$CLOSE",
IF(INBLOCK('电器'),"991014$CLOSE",IF(INBLOCK('交通办法 '),"991016$CLOSE",IF(INBLOCK('银行类'),"991017$CLOSE",
IF(INBLOCK('旅游旅店'),"991018$CLOSE",IF(INBLOCK('煤炭煤油 '),"991019$CLOSE",IF(INBLOCK('酿酒食品'),"991020$CLOSE",
IF(INBLOCK('农林牧渔'),"991021$CLOSE",IF(INBLOCK('贸易连锁 '),"991023$CLOSE",IF(INBLOCK('建材'),"991024$CLOSE",
IF(INBLOCK('其他行业'),"991025$CLOSE",IF(INBLOCK('汽车类 '),"991026$CLOSE",IF(INBLOCK('机器'),"991027$CLOSE",
IF(INBLOCK('医药'),"991028$CLOSE",IF(INBLOCK('外贸 '),"991031$CLOSE",IF(INBLOCK('教诲传媒'),"991032$CLOSE",
IF(INBLOCK('仪电仪表'),"991033$CLOSE",IF(INBLOCK('有色金属 '),"991034$CLOSE",IF(INBLOCK('造纸印刷'),"991035$CLOSE",
IF(INBLOCK('券商'),"991036$CLOSE",IF(INBLOCK('电力配置 '),"991037$CLOSE",IF(INBLOCK('通讯'),"991135$CLOSE",
IF(INBLOCK('运输物流'),"991136$CLOSE",IF(INBLOCK('保险 '),"991255$CLOSE",0))))))))))))))))))))))))))))))));
ZSH:=IF(INBLOCK('工程修建'),"991002$HIGH",IF(INBLOCK('电力 '),"991003$HIGH",IF(INBLOCK('盘 算机'),"991004$HIGH",
IF(INBLOCK('电子信息'),"991006$HIGH",IF(INBLOCK('房地产 '),"991007$HIGH",IF(INBLOCK('纺织打扮'),"991008$HIGH",
IF(INBLOCK('钢铁'),"991009$HIGH",IF(INBLOCK('供水供气 '),"991010$HIGH",IF(INBLOCK('化工化纤'),"991011$HIGH",
IF(INBLOCK('电器'),"991014$HIGH",IF(INBLOCK('交通办法 '),"991016$HIGH",IF(INBLOCK('银行类'),"991017$HIGH",
IF(INBLOCK('旅游旅店'),"991018$HIGH",IF(INBLOCK('煤炭煤油 '),"991019$HIGH",IF(INBLOCK('酿酒食品'),"991020$HIGH",
IF(INBLOCK('农林牧渔'),"991021$HIGH",IF(INBLOCK('贸易连锁 '),"991023$HIGH",IF(INBLOCK('建材'),"991024$HIGH",
IF(INBLOCK('其他行业'),"991025$HIGH",IF(INBLOCK('汽车类 '),"991026$HIGH",IF(INBLOCK('机器'),"991027$HIGH",
IF(INBLOCK('医药'),"991028$HIGH",IF(INBLOCK('外贸 '),"991031$HIGH",IF(INBLOCK('教诲传媒'),"991032$HIGH",
IF(INBLOCK('仪电仪表'),"991033$HIGH",IF(INBLOCK('有色金属 '),"991034$HIGH",IF(INBLOCK('造纸印刷'),"991035$HIGH",
IF(INBLOCK('券商'),"991036$HIGH",IF(INBLOCK('电力配置 '),"991037$HIGH",IF(INBLOCK('通讯'),"991135$HIGH",
IF(INBLOCK('运输物流'),"991136$HIGH",IF(INBLOCK('保险 '),"991255$HIGH",0))))))))))))))))))))))))))))))));
ZSL:=IF(INBLOCK('工程修建'),"991002$LOW",IF(INBLOCK('电力 '),"991003$LOW",IF(INBLOCK('盘 算机'),"991004$LOW",
IF(INBLOCK('电子信息'),"991006$LOW",IF(INBLOCK('房地产 '),"991007$LOW",IF(INBLOCK('纺织打扮'),"991008$LOW",
IF(INBLOCK('钢铁'),"991009$LOW",IF(INBLOCK('供水供气 '),"991010$LOW",IF(INBLOCK('化工化纤'),"991011$LOW",
IF(INBLOCK('电器'),"991014$LOW",IF(INBLOCK('交通办法 '),"991016$LOW",IF(INBLOCK('银行类'),"991017$LOW",
IF(INBLOCK('旅游旅店'),"991018$LOW",IF(INBLOCK('煤炭煤油 '),"991019$LOW",IF(INBLOCK('酿酒食品'),"991020$LOW",
IF(INBLOCK('农林牧渔'),"991021$LOW",IF(INBLOCK('贸易连锁 '),"991023$LOW",IF(INBLOCK('建材'),"991024$LOW",
IF(INBLOCK('其他行业'),"991025$LOW",IF(INBLOCK('汽车类 '),"991026$LOW",IF(INBLOCK('机器'),"991027$LOW",
IF(INBLOCK('医药'),"991028$LOW",IF(INBLOCK('外贸'),"991031$LOW",IF(INBLOCK(' 教诲传媒'),"991032$LOW",
IF(INBLOCK('仪电仪表'),"991033$LOW",IF(INBLOCK('有色金属 '),"991034$LOW",IF(INBLOCK('造纸印刷'),"991035$LOW",
IF(INBLOCK('券商'),"991036$LOW",IF(INBLOCK('电力配置 '),"991037$LOW",IF(INBLOCK('通讯'),"991135$LOW",
IF(INBLOCK('运输物流'),"991136$LOW",IF(INBLOCK('保险 '),"991255$LOW",0))))))))))))))))))))))))))))))));
Var12:=(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100;
能量线:SMA(Var12,3,1)*(-1)+100,colorRED,linethick2;
KNX:=SMA(Var12,3,1);
MK:=MA(KNX,M);
买点:IF(KNX>N AND CROSS(MK , KNX),50,0),COLORWHITE,LINETHICK1;
Var13:=(HHV(ZSH,34)-ZSC)/(HHV(ZSH,34)-LLV(ZSL,34))*100;
行业线:SMA(Var13,3,1)*(-1)+100,colorgreen,linethick1;
Var11:=(HHV(INDEXH,34)-INDEXC)/(HHV(INDEXH,34)-LLV(INDEXL,34))*100;
大盘线:SMA(Var11,3,1)*(-1)+100,colorYELLOW,linethick1;
板块:=IFS(INBLOCK('工程修建'),'工程修建',IFS(INBLOCK('电力'),'电力',IFS(INBLOCK('盘 算机 '),'盘 算机',IFS(INBLOCK('电子信息'),'电子信息',
IFS(INBLOCK('房地产'),'房地产',IFS(INBLOCK('纺织打扮'),'纺织打扮',IFS(INBLOCK('钢铁'),'钢铁',IFS(INBLOCK('供水供气'),'供水供气',
IFS(INBLOCK('化工化纤'),'化工化纤',IFS(INBLOCK('电器'),'电器',IFS(INBLOCK('交通办法'),'交通办法',IFS(INBLOCK('银行类'),'银行类',
IFS(INBLOCK('旅游旅店'),'旅游旅店',IFS(INBLOCK('煤炭煤油 '),'煤炭煤油 ',IFS(INBLOCK('酿酒食品 '),'酿酒食品',IFS(INBLOCK('农林牧渔'),'农林牧渔',
IFS(INBLOCK('贸易连锁'),'贸易连锁',IFS(INBLOCK('建材'),'建材',IFS(INBLOCK('其他行业'),'其他行业',IFS(INBLOCK('汽车类'),'汽车类',
IFS(INBLOCK('机器'),'机器',IFS(INBLOCK('医药'),'医药',IFS(INBLOCK('外贸'),'外贸 ',IFS(INBLOCK('教诲传媒'),'教诲传媒',IFS(INBLOCK('仪电仪表'),'仪电仪表',
IFS(INBLOCK('有色金属'),'有色金属',IFS(INBLOCK('造纸印刷'),'造纸印刷',IFS(INBLOCK('券商 '),'券商',IFS(INBLOCK('电力配置'),'电力配置',
IFS(INBLOCK('通讯'),'通讯',IFS(INBLOCK('运输物流'),'运输物流',IFS(INBLOCK('保险'),'保险 ',''))))))))))))))))))))))))))))))));
DRAWTEXTABS(10,5,'所属: '+板块+'指数'),COLORYELLOW;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。