好公式网用指标公式为投资注入科技力量!
您的位置:好公式网大智慧公式股评公式下载 大智慧股评

股评公式下载 大智慧股评

  • 指标公式类型:大智慧公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2018-08-18 21:39:00
  • 指标公式标签:
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:股评公式下载 大智慧股评

股评

股评

input:n2(1,1,100),n1(8,2,100),n3(10,5,100),n(9,1,100),m1(3,1,100),m2(3,1,100);
ma5:=ma(c,5);
ma10:=ma(c,10);
ma20:=ma(c,20);
ma40:=ma(c,40);
ma60:=ma(c,60);
ma125:=ma(c,125);
ma250:=ma(c,250);
bias:=(c-ma20)/ma20*100;
shopen:=open;
shhigh:=high;
shlow:=low;
shclose:=close;
shamount:=amount;
shvol:=vol;
j12:=(high - ((high - low) / 3));
j23:=(low + ((high - low) / 3));
t1:=(((if((close = open),1,0) + if((close >= j12),1,0)) + if((close <= j23),1,0)) > 1);
t2:=((((close > j23) and (close < j12)) and (open > j23)) and (open < j12));
t3:=((close >= j12) and (open <= j23));
t4:=(((open <= j12) and (open >= j23)) and (close > j12));
t5:=(((open <= j23) and (close <= j12)) and (close >= j23));
t6:=((close <= j23) and (open >= j12));
t7:=(((open <= j12) and (open >= j23)) and (close < j23));
t8:=(((open >= j12) and (close <= j12)) and (close >= j23));
t9:=(((shamount / shvol) / 100) > ref(high,1));
t10:=(((shamount / shvol) / 100) < ref(low,1));
if dispstatus=2 then begin;
var1000:='.';
if t1>0 then var1000:=var1000+'☆极端行情,在未来的几日内有85%的机会变更方向。';
if t2>0 then var1000:=var1000+'☆中性行情,多空双方都未能取得当日行情主动性的控制权';
if t3>0 then var1000:=var1000+'☆爬升行情,整个交易期间都有买方主导。';
if t4>0 then var1000:=var1000+'☆爬升行情,信息较少,但收盘期间是买方主导,其他未知。';
if t5>0 then var1000:=var1000+'☆爬升行情,买方把收盘价拉升到开盘价之上,卖方却也主导一段行情,但不知道是谁主导最后的行情。';
if t6>0 then var1000:=var1000+'☆漂流行情,整个交易期间都有卖方主导。';
if t7>0 then var1000:=var1000+'☆漂流行情,信息最少,但收盘期间是卖方主导,其他未知。';
if t8>0 then var1000:=var1000+'☆漂流行情,卖方把收盘价压至到开盘价之下,买方却也主导一段行情,但不知道是谁主导最后的行情。';
if t9>0 then var1000:=var1000+'☆上涨趋势。';
if t10>0 then var1000:=var1000+'☆下跌趋势。';
if ma20>=ma60 and cross(ma40,ma60) then var1000:=var1000+'☆形成季托,待股价回落到20天均线或40天均线时介入,20天均价为:'+ma20+' 。';
if bias>9.5 and (c-ref(c,1))/ref(c,1)*100<9.8 then var1000:=var1000+'☆短线涨幅过大,有整理要求。';
if ma20>=ma60 and h>=ma20 and l<=min(ma40,ma60) and c>o and c>ref(c,1) then var1000:=var1000+'☆芙蓉出水,趋势向好。';
if bias<-18 and (c-ref(c,1))/ref(c,1)*100>-9.8 then var1000:=var1000+'☆股价严重超跌,有爆发要求。';
if bias<-7 and all(close<open,5) then var1000:=var1000+'☆连收五阴,超跌有反弹要求。';
if abs(high-ref(high,1))/high<0.001 then var1000:=var1000+'☆平顶,-该高点有一定阻力。';
if abs(low-ref(low,1))/low<0.001 and abs(ref(low,1)-ref(low,2))/ref(low,1)<=0.00 then var1000:=var1000+'☆平底,该低点有一定支撑。';
if close=open and high<>close and low<>close and high/low > 1.03 then var1000:=var1000+'☆ 长十字,多空激争 前途未明。';
if open/close > 1.05 and high/low < open/close+0.018 then var1000:=var1000+'☆ 大阴烛,今日空方有绝对优势。';
if ref(close,1)<ref(open,1) and close<open and close/open<0.98 then var1000:=var1000+'☆双飞乌鸦,多头力竭,行情走软。';
if (min(close,open)-low)/(high-low)>0.667 then var1000:=var1000+'☆长下影,下档支撑强或空方试探进攻。';
if (high-max(close,open))/(high-low)>0.667 then var1000:=var1000+'☆长上影,上档阻力大或多方试探进攻。';
if close=open and close=low and close<>high then var1000:=var1000+'☆垂死十字,在顶部时重要 表强力多头开始疲软。';
if high=close and high<>low then var1000:=var1000+'☆光头阳线,今日尾盘多方气盛,行情可能延续到明天。';
if (high<ref(low,1) or low>ref(high,1)) then var1000:=var1000+'☆跳空缺口,当日未补,有与跳空同向进行,上涨欲望强烈,三日内为回补观察期。';
if low=close and high<>low then var1000:=var1000+'☆赤脚阴线,尾盘空方胜。 注意股价下跌延续至次日。';
if close=open and high<>close and low<>close and high <>close then var1000:=var1000+'☆十字星,警告信号。原趋势停顿或反转,依上下影线长度判后市。';
if close/open>1.05 and high/low < close/open+0.018 then var1000:=var1000+'☆大阳烛,上升行情中意味行情剧烈向上攀升;下跌行情中意味行情剧烈向上反弹。';
if ref(close,2)/ref(open,2) < 0.95 and ref(open,1) < ref(close,2) and ref(open,1)=ref(close,1)and close/open>1.05 and close>ref(close,2) then
var1000:=var1000+'☆早晨十字,如同晨星。 从看空平衡到看涨转强;左右跳空曰弃婴 。';
if ref(close,4)/ref(open,4)>1.03 and ref(close,3)<ref(open,3) and ref(close,2)<ref(open,2) and ref(close,1)<ref(open,1) and ref(low,4)<ref(low,3) and ref(low,4)<ref(low,2) and ref(low,4)<ref(low,1) and ref(high,4)>ref(high,3) and ref(high,4)>ref(high,2) and ref(high,4)>ref(high,1) and close/open>1.03 and close>ref(close,4) then var1000:=var1000+'☆上升三部曲,空方卖压被吸纳。 趋势易顺势走涨。';
if (ref(high,2) -ref(o,2))/ref(high,2)<=0.0003 and (c-low)/o<=0.0003 and ref(c,2)<ref(o,2) and ref(c,2)>ref(o,1) and ref(c,1)>o and ref(c,1)<ref(o,1) and ref(high,1)-ref(o,1)>0 and ref(low,1)-ref(c,1)<0 and high-o>0 and ref(c,2)-ref(low,2)>0 then var1000:=var1000+'☆三胎乌鸦,多头走势被扭转。黑k价愈深量愈大,跳空愈大,反转信号愈强。';
if ((ref(close,1)<ref(open,1) and close>open and abs(close-ref(close,1))/close<0.002) or (ref(close,1)>ref(open,1) and close<open and abs(close-ref(close,1))/close<0.002)) then
var1000:=var1000+'☆友好反攻,阴(阳)线结合,极线多方跳低(高)后反弹有企稳迹象 。';
if close<>open and min(open,close)=low and high-low > 3*(max(open,close)-low) and close > ma(close,5) then
var1000:=var1000+'☆射击之星,如伴大量上遇阻力,有短期见顶可能,股价转疲。';
if ref(close,1)-ref(open,1)<0 and close-open>0 and open-ref(close,1)<0 and close<ref(open,1) and close>ref(close,1) and close>(ref(close,1)+ref(open,1))/2 then
var1000:=var1000+'☆贯穿线,多头力道的反扑或是空单回补力道。长黑之后开低收在前天1/2之上,为多头反转信号。';
if abs(ref(close,1)-ref(open,1))/ref(close,1) > 0.04 and abs(close-open)/close<0.005 and max(close,open) < max(ref(close,1),ref(open,1)) and min(close,open) > min(ref(close,1),ref(open,1)) then
var1000:=var1000+'☆身怀六甲,阴(阳)怀阳(阴),怪异的走势,显示该股行情可能转向。 若量由大转缩,下跌趋势更明确。';
if (ref(c,1)-ref(o,1)<0 and c-o>0 and c>ref(o,1) and o<ref(c,1)) then
var1000:=var1000+'☆多头阳线吞噬,红包黑。反转趋势需量能配合量。 ';
if ((ref(c,2)-ref(o,2)>0 and (abs(ref(c,2)-ref(o,2)))/(abs(ref(c,3)-ref(o,3)))>2.4 and abs(c-o)>3 and abs(ref(c,2)-ref(o,2))>(abs(ref(c,1)-ref(o,1))) and ref(c,1)-ref(o,1)>0 and c-o<0 and ref(o,1) >ref(c,2) and o<ref(o,1) and c<ref(c,2) and c>ref(o,2)) or (ref(c,2)-ref(o,2)>0 and (abs(ref(c,2)-ref(o,2)))/(abs(ref(c,3)-ref(o,3)))>2.4 and abs(c-o)>3 and (abs(ref(c,2)-ref(o,2)))>(abs(ref(c,1)-ref(o,1))) and ref(c,1)-ref(o,1)<0 and c-o<0 and ref(c,1) >ref(c,2) and c<ref(c,2) and c>ref(o,2) and o<ref(c,1))) then
var1000:=var1000+'☆夜星,从看多平衡到看空转弱,转空。 ';
if abs(ref(close,1)-ref(open,1))/ref(close,1) > 0.04 and close=open and close < max(ref(close,1),ref(open,1)) and close > min(ref(close,1),ref(open,1)) then
var1000:=var1000+'☆十字胎,似身怀六甲,转向可能性更大,量缩观望为宜 。';
if ref(c,1)<ref(o,1) and c-o>0 and c>ref(h,1) and o<ref(l,1) and ref(o,1)>ref(max(o,c),2) and ref(c,1)>ref(min(o,c),2) and ref(max(o,c),2)>ref(max(o,c),3) then
var1000:=var1000+'☆ 双人殉情 ,在上升趋势中最后之空头吞噬,也就是所谓的不见长红不回头。 ';
if (ref(c,1)-ref(o,1)>0 and c-o<0 and c<ref(o,1) and o>ref(c,1)) then
var1000:=var1000+'☆阴线吞噬,黑包红,向空反转。 ';
if ref(close,1)/ref(open,1)<0.97 and close/open>1.03 and open<ref(close,1) and close>ref(close,1) then var1000:=var1000+'☆曙光,与乌云盖顶相反,行情将演化为v型反转或止跌横盘趋势 。';
if (ref(c,1)-ref(o,1)<0 and c-o>0 and c<ref(o,1) and o>ref(c,1)) then
var1000:=var1000+'☆多头孕育线,阴育阳。多头反转可能。';
if (ref(c,1)-ref(o,1)>0 and (abs(ref(c,1)-ref(o,1)))/(abs(ref(c,2)-ref(o,2)))>2.4 and c-o<0 and c>ref(o,1) and ref(c,1)-o>2) then
var1000:=var1000+'☆空头孕育线,阳育阴。看空 。';
if (ref(c,1)-ref(o,1)<0 and c-o<0 and c>ref(c,1) and o<ref(o,1) and o-c <6) then
var1000:=var1000+'☆空头孕育线,阴育阴。看空。';
if ref(close,2)<ref(open,2) and ref(close,1)<ref(open,1) and close<open and ref(close,1)<ref(close,2) and close<ref(close,1) then
var1000:=var1000+'☆三只乌鸦,强烈转空趋势。三黑k价越深量越大越易下跌。';
if ref(close,4)/ref(open,4)<0.97 and ref(close,3)>ref(open,3) and ref(close,2)>ref(open,2) and ref(close,1)>ref(open,1) and ref(low,4)<ref(low,3) and ref(low,4)<ref(low,2) and ref(low,4)<ref(low,1) and ref(high,4)>ref(high,3) and ref(high,4)>ref(high,2) and ref(high,4)>ref(high,1) and close/open<0.97 and close<ref(close,4) then
var1000:=var1000+'☆下跌三部曲,多方弱势不堪一击,趋势易顺势走跌。';
if ref(close,4)/ref(open,4)>1.02 and ref(close,3)<ref(open,3) and ref(close,2)<ref(open,2) and ref(close,1)<ref(open,1) and ref(close,4)<=ref(close,3) and ref(high,2)<ref(high,3) and ref(low,2)>=ref(open,4) and ref(high,1)<ref(close,4) and ref(low,1)>ref(open,4) and close/open>1.01 and open>=ref(open,1) and close>=ref(high,3) then
var1000:=var1000+'☆连续型态之执垫,比上升三法更具多头意义。';
if ref(o,1)/ref(c,1) > 1.05 and ref(h,1)/ref(l,1) < ref(o,1)/ref(c,1)+0.018 and c>o and o<ref(l,1) and c=ref(l,1) then
var1000:=var1000+'☆颈上线,下降趋势。若第二天大量,维持原趋势可能星大增。';
if (ref(c,1)-ref(o,1)>0 and (abs(ref(c,1)-ref(o,1)))/(abs(ref(c,2)-ref(o,2)))>2.5 and c-o<0 and c>ref(o,1) and c<(ref(close,1)+ref(open,1))/2 and o>ref(c,1)) then
var1000:=var1000+'☆乌云罩顶,上涨遇重大阻力。空头聚力。';
if (ref(c,1)-ref(o,1)>0 and c-o<0 and c<ref(o,1) and o>ref(c,1)) then
var1000:=var1000+'☆最后吞噬,在下降趋势中为一黑一红组合;多头吞噬,在上升趋势中为一红一黑组合,空头吞噬。';
if ref(open,1)<>ref(close,1) and ref(close,2)/ref(open,2) < 0.95 and ref(open,1) < ref(close,2) and abs(ref(open,1)-ref(close,1))/ref(close,1)<0.03 and close/open>1.05 and close>ref(close,2) then
var1000:=var1000+'☆晨星,多方势盛 变盘信号';
if min(open,close)=low and high-low > 3*(max(open,close)-low) and close < ma(close,5) then var1000:=var1000+'☆ 倒转槌头 -高位抛压 低位多空争执';
if high = max(open,close) and high-low > 3*(high-min(open,close)) and close < ma(close,5) then var1000:=var1000+'☆槌头,下影线有多头意义。在下降趋势之后看涨。注意反弹卖压 。';
if high = max(open,close) and high-low > 3*(high-min(open,close)) and close > ma(close,5) then var1000:=var1000+'☆吊颈线,高档看跌。';
if ((ref(close,1)/ref(open,1)>1.03 and close/open<0.96 and close<ref(open,1) and open>ref(close,1)) or (ref(close,1)/ref(open,1)<0.97 and close/open>1.04 and close>ref(open,1) and open<ref(close,1))) then
var1000:=var1000+'☆ 穿头破脚 -若第一根k为阴(阳) 表强劲上涨(下跌)力量。';
if ref(open,1)<>ref(close,1) and ref(close,2)/ref(open,2) > 1.03 and ref(open,1) > ref(close,2) and abs(ref(open,1)-ref(close,1))/ref(close,1)<0.02 and close/open<0.97 and close<ref(close,2) then
var1000:=var1000+'☆黄昏之星,空方势盛。反转信号,跳空成弃婴。';
if ref(close,2)>ref(open,2) and (ref(close,2)-ref(open,2))/ref(open,2)>=2/100 and ref(open,1)>=ref(close,1) and (ref(open,1)-ref(close,1))/ref(close,1)<=2/100 and ref(open,1)<=ref(close,2) and ref(close,1)>=ref(open,2) and c>=open and (close-open)/open>=2/100 and close>=ref(open,1) and open<=ref(close,1) and (max(close,ref(c,2))-min(close,ref(close,2)))/min(close,ref(close,2))<=1/100 then var1000:=var1000+'☆二阳夹一阴,必须从后续的走势来研判。';
if open=ref(open,1) and (close-open)*(ref(close,1)-ref(open,1))<0 then
var1000:=var1000+'☆ 分离 -两日开盘相同 一阴一阳 变盘前彻底整理。';
if ((o>c and open>ma(c,5) and open>ma(c,10) and o>ma(c,20) and close<ma(c,5) and close<ma(c,10) and close<ma(c,20)) or (o<c and open<ma(c,5) and open<ma(c,10) and o<ma(c,20) and close>ma(c,5) and close>ma(c,10) and close>ma(c,20))) then var1000:=var1000+'☆断头铡刀(出水芙蓉) -一根大阴(阳)线切断了三根均线 如果改变了其后均线的排列为空头(多头)排列 后势看空(多) 。';
end;
tiptext(dispstatus=2,0,var1000);
a:="ltfunc5@forlt2"; {计算bs点}
s1:="ltfunc5@lt_s1"; {s1=0,向下; s1=1,向上}
hs:="ltfunc5@lt_hs"; {短线买入机会}
ls:="ltfunc5@lt_ls"; {短线卖出机会}
p1:="ltfunc5@lt_p1"; {p1=1,显示bs,p1上穿0线,b点 ; p1下穿1线,s点}
upp:="ltfunc5@lt_upp";{明日b点预测}
udd:="ltfunc5@lt_udd";{明日s点预测}
var22:=(close+high+low)/3;
var33:=ema(var22,10);
var44:=ref(var33,1);
fillrgn(var33,var44,var33 > var44),color0000ff;
fillrgn(var44,var33,var33 < var44),color00ff00;
aa2:=vol/((high-low)*2-abs(close-open));
买量2:=if(close>open,aa2*(high-low),if(close<open,aa2*((high-open)+(close-low)),vol/2));
卖量2:=if(close>open,0-aa2*((high-close)+(open-low)),if(close<open,0-aa2*(high-low),0-vol/2));
ddx2:=(买量2+卖量2)/(买量2-卖量2);
d12:=ema(abs(ddx2),60); {ddx绝对值60日指数平滑移动平均}
d22:=max(ddx2/d12+7.5,7.5);
d32:=min(ddx2/d12,10); {能量级别:当日ddx与60日平均值的比值,最高10.0}

