大智慧夺权专家主图指标公式,大智慧风险评估指标公式
admin888
|大智慧夺权专家主图指标公式,大智慧风险评估指标公式
大智慧夺权专家主图指标公式
INPUT: M(1,0,12),N(21,3,60),N1(3,3,5),ZZ(1,1,3),M10(5,1,20);
{上面这个是具体参数。}c1:=(C+2*H+L+O)/5;
a1:=EMA((EMA(c1,1)+EMA(c1,3)+EMA(c1,5))/3,3);
a2:=EMA((EMA(c1,6)+EMA(c1,8)+EMA( c1,10))/3,3);
a3:=EMA((EMA(c1,10)+EMA(c1,12)+EMA( c1,14))/3,3);
a4:=EMA((EMA(c1,14)+EMA(c1,16)+EMA( c1,18))/3,3);
a5:=EMA((EMA(c1,18)+EMA(c1,20)+EMA( c1,22))/3,3);
a6:=EMA((EMA(c1,22)+EMA(c1,24)+EMA(c1,26))/3,3);
a:=EMA((EMA(c1,29)+EMA(c1,31)+EMA(c1,33))/3,3);
tj:=c1>a;
tj2:=c1>OPEN or c1=OPEN and c1>REF(c1,1);
STICKLINE(tj2,H,L,0.5,0),colorred;
STICKLINE(tj,O,C,8,0),color102088;
STICKLINE(tj,O,C,7,0),color102099;
STICKLINE(tj,O,C,6,0),color1020aa;
STICKLINE(tj,O,C,5,0),color1020bb;
STICKLINE(tj,O,C,4,0),color1020cc;
STICKLINE(tj,O,C,3,0),color1020dd;
STICKLINE(tj,O,C,2,0),color1020ee;
STICKLINE(tj,O,C,1,0),color1020ff;
STICKLINE(NOT(tj),O,C,8,0),colorff7700;
STICKLINE(NOT(tj),O,C,7,0),colorff8800;
STICKLINE(NOT(tj),O,C,6,0),colorff9900;
STICKLINE(NOT(tj),O,C,5,0),colorffaa00;
STICKLINE(NOT(tj),O,C,4,0),colorffbb00;
STICKLINE(NOT(tj),O,C,3,0),colorffcc00;
STICKLINE(NOT(tj),O,C,2,0),colorffdd00;
STICKLINE(NOT(tj),O,C,1,0),colorffee00;
Var2:=LLV(L,11);
Var3q:=HHV(H,25);
警戒线:= 1 ;
减仓线:= 2 ;
卖出线:= 3 ;
空头线:=1;
动力线:= EMA((C-Var2)/(Var3q-Var2)*4,4);
DRAWICON(CROSS(动力线,警戒线),h+0.01,1);
DRAWICON(CROSS(动力线,减仓线),h+0.01,3);
DRAWICON(CROSS(动力线,卖出线),H+0.01,4);
c11:=REF(C,1);
c2:=HHV(c11,2);
c3:=LLV(c11,1);
et:=HHV(c11,2);
et1:=REF(et,1);
xb:=LLV(c11,1);
xb1:=REF(xb,1);
s:=BARSLAST(C
m1q:=REF(m,1);
n9:=BARSLAST(C>et and c11<=et1);
s1:=REF(n9,1);
m2:=BARSLAST(m-n9>0 and m1q<=n1)+1;
n2:=BARSLAST(n9-m>0 and n1<=m1q)+1;
et2:=HHV(et,m2);
xb2:=LLV(xb,n2);
app:=IF(m-n9>0 and m1q<=n1,1,IF(n9-m>0 and n1<=m1q,0,2));
h11:=IF(m-n9>0,C,et2);
h2:=IF(app=1,C,c2);
h3:=IF(m-n9<0,C,xb2);
h4:=IF(app=1,C,xb2);
关键位:=IF(m-n9>0 or app=1 ,CLOSE,h3);
m1:=MA(C,3);
多空线:MA(C,8),Color00FFFF;
生命线:MA(C,21),Color00FF00;
均线变异:=IF(m1>生命线,生命线,m1);
PARTLINE(均线变异,均线变异>REF(均线变异,1) and 均线变异=生命线,RGB(255,0,0)),Color00FF00,linethick2;
WW:=(MA(C,3)+MA(C,8)+MA(C,15)+MA(C,34))/4;
DRAWICON(CROSS(C,WW),LOW-0.02,4);
DRAWICON(CROSS(WW,C),HIGH+0.04,5);
DRAWTEXT(CROSS(C,WW),LOW-0.02,' 开多'),Color0000FF;
DRAWTEXT(CROSS(WW,C),HIGH+0.06,' 多平'),Color8080FF;
STICKLINE(C
DRAWTEXT(FILTER(EMA(C,40)-EMA(C,8)>0 AND EMA(C,8)/L>1.16,3),LOW-0.02,'●'),linethick3 , COLORMAGENTA;
DRAWTEXT(FILTER(EMA(C,8)-EMA(C,40)>0 AND HIGH/EMA(C,8)>1.16,3),HIGH+0.02,'●'),linethick3 ,color99ff00;
大智慧风险评估指标公式
n:=55;
活期存款利率:=0.81*1.0;
一年期存款利率:=3.87*1.0;
三年期存款利率:=5.22*1.0;
名义无风险利率:=一年期存款利率;
风险补偿率:=0.03986;
投资期望收益率:=名义无风险利率+风险补偿率;
风险补偿率二:=0.03986;
名义无风险利二:=三年期存款利率;
i2:=名义无风险利二+风险补偿率二;
v0:=1/(1+投资期望收益率);
x0:=1/(1+i2);
m2:=1;
k1:=0.68;
k11:=0.75;
v1:=(POW(1+投资期望收益率,K1)-1)/投资期望收益率;
x1:=(POW(1+i2,K11)-1)/i2;
g:=0.03;
m:=2;
g2:=0.05;
v2:=1-POW((1+g)/(1+投资期望收益率),m-1);
x2:=1-POW((1+g2)/(1+i2),m2-1);
v3:=(1+g)*v2/(投资期望收益率-g);
x3:=(1+g2)*x2/(i2-g2);
v4:=POW(v0,k1+(m-1))/投资期望收益率;
x4:=POW(x0,k11+(m2-1))/i2;
v5:=(v1+v3);
x5:=(x1+x3);
每股收益:=FINANCE2(3);
预期每股收益:=0.278;
预期每股收益二:=0.29;
股息分配比例:=0.35;
股息分配比例二:=0.42;
红股折算股息:=0.12;
红股折算股息二:=0.09;
现金股息:=预期每股收益*股息分配比例;
现金股息二:=预期每股收益二*股息分配比例二;
基准股息:=现金股息+红股折算股息;
基准股息二:=现金股息二+红股折算股息二;
d:=基准股息;
d2:=基准股息二;
上证指数平均价:="SH000001$AMOUNT"/"SH000001$VOL"/100;
深圳成指平均价:="SZ399001$AMOUNT"/"SZ399001$VOL"/100;
沪深个股平均价:=("SH000001$AMOUNT"+"SZ399001$AMOUNT")/("SH000001$VOL"+"SZ399001$VOL")/100;
股票平均成交价:=AMOUNT/(VOL*100);
股票理论价格:=d*POW(V0,K1)*v5+d*POW(1+g,m-1)*v4;
股票理论价格二:=d2*POW(x0,K11)*x5+d2*POW(1+g2,m2-1)*x4;
股价泡沫率估算:=100*(股票平均成交价-股票理论价格)/股票理论价格/1000;
泡沫估算二:=100*(股票平均成交价-股票理论价格二)/股票理论价格二;
今成交均价:=股票平均成交价;
理论价估算:=股票理论价格;
理论价二:=股票理论价格二;
每股市盈率:=DYNAINFO(39);
股票合理市赢率:=股票理论价格/预期每股收益*100;
股票合理市赢二:=股票理论价格二/预期每股收益二;
合理市赢二:=股票合理市赢二;
十日均价泡沫估:=100*(ma(股票平均成交价,10)-股票理论价格)/股票理论价格/1000;
{趋势+逃顶参数n:40 100 55 }VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2:=SMA(VAR1,9,1)+100;
VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1)+100;
VAR6:=VAR5-VAR2;
个股升降坐标:IF(VAR6>n,VAR6-n,0),PRECIS2,colorf00ff0;
STICKLINE(REF(个股升降坐标,1)<个股升降坐标,个股升降坐标,REF(个股升降坐标,1),5,0),colorf00ff0;
STICKLINE(REF(个股升降坐标,1)>个股升降坐标,个股升降坐标,REF(个股升降坐标,1),5,0),color00ff00;
历史最高成交价:=HHV(HIGH,0);
历史最低成交价:=LLV(LOW,0);
H1:=INDEXA;
大盘短线压力:=(((INDEXC + INDEXL) + INDEXH) / 3);
XHH:=((INDEXA / INDEXV) / 100);
短线支撑:=(IF((INDEXC > 200),大盘短线压力,XHH) - INDEXL);
大盘短线支撑:=(INDEXC - 短线支撑);
VAR193:=(INDEXC + 短线支撑);
DRAWTEXTABS(20,5,'■活期存款利率:'+NUMTOSTRN(活期存款利率,2)+'%'),Color00FFFF;
DRAWTEXTABS(170,5,'■一年期存款利率:'+NUMTOSTRN(一年期存款利率,2)+'%'),Color00FFFF;
DRAWTEXTABS(325,5,'■三年期存款利率:'+NUMTOSTRN(三年期存款利率,2)+'%'),Color00FFFF;
DRAWTEXTABS(490,5,'■存款名义无风险利率:'+NUMTOSTRN(名义无风险利率,2)+'%'),Color00FFFF;
DRAWTEXTABS(20,20,'■存款风险补偿率:'+NUMTOSTRN(风险补偿率,2)+'%'),Color00FFFF;
DRAWTEXTABS(170,20,'■个股股息分配比例:'+NUMTOSTRN(股息分配比例,2)+'%'),Color00FFFF;
DRAWTEXTABS(325,20,'■个股分红折算股息:'+NUMTOSTRN(红股折算股息,2)+'元'),Color00FFFF;
DRAWTEXTABS(490,20,'■持有个股基准股息:'+NUMTOSTRN(基准股息,2)+'元/股'),Color00FFFF;
DRAWTEXTABS(20,75,'■当前每股收益:'+NUMTOSTRN(每股收益,2)+'元'),Color00FF00;
DRAWTEXTABS(175,75,'■理想预期每股收益:'+NUMTOSTRN(预期每股收益,2)+'元'),Color00FF00;
DRAWTEXTABS(345,75,'■当前每股市盈率:'+NUMTOSTRN(每股市盈率,1)+'倍'),Color00FF00;
DRAWTEXTABS(520,75,'■个股合理市赢率:'+NUMTOSTRN(股票合理市赢率,2)+'倍'),Color00FF00;
DRAWTEXTABS(680,75,'■投资期望收益率:'+NUMTOSTRN(投资期望收益率,2)+'%'),Color00FF00;
DRAWTEXTABS(20,90,'■上证指数均价:'+NUMTOSTRN(上证指数平均价,2)+'元'),ColorFFFFFF;
DRAWTEXTABS(175,90,'■深圳成指均价:'+NUMTOSTRN(深圳成指平均价,2)+'元'),ColorFFFFFF;
DRAWTEXTABS(345,90,'■沪深个股平均价:'+NUMTOSTRN(沪深个股平均价,2)+'元'),ColorFFFFFF;
DRAWTEXTABS(520,90,'■个股对应大盘平均成交价:'+NUMTOSTRN(股票平均成交价,2)+'元'),ColorFFFFFF;
DRAWTEXTABS(20,105,'■对应经济周期【股价泡沫率】估算:'+NUMTOSTRN(股价泡沫率估算,0)+'% →'),ColorFFFF00;
DRAWTEXTABS(265,105,'当前个股成交均价:'+NUMTOSTRN(今成交均价,2)+'元 →'),ColorFFFF00;
DRAWTEXTABS(440,105,'对应经济周期十日【均价泡沫率】估算:'+NUMTOSTRN(十日均价泡沫估,0)+'%'),ColorFFFF00;
DRAWTEXTABS(20,120,'■历史最高成交价:'+NUMTOSTRN(历史最高成交价,2)+'元'),Color0000FF;
DRAWTEXTABS(200,120,'■历史最低成交价:'+NUMTOSTRN(历史最低成交价,2)+'元'),Color0000FF;
DRAWTEXTABS(370,120,'■大盘短线压力: '+NUMTOSTRN(大盘短线压力,2)+'点'),Color0000FF;
DRAWTEXTABS(540,120,'■大盘短线支撑: '+NUMTOSTRN(大盘短线支撑,2)+'点'),Color0000FF;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。