drawgbklast(1,strip(rgb(10,10,50),rgb(50,10,10),0)); ma3:ma(close,3);
ma4:ma(close,4); ma5:ma(c,5),colorwhite;ma10:ma(c,10),coloryellow; 警报:=cross(ma4,ma3);drawtext(警报,h*1.05,'↓'),linethick6,align1,colorffffff;安全:=cross(ma3,ma4);drawtext(安全,l*0.95,'↑'),linethick6,align1,colorred; sd:=hhv(high,13)=high and high>ref(high,1);
{17}
x9:forcast(c,9),colorwhite,linethick2;
llx:=llv(forcast(c,9),2);
partline(x9,x9=llx,rgb(255,205,0),x9<>llx,rgb(255,0,0)),linethick3;
ma21:ma(c,21),linethick1,colore66878; vc:=(high+low+open+2*close)/5;
明日突破:=vc+(high-low);
明日反转:=vc-(high-low);
drawtextabs(15,71,'明日突破: '+numtostrn(明日突破,2)+' 元'),color0000ff;
drawtextabs(15,90,'明日反转: '+numtostrn(明日反转,2)+' 元'),colorffff00;
hhvall(high)*1.1,color000000;
llvall(low)*0.9,color000000;
{预测当天最低价指标}
a1:=ref(o,1);
a2:=abs((ref(c,1)-a1)/a1);
a3:=abs((ref(h,1)-a1)/a1);
a4:=abs((ref(l,1)-a1)/a1);
b1:=abs((a2+a3+a4)/3);
b2:=o*b1;
今日最高:=o+b2;
预测低一:o-b2,linethick0;
{预测当天收盘价指标}
开盘价1:=open;
开盘价2:=ref(open,1);
最高价1:=high;
最高价2:=ref(high,1);
最低价1:=low;
最低价2:=ref(low,1);
收盘价1:=close;
收盘价2:=ref(close,1);
aa:=最高价2;
bb:=最低价2;
cc:=开盘价2;
dd:=收盘价2;
ee:=(aa+bb+cc+2*dd)/5;
aaa:=ee+(aa-bb);
bbb:=2*ee-bb;
ccc:=2*ee-aa;
ddd:=ee-(aa-bb);
上升突破价:=aaa;
上升阻力价:=bbb;
下跌支撑价:=ccc;
下跌反转价:=ddd;
eee:=(ee+上升突破价+上升阻力价+下跌支撑价+下跌反转价)/5;
心理价:=eee;
fff:=(eee+开盘价1)/2;
ggg:=(预测低一+fff)/2;
预测低二:ggg,colorffffff,linethick0;
高:=今日最高;
收:=fff;
drawtextabs(15,35,'预测低一: '+numtostrn(预测低一,2)+'元'),colorwhite ,linethick1;
drawtextabs(15,53,'预测低二: '+numtostrn(预测低二,2)+'元'),colorwhite ,linethick1;
a:="ltfunc5@forlt2";
s1:="ltfunc5@lt_s1";
p1:="ltfunc5@lt_p1";
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;
{一品资料说明}
ww:=barslast(dispstatus=1);
低涨:(c/llv(low,ww)-1)*100,color0000ff,linethick0,precis2;
天:barslast(l=llv(low,ww)),color00ffff,linethick0,precis0;
drawtextabs(210,15,'◇低点至今上涨:'+numtostrn(低涨,2)+'% '+numtostrn(天,0)+'天'),color0000ff;
drawtextabs(210,32,'◇目前可见k线:'+numtostrn(ww+1,0)+'天'),coloryellow;
drawtextabs(15,15,'预测今日最高价: '+numtostrn(ref(今日最高,0),2)+'元'),colorf00ff0,linethick1;
drawtextrel(680,950,'预测今日收盘价: '+numtostrn(ref(fff,0),2)+'元'),colorf00ff0,linethick1;
{43}
drawgbk(c,'7' );
var3:=llv(h,240);
var4:=100*(c-var3)/var3;
var5:=(c-llv(l,528))/(hhv(h,528)-llv(l,528))*100;
var6:=(c-llv(c,530))/(hhv(c,530)-llv(c,530))*100;
{var7:=0;}
var8:=ma(hhv(c-ref(c,1),0),34)/ma(abs(c-ref(c,1)),7)*100;
var9:=ma(hhv(c-ref(c,1),0),13)/ma(abs(c-ref(c,1)),13)*100;
vara:=barscount(c);
varb:=var8<20 and var9<23 and vara>35;
varc:=varb and count(varb,1)=1;
vard:=ema(c,21)-ema(c,8);
vare:=ema(vard,5);
varf:=trough(3,6,1)<4 and cross(vard,vare);
var10:=if(trough(3,16,1)=0 and h>l+0.04,4,0);
var11:=zig(3,6)>ref(zig(3,6),1) and ref(zig(3,6),1)<=ref(zig(3,6),2) and ref(zig(3,6),2)<=ref(zig(3,6),3);
var12:=zig(3,6)<ref(zig(3,6),1)and ref(zig(3,6),1)>=ref(zig(3,6),2) and ref(zig(3,6),2)>=ref(zig(3,6),3);
var13:=zig(3,22)>ref(zig(3,22),1)and ref(zig(3,22),1)<=ref(zig(3,22),2)and ref(zig(3,22),2)<=ref(zig(3,22),3);
var14:=zig(3,22)<ref(zig(3,22),1)and ref(zig(3,22),1)>=ref(zig(3,22),2)and ref(zig(3,22),2)>=ref(zig(3,22),3);
var15:=zig(3,51)>ref(zig(3,51),1)and ref(zig(3,51),1)<=ref(zig(3,51),2) and ref(zig(3,51),2)<=ref(zig(3,51),3);
var16:=zig(3,51)<ref(zig(3,51),1)and ref(zig(3,51),1)>=ref(zig(3,51),2)and ref(zig(3,51),2)>=ref(zig(3,51),3);
var17:=zig(3,72)>ref(zig(3,72),1) and ref(zig(3,72),1)<=ref(zig(3,72),2)and ref(zig(3,72),2)<=ref(zig(3,72),3);
var18:=zig(3,72)<ref(zig(3,72),1) and ref(zig(3,72),1)>=ref(zig(3,72),2)and ref(zig(3,72),2)>=ref(zig(3,72),3);
var19:=ema(c,2)-ema(c,150);
var1a:=ema(var19,100);
var1b:=2*(var19-var1a);
var1c:=pow(var1b,3)*0.1+pow(var1b,1);
var1d:=sqrt(sqrt(l*h*o*c));
var1e:=ema(var1d*0.97,3);
var1f:=(h+l+c)/3;
var20:=(var1f-ma(var1f,14))/(0.015*avedev(var1f,14));
var21:=cross(var1e,l);
买点1:=var10;
买点2:=(var11+var13+var15+var17);
卖点1:=(var12+var14+var16+var18);
var22:=买点1 and varf and varc and var21 and var4<0and var5=0 and var6=0 and var20<(-110);
drawtext(买点1>0,l-0.15,'b'),linethick4,align1,colorred;{b}
drawtext(买点2>0,l-0.25,{'b'}'买'),linethick2,align1,color00ffff;{b}
drawtext(卖点1>0,h+0.95,{'s'}'卖'),linethick2,align1,color33ff33;{s}
闪:ema(c+(h-l)*0.618,3),color0099ff,linethick0;进:ema((o+h+l)/3,4),colorcyan,linethick0;
预测明日买点:=ema((o+h+l)/3,4)+((h+l)/2-ref((o+h+l)/3,3))/4;
drawtextrel(250,0,' ◇测今日低点:'+numtostrn(ref(预测明日买点,1),2 )),colorgreen,linethick1;
预测明日卖点:=ema(c+(h-l)*0.618,3)+(ema(c+(h-l)*0.618,3)-进)*0.618;
drawtextrel(15,0,'♂ 测今日高点:'+numtostrn(ref(预测明日卖点,1),2 )),colorred,linethick1;{预测明日涨跌}
c1:=ref(close,1);
c2:=hhv(c1,2);
c3:=llv(c1,1);
et:=hhv(c1,2);
et1:=ref(et,1);
xb:=llv(c1,1);
xb1:=ref(xb,1);
m:=barslast(((close < xb) and (c1 >= xb1)));
m11:=ref(m,1);
n9:=barslast(((close > et) and (c1 <= et1)));
n1:=ref(n9,1);
m21:=(barslast((((m - n9) > 0) and (m11 <= n1))) + 1);
n2:=(barslast((((n9 - m) > 0) and (n1 <= m11))) + 1);
et2:=hhv(et,m21);
xb2:=llv(xb,n2);
a:=if((((m - n9) > 0) and (m11 <= n1)),1,if((((n9 - m) > 0) and (n1 <= m11)),0,2));
h1:=if(((m - n9) > 0),close,et2);
h2:=if((a = 1),close,c2);
h3:=if(((m - n9) < 0),close,xb2);
h4:=if((a = 1),close,xb2);
h5:=if((((m - n9) > 0) or (a = 1)),close,h3);
h6:=ref(h5,1);
h7:=ref(h5,2);
h8:=(h5 > h6);
h9:=(((h4 = ref(h4,1)) and (ref(h4,1) < ref(h4,2))) and (h5 > ref(h5,2)));
h10:=(((h2 = ref(h2,1)) and (h4 = ref(h4,1))) and (h5 = ref(h5,2)));
w:=((h8 or h9) or h10);
t9:=((h5 < h6) and (h5 < ref(h5,2)));
t10:=((h4 = ref(h4,1)) and (h5 < ref(h5,2)));
t11:=((h3 > ref(h3,1)) and (h5 < ref(h5,1)));
t12:=((h5 = ref(h5,1)) and (h3 = h4));
t13:=((h2 = ref(h2,1)) and (h2 = h5));
tw:=((((t9 or t10) or t11) or t12) or t13);
pk:=((amount * (((open + close) + high) + low)) / 4);
pk1:=if((vol > 0),(pk / amount),((((open + close) + high) + low) / 4));
bbp:=(((close - llv(low,9)) / (hhv(high,9) - llv(low,9))) * 100);
drawtext(((dispstatus=2 and w) and (bbp < 96.5)),(h5 * 1.022),' 明日 看涨'),move1,colorff00ff;
drawtext(((dispstatus=2 and tw) and (bbp > 1)),((h5 + h4) / 2),' 明日 看跌'),move0,colorffff00;{支撑压力}
gj:=if(c=indexc,(indexc+indexh+indexl+indexo)/4,amount/(v+0.01)/100);
明日阻力:=l+(gj-l)+(c-l);
明日支撑:=l+(c-gj);
明日阻力:=l+(gj-l)+(c-l);
明日支撑:=l+(c-gj);
今日阻力:=ref(明日阻力 , 1);
今日支撑:=ref(明日支撑 , 1);
stickline(dispstatus=2 and c>=今日阻力,今日阻力,今日阻力,30,0),color0000ff;
stickline(dispstatus=2 and c<今日阻力,今日阻力,今日阻力,30,0),color00ff00;
stickline(dispstatus=2 and c>=今日支撑,今日支撑,今日支撑,30,0),colorff00ff;
stickline(dispstatus=2 and c<今日支撑,今日支撑,今日支撑,30,0),colorff0000;
下档线:=(((close - llv(low,13)) / (hhv(high,13) - llv(low,13))) * 100);
arsv:=sma(下档线,3,1);
ak:=sma(arsv,3,1);
ad:=((3 * arsv) - (2 * ak));
aj12:=(((close - llv(low,55)) / (hhv(high,55) - llv(low,55))) * 100);
arsv24:=sma(aj12,3,1);
ak24:=sma(arsv24,3,1);
ad24:=((3 * arsv24) - (2 * ak24));
撑压位:=if(cross(ad24,ad),high,ref(high,barslast(cross(ad24,ad)))){,linethick2,colorffffff};
底:=llv(high,30){,color00ff00,linethick2};
stickline(barstatus=2 ,撑压位,撑压位,30,1),linethick1,colorffffff;
drawtext(barstatus=2 ,撑压位,' 撑压'),colorffffff,valign1;
stickline(barstatus=2 ,底,底,30,1),color00ff00,linethick1;
drawtext(barstatus=2 ,底,' 底线'),color00ff00,valign0;
上一指标公式:斜率追涨先锋指标下载 通达信先锋追涨
下一指标公式:趋向线指标下载 通达信趋向
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文预测高低大智慧主图指标下载 通达信源码预测仅供学习研究。