k1:=if(close>=ref(close,1),high-open+close-low+close-ref(close,1),high-open+close-low);
k2:=if(close<=ref(close,1),open-low+high-close+ref(close,1)-close,open-low+high-close);
dt:=vol*k1/(k1+k2);
kt:=vol-dt;
买量:=sum(dt,1);
卖量:=sum(kt,1);
ddx3:=ema(买量-卖量,5)*vol/sum(vol,60)*0.001;
d11:=ema(abs(ddx3),60); {ddx绝对值60日指数平滑移动平均}
d21:=max(ddx3/d11+7.5,7.5);
d31:=min(ddx3/d11,10); {能量级别:当日ddx与60日平均值的比值,最高10.0}
tt:=(open+high+low+close)/4;
aa:=if(between(c,tt,h) or c=o,vol,0);
bb:=if(between(c,tt,l),vol,0);
cc:=if(aa and bb,0,vol/3);ddxj:=10*(aa-(bb+cc))/if(capital<1,sum(vol,13),capital);
jj:=(high+low+close)/3;qj0:=vol/if(high=low,4,high-low);
qj1:=if(capital=0,qj0*(jj-min(close,open)),qj0*if(high=low,1,(min(open,close)-low)));
qj2:=if(capital=0,qj0*(min(open,close)-low),qj0*if(high=low,1,(jj-min(close,open))));
qj3:=if(capital=0,qj0*(high-max(open,close)),qj0*if(high=low,1,(high-max(open,close))));
qj4:=if(capital=0,qj0*(max(close,open)-jj),qj0*if(high=low,1,(max(close,open)-jj)));
ddxqj:=((qj1+qj2)-(qj3+qj4))/sum(vol,60);

dj11:=ema(abs(ddxqj),60); {ddx绝对值60日指数平滑移动平均}
dj21:=max(ddxqj/dj11+7.5,7.5);
dj31:=min(ddxqj/dj11,10); {能量级别:当日ddx与60日平均值的比值,最高10.0}
dj1:=ema(abs(ddxj),60); {ddx绝对值60日指数平滑移动平均}
dj2:=max(ddxj/dj1+7.5,7.5);
dj3:=min(ddxj/dj1,10); {能量级别:当日ddx与60日平均值的比值,最高10.0}
{hs;ls;hhs;lls;us;ds;s1;p1;p0;upp;udd};
d1:=ema(abs("ddx.ddx"),60); {ddx绝对值60日指数平滑移动平均}
d2:=max("ddx.ddx"/d1+7.5,7.5);
d3:=min("ddx.ddx"/d1,10); {能量级别:当日ddx与60日平均值的比值,最高10.0}
fb:=if(s1=0,hs,ls);
tr0:=ifs(p1=1,'明日收盘价<'+numtostrn(udd,2)+',出现s点\n','若明日收盘价>'+numtostrn(upp,2)+',出现b点\n');
tr1:=ifs(s1=1,'明日收盘价<'+numtostrn(ls,2)+',短线卖出机会','若明日收盘价>'+numtostrn(hs,2)+'短线买入机会');
tr2:=ifs(p1=1,ifs(cross(p1,0),'b点','持股'),ifs(cross(1,p1),'s点','持币'));
tr3:=ifs(s1=0,'向下,','向上,');
tr4:='3.能量级别:'+numtostrn(d3,1)+'级/'+numtostrn(dj3,1)+'级/'+numtostrn(dj31,1)+'级/'+numtostrn(d31,1)+'级/'+numtostrn(d32,1)+'级';

bs:=datestr(date)+'买卖点决策系统提示\n'+'1.bs点:'+tr2+','+tr0+'2.短线:'+tr3+tr1+'\n'+tr4;
drawflagtext(1,fb,bs);

stickline(p1=1 and c>=o and o<>0,c,o,d2,0),color5454ff;
stickline(p1=1 and c>=o and o<>0,c,o,7.5,0),colorblack;
stickline(p1=1 and c>=o and o<>0,c,c,7.5,0),color5454ff;
stickline(p1=1 and c>=o and o<>0,o,o,7.5,0),color5454ff;
stickline(p1=1 and c>=o and o<>0,o,c,7.5,1),color5454ff;
stickline(p1=1 and c<=o,o,c,7.5,1),color5454ff;
stickline(p1=1 and c<=o,l,c,0.5,1),color5454ff;
stickline(p1=1 and c<=o,h,o,0.5,1),color5454ff;

stickline((p1<>1 or barscount(c)<3) and c>=o,c,o,7.5,1),colorffff54;
stickline((p1<>1 or barscount(c)<3) and c>=o,c,h,0.5,1),colorffff54;
stickline((p1<>1 or barscount(c)<3) and c>=o,l,o,0.5,1),colorffff54;

drawbmp(p1=1 and ref(p1,1)=0,l,'buy1.bmp'),align1,valign0;
drawbmp(p1=0 and ref(p1,1)=1,h,'sell1.bmp'),align1,valign2;

drawbmp(s1=1 and ref(s1,1)=0 and (p1+ref(p1,1))<>1,l,'bs.bmp'),align1,valign0;
drawbmp(s1=0 and ref(s1,1)=1 and (p1+ref(p1,1))<>1,h,'ss.bmp'),align1,valign2;tjts1:=barstatus=2 and c<200;

a4:=ma(close,20);
a5:=(close > ma(close,5));
a6:=(ma(close,5) > ma(close,10));
a7:=(close > ma(close,10));
a8:=(ma(close,5) > ma(close,20));
a9:=(close > ma(close,20));
a10:=ref(a4,1);
a11:=(a4 > a10);
avx:=(((((if(a5,10,(0 - 10)) + if(a6,10,(0 - 10))) + if(a7,10,(0 - 10))) + if(a8,10,(0 - 10))) + if(a9,10,(0 - 10))) + if(a11,10,(0 - 10)));
dslx:=(close / indexc);
dslx1:=ma(dslx,5);
dslx2:=ma(dslx,10);
v1:=ma(vol,5);
v2:=ma(vol,10);
mc:=ref(c,1);
阻力位:=if((close > 200),(close * 1.01),(close * 1.07));
阻力位1:=if((close < 10),(close * 1.05),阻力位);
止损位:=if((close > 200),(close * 0.99),(close * 0.93));
止损位1:=if((close < 10),(close * 0.95),止损位);

阻力位a:=if((mc > 200),(mc * 1.01),(mc * 1.07));
阻力位2:=if((mc < 10),(mc * 1.05),阻力位a);
止损位b:=if((mc > 200),(mc * 0.99),(mc * 0.93));
止损位2:=if((mc < 10),(mc * 0.95),止损位b);

tjts1:=barstatus=2 and c<200;
tjts2:=barstatus=2 and c>200;
drawtextabs(58,20,'[昨/今日 止损位 :'+numtostrn(止损位b,2)+'/'+numtostrn(止损位1,2)+'**]'),linethick1,color00ff00;
drawtextabs(58,35,'[昨/今日 阻力位 :'+numtostrn(阻力位2,2)+'/'+numtostrn(阻力位1,2)+']'),linethick1,colorfebaf5;

t := barslast(dispstatus=1)+1;
hhg := hhv(h, t);
ddg := llv(l, t);
{hk := ll-hh; g12 := ll-hk*1.55; }
k2:=hhv(h*1.03,barslast(dispstatus=1)+1);
drawtext(tjts1 and ((cross(avx,1) and (v1 >= v2)) and (dslx >= dslx1)) ,k2*0.99,'★该股的量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右。 '),align2,color0000ff,linethick2;
drawtext(tjts1 and ((cross(avx,1) and (v1 < v2)) and (dslx >= dslx1)) ,k2*0.99,'★该股虽然走势趋强,但量能还显不足,可以考虑短线进场,仓位在1/2左右。 '),align2,color0000ff,linethick2;
drawtext(tjts1 and ((cross(avx,1) and (v1 > v2)) and (dslx < dslx1)) ,k2*0.99,'★该股量价配合良好,但相对其它股票并没有明显走强,可以考虑短线进场,仓位1/2左右。 '),align2,color0000ff,linethick2;
drawtext(tjts1 and ((cross(avx,1) and (v1 <= v2)) and (dslx < dslx1)) ,k2*0.99,'★该股形态尚可,但量能不足,股票也未完全走强,可以短线参与,仓位1/3左右。 '),align2,color0000ff,linethick2;
drawtext(tjts1 and ((cross(1,avx) and (v1 >= v2)) and (dslx >= dslx1)) ,k2*0.99,'★该股形态变坏,但走势相对其它股票尚可,重仓者减持大半,清仓者可以观望。 '),align2,color00ff00,linethick2;
drawtext(tjts1 and ((cross(1,avx) and (v1 < v2)) and (dslx >= dslx1)) ,k2*0.99,'★该股随大盘一起下跌,程明显缩量走势,考虑到大盘风险,减持或清仓。 '),align2,color00ff00,linethick2;
drawtext(tjts1 and ((cross(1,avx) and (v1 >= v2)) and (dslx < dslx1)) ,k2*0.99,'★该股放量下跌,走势明显偏弱,离场观望。 '),align2,color00ff00,linethick2;
drawtext(tjts1 and ((cross(1,avx) and (v1 < v2)) and (dslx < dslx1)) ,k2*0.99,'★该股缩量下跌,走势偏弱,离场观望。 '),align2,color00ff00,linethick2;
drawtext(tjts1 and ((((avx >= 1) and (ref(avx,1) > 0)) and (v1 >= v2)) and (dslx >= dslx1)) ,k2*0.99,'★该股形态良好,强势明显,量能充足,可以继续持有。 '),align2,color00ffff,linethick2;
drawtext(tjts1 and ((((avx >= 1) and (ref(avx,1) > 0)) and (v1 < v2)) and (dslx >= dslx1)) ,k2*0.99,'★该股上行趋势不变,强势依然,但量能开始转弱,注意风险。 '),align2,color00ffff,linethick2;
drawtext(tjts1 and ((((avx >= 1) and (ref(avx,1) > 0)) and (v1 >= v2)) and (dslx < dslx1)) ,k2*0.99,'★该股仍然具备上涨潜力,但股性偏弱,可考虑减仓。 '),align2,color00ffff,linethick2;
drawtext(tjts1 and ((((avx >= 1) and (ref(avx,1) > 0)) and (v1 < v2)) and (dslx < dslx1)) ,k2*0.99,'★该股走势趋弱,量能不足,减持大部分筹码。 '),align2,color00ffff,linethick2;
drawtext(tjts1 and ((((avx < 1) and (ref(avx,1) < 0)) and (v1 >= v2)) and (dslx >= dslx1)) ,k2*0.99,'★该股形态不佳,注意成交量的变化,但目前不适合参与。 '),align2,linethick2;
drawtext(tjts1 and ((((avx < 1) and (ref(avx,1) < 0)) and (v1 < v2)) and (dslx >= dslx1)) ,k2*0.99,'★该股趋势不明,股价偏弱,注意量能变化,目前不宜参与。 '),align2,linethick2;
drawtext(tjts1 and ((((avx < 1) and (ref(avx,1) < 0)) and (v1 >= v2)) and (dslx < dslx1)) ,k2*0.99,'★该股有走强迹象,但量能不足,趋势不明,不适合操作。 '),align2,linethick2;
drawtext(tjts1 and ((((avx < 1) and (ref(avx,1) < 0)) and (v1 < v2)) and (dslx < dslx1)) ,k2*0.99,'★该股走势太弱,没有参与价值。 '),align2,linethick2;
drawtext(tjts2 and (cross(avx,1) and (v1 >= v2)) ,k2*0.99,'★大盘量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右, '),align2,color0000ff;
drawtext(tjts2 and (cross(avx,1) and (v1 >= v2)) ,k2*0.98,'★如前期经过一轮下跌,此时为最佳买点,但如果前期有过一段涨幅则介入需谨慎。 '),align2,color0000ff,linethick2;
drawtext(tjts2 and (cross(avx,1) and (v1 < v2)) ,k2*0.99,'★大盘虽然走势趋强,但量能还显不足,如果前期经过一轮下跌, '),align2,color0000ff,linethick2;
drawtext(tjts2 and (cross(avx,1) and (v1 < v2)) ,k2*0.98,' ★可以考虑短线进场,仓位在1/2左右,一旦量能放大可以加仓买入。 '),align2,color0000ff,linethick2;
drawtext(tjts2 and (cross(1,avx) and (v1 >= v2)) ,k2*0.99,'★大盘形态走坏,重仓者可以减去大部分仓位。 '),align2,color00ff00,linethick2;
drawtext(tjts2 and (cross(1,avx) and (v1 < v2)) ,k2*0.99,'★大盘缩量调整,注意风险,短线清仓观望。 '),align2,color00ff00,linethick2;
drawtext(tjts2 and (((avx >= 1) and (ref(avx,1) > 0)) and (v1 >= v2)) ,k2*0.99,'★大盘走势良好,量能理想,可以继续持有强势股。 '),align2,color00ffff,linethick2;
drawtext(tjts2 and (((avx >= 1) and (ref(avx,1) > 0)) and (v1 < v2)) ,k2*0.99,'★大盘形态良好,但量能稍显不足,随时准备减仓。 '),align2,color00ffff;
drawtext(tjts2 and (((avx < 1) and (ref(avx,1) < 0)) and (v1 >= v2)) ,k2*0.99,'★大盘趋势不明,注意成交量变化,目前不适宜进场。 '),align2,linethick2;
drawtext(tjts2 and (((avx < 1) and (ref(avx,1) < 0)) and (v1 < v2)) ,k2*0.99,'★大盘趋势向下,量能萎缩,不适合进场。 '),align2,linethick2;

drawtextabs(10,5,'点击右边版面中的"评"字,将呈现自动技术股评'),colorff00ff,linethick1;

c1a:=c/ref(ema(c,30),30);
c2a:=indexc/ref(ema(indexc,30),30);
l1:=c1a/c2a*10-10;
c3a:=c/ma(c,60);
c4a:=indexc/ma(indexc,60);
l2:=c3a/c4a*10-10;
c5a:=c/ma(c,120);
c6a:=indexc/ma(indexc,120);
l3:=c5a/c6a*10-10;
l4:=ma(l1+l2+l3,5);
诊断3:=ifs(ref(l4,1)>0 and ref(l4,1)>ref(l4,2),'该股中长期走势强于大盘,且近期继续走强。','')+
ifs(ref(l4,1)>0 and ref(l4,1)<=ref(l4,2),'该股中长期走势强于大盘,但近期有所走弱。','')+
ifs(ref(l4,1)<=0 and ref(l4,1)>ref(l4,2),'该股中长期走势弱于大盘,但近期有所转强。','')+
ifs(ref(l4,1)<=0 and ref(l4,1)<=ref(l4,2),'该股中长期走势弱于大盘,且近期继续走弱。','');
drawtextabs(10 ,55, 诊断3),linethick2,colorred;

均价:=(3*c+h+l+o)/6;
var1:=(8*均价+7*ref(均价,1)+6*ref(均价,2)+5*ref(均价,3)+
4*ref(均价,4)+3*ref(均价,5)+2*ref(均价,6)+ref(均价,8))/36;
var2:=(llv(var1,2)+llv(var1,4)+llv(var1,6))/3;
sz1:=ref(var1,1)=ref(var2,1) and var1>var2 and close>var1;
sz2:=var1>var2 and var1>ref(var1,1) and var2>ref(var2,1)
and h/var1<1.1 and l>var2 and close>var1;
sz3:=var1>var2 and var1>ref(var1,1) and var2>=ref(var2,1) and h/var1>1.1;
sz4:=var1>var2 and var1>ref(var1,1) and var2>ref(var2,1)
and close>var2 and close<var1;
sz5:=(var1>var2 and var2>ref(var2,1) and var1<>ref(var1,1)
and close<var2) or (var1>var2 and var1<ref(var1,1)
and var2<ref(var2,1) and close<var2);;
sz6:=ref(var1,1)>ref(var2,1) and var1=var2 and close<var2;
xd1:=var1=var2 and close<var2 or (var1<ref(var1,1) and var2<ref(var2,1)
and ref(var1,1)=ref(var2,1) and close<var2);
xd2:=var1=var2 and close>var1;

if barstatus=2 and sz1 then begin
drawtextabs(10,70,'调整结束短线介入'),linethick2,colorred;
end
else
if barstatus=2 and sz2 then begin
drawtextabs(10,70,'上升通道走势良好'),linethick2,colorred;
end
else
if barstatus=2 and sz3 then begin
drawtextabs(10,70,'股价偏离注意调整'),linethick2,colorred;
end
else
if barstatus=2 and sz4 then begin
drawtextabs(10,70,'上升通道调整洗盘'),linethick2,colorgreen;
end
else
if barstatus=2 and sz5 then begin
drawtextabs(10,70,'转向特征注意离场'),linethick2,colorgreen;
end
else
if barstatus=2 and sz6 then begin
drawtextabs(10,70,'通道改变坚决离场'),linethick2,colorgreen;
end
else
if barstatus=2 and xd1 then begin
drawtextabs(10,70,'下跌通道只宜观望'),linethick2,colorgreen;
end
else
if barstatus=2 and xd2 then begin
drawtextabs(10,70,'短期底部准备进入'),linethick2,coloryellow;
end;

早晨之星:=ref(close,2)/ref(open,2)<0.95 and ref(open,1)<ref(close,2) and abs(ref(open,1)-ref(close,1))/ref(close,1)<0.03 and close/open>1.05 and close>ref(close,2);
黄昏之星:=ref(close,2)/ref(open,2)>1.03 and ref(open,1)>ref(close,2) and abs(ref(open,1)-ref(close,1))/ref(close,1)<0.02 and close/open<0.97 and close<ref(close,2);
长十字:=close=open and high/low >1.03;
垂死十字:=close=open and close=low and close<>high;
早晨十字星:=ref(close,2)/ref(open,2)<0.95 and ref(open,1)<ref(close,2) and ref(open,1)=ref(close,1) and
close/open>1.05 and close>ref(close,2);
黄昏十字星:=ref(close,2)/ref(open,2)>1.05 and ref(open,1)>ref(close,2) and ref(open,1)=ref(close,1) and
close/open<0.95 and close<ref(close,2);
射击之星:=min(open,close)=low and high-low>3*(max(open,close)-low) and close>ma(close,5);
倒转锤头:=min(open,close)=low and high-low>3*(max(open,close)-low) and close<ma(close,5);
锤头:=high = max(open,close) and high-low>3*(high-min(open,close)) and close<ma(close,5);
吊颈:=high = max(open,close) and high-low>3*(high-min(open,close)) and close>ma(close,5);
穿头破脚:=(ref(close,1)/ref(open,1)>1.03 and close/open<0.96 and close<ref(open,1) and open>ref(close,1))
or (ref(close,1)/ref(open,1)<0.97 and close/open>1.04 and close>ref(open,1) and open<ref(close,1));
乌云盖顶:=ref(close,1)/ref(open,1)>1.03 and close/open<0.97 and open>ref(close,1) and close<ref(close,1);
曙光初现:=ref(close,1)/ref(open,1)<0.97 and close/open>1.03 and open<ref(close,1) and close>ref(close,1);
身怀六甲:=abs(ref(close,1)-ref(open,1))/ref(close,1)>0.04 and abs(close-open)/close<0.005 and
max(close,open)<max(ref(close,1),ref(open,1)) and min(close,open)>min(ref(close,1),ref(open,1));
十字胎:=abs(ref(close,1)-ref(open,1))/ref(close,1)>0.04 and close=open and
close < max(ref(close,1),ref(open,1)) and close > min(ref(close,1),ref(open,1));
平顶:=abs(high-ref(high,1))/high<0.001;
平底:=(abs(low-ref(low,1))/low<0.001 and abs(ref(low,1)-ref(low,2))/ref(low,1)<=0.001);
大阳烛:=close/open>1.05 and high/low<close/open+0.018;
三个白武士:=ref(close,2)>ref(open,2) and ref(close,1)>ref(open,1) and close>open
and ref(close,1)>ref(close,2) and close>ref(close,1);
双飞乌鸦:=ref(close,1)<ref(open,1) and close<open and close/open<0.98;
孕育线:=ref(close,2)>ref(open,2) and (ref(close,2)-ref(open,2))/ref(open,2)>=2/100 and ref(open,1)>=ref(close,1) and
(ref(open,1)-ref(close,1))/ref(close,1)<=2/100 and ref(open,1)<=ref(close,2) and ref(close,1)>=ref(open,2) and c>=open and
(close-open)/open>=2/100 and close>=ref(open,1) and open<=ref(close,1) and (max(close,ref(c,2))-min(close,ref(close,2)))/min(close,ref(close,2))<=1/100;
多方炮:=ref(close,2)>ref(open,2) and ref(close,1)<ref(open,1) and close>open;
出水芙蓉:=(open<ema(c,20) or open<ema(c,40) or open<ema(c,60)) and (c>max(ema(c,20),max(ema(c,40),ema(c,60))))
and (v/ma(v,30)>1.2 and c/ref(c,1)>1.049);
上升三部曲:=ref(close,4)/ref(open,4)>1.03 and ref(close,3)<ref(open,3) and ref(close,2)<ref(open,2) and ref(close,1)<ref(open,1) and
ref(low,4)<ref(low,3) and ref(low,4)<ref(low,2) and ref(low,4)<ref(low,1) and ref(high,4)>ref(high,3) and ref(high,4)>ref(high,2) and
ref(high,4)>ref(high,1) and close/open>1.03 and close>ref(close,4);
下跌三部曲:= ref(close,4)/ref(open,4)<0.97 and ref(close,3)>ref(open,3) and ref(close,2)>ref(open,2) and ref(close,1)>ref(open,1) and ref(low,4)<ref(low,3) and
ref(low,4)<ref(low,2) and ref(low,4)<ref(low,1) and ref(high,4)>ref(high,3) and ref(high,4)>ref(high,2) and ref(high,4)>ref(high,1) and close/open<0.97 and
close<ref(close,4);
跳空缺口:=high<ref(low,1) or low>ref(high,1);
三只乌鸦:=ref(close,2)<ref(open,2) and ref(close,1)<ref(open,1) and close<open and ref(close,1)<ref(close,2) and close<ref(close,1);
光脚阴线:=low=close and high<>low;
光头阳线:=high=close and high<>low;
分离:=open=ref(open,1) and (close-open)*(ref(close,1)-ref(open,1))<0;
长下影:=(min(close,open)-low)/(high-low)>0.667;
长上影:=(high-max(close,open))/(high-low)>0.667;
十字星:=close=open and high<>low;
大阴烛:=open/close > 1.05 and high/low < open/close+0.018;
好友反攻:=(ref(close,1)<ref(open,1) and close>open and abs(close-ref(close,1))/close<0.002)
or (ref(close,1)>ref(open,1) and close<open and abs(close-ref(close,1))/close<0.002);
倾盆大雨:=ref(c,1)/ref(o,1)>=1.03 and o<ref(c,1) and o>ref(o,1) and c<ref(o,1);
drawflagtext(1,c,'k线解盘'),colorff00ff;
drawflagtext(倾盆大雨,c,'★倾盆大雨,见顶信号'),colorff00ff;
drawflagtext(大阴烛,c,'★大阴烛,后市向淡,发生逆转'),colorff00ff;
drawflagtext(好友反攻,c,'★好友反攻,底部反转'),colorff00ff;
drawflagtext(跳空缺口,c,'★跳空缺口,注意向上还是向下跳空'),colorff00ff;
drawflagtext(光脚阴线,c,'★光脚阴线,下跌信号'),colorff00ff;
drawflagtext(光头阳线,c,'★光头阳线,后市看涨'),colorff00ff;
drawflagtext(三只乌鸦,c,'★三只乌鸦,可能见顶回落'),colorff00ff;
drawflagtext(分离,c,'★分离,注意看涨分离和看跌分离'),colorff00ff;
drawflagtext(长下影,c,'★长下影,持续下跌后出现,有可能止跌回升;在升势末期出现,须多加留 意'),colorff00ff;
drawflagtext(长上影,c,'★长上影,表明行情上档压力沉重,升势受阻'),colorff00ff;
drawflagtext(下跌三部曲,c,'★下跌三部曲,下跌信号'),colorff00ff;
drawflagtext(上升三部曲,c,'★上升三部曲,上涨信号'),colorff00ff;
drawflagtext(早晨之星,c,'★早晨之星,见底回升'),colorff00ff;
drawflagtext(黄昏之星,c,'★黄昏之星,见顶回落'),colorff00ff;
drawflagtext(十字星,c,'★十字星,有转向意味,注意股价位置在顶部还是底部'),colorff00ff;
drawflagtext(长十字,c,'★长十字,注意在顶部还是底部'),colorff00ff;
drawflagtext(垂死十字,c,'★垂死十字,下跌信号'),colorff00ff;
drawflagtext(早晨十字星,c,'★早晨十字星,上涨信号,见底回升'),colorff00ff;
drawflagtext(黄昏十字星,c,'★黄昏十字星,下跌信号,见顶回落'),colorff00ff;
drawflagtext(射击之星,c,'★射击之星,可能见顶回落,可靠性低'),colorff00ff;
drawflagtext(倒转锤头,c,'★倒转锤头,可能见底回升'),colorff00ff;
drawflagtext(锤头,c,'★锤头,可能见底回升,如有量配合,信号强烈'),colorff00ff;
drawflagtext(吊颈,c,'★吊颈,上升行情中见顶回落,顶部出现,见顶信号'),colorff00ff;
drawflagtext(平顶,c,'★平顶,温和的反转'),colorff00ff;
drawflagtext(穿头破脚,c,'★穿头破脚,顶部出现,见顶回落信号'),colorff00ff;
drawflagtext(乌云盖顶,c,'★乌云盖顶,见顶回落信号'),colorff00ff;
drawflagtext(曙光初现,c,'★曙光初现,后市见底回升'),colorff00ff;
drawflagtext(身怀六甲,c,'★身怀六甲,出现在底部,是见底回升信号;出现在顶部,是见顶回落信 号'),colorff00ff;
drawflagtext(十字胎,c,'★十字胎'),colorff00ff;
drawflagtext(平底,c,'★平底,温和的反转'),colorff00ff;
drawflagtext(大阳烛,c,'★大阳烛,看涨'),colorff00ff;
drawflagtext(三个白武士,c,'★三个白武士,每日收盘价上移,表示可能见底回升'),colorff00ff;
drawflagtext(双飞乌鸦,c,'★双飞乌鸦,行情将见顶回落'),colorff00ff;
drawflagtext(孕育线,c,'★孕育线,注意股价位置'),colorff00ff;
drawflagtext(多方炮,c,'★多方炮,在底部出现有上涨意味,在中间出现有可能是上涨中继,顶部出现是复 合见顶信号'),colorff00ff;


  >>>使用本站搜索工具可以找到更多股评公式下载 大智慧股评

指标公式下载地址

点这下载软件
好公式网提供全网最全的指标公式软件,感谢您的支持!鼠标双击图片可看大图!
下载请点击右侧“立即下载”,如只有源码,请点击本页面右侧的导入方法按图导入!
本站指标基于网友分享,仅供研究自学,勿作他用,本站对下载使用不承担任何责任!

指标公式下载注意

    ☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!

    ☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。

    ☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;

    ☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;

    ☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;

    ☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;

    ☉ hxf格式指标公式,仅可以用同花顺软件引入使用。

    ☉ 如果您发现下载软件链接错误,请联系管理员报告错误。

    ☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!

    ☉ 本文股评公式下载 大智慧股评仅供学习研究。

猜你喜欢

学了又学