大智慧预测明日股价公式
n:=(27);
开盘价:open,linethick0;
开盘价1:=ref(open,1);
最高价:high,linethick0;
最高价1:=ref(high,1);
最低价:low,linethick0;
最低价1:=ref(low,1);
收盘价:close,linethick0;
收盘价1:=ref(close,1);
{预测高低指标1}
a1:=ref(开盘价,1);
a2:=abs((ref(收盘价,1)-a1)/a1);
a3:=abs((ref(最高价,1)-a1)/a1);
a4:=abs((ref(最低价,1)-a1)/a1);
b1:=abs((a2+a3+a4)/3);
b2:=开盘价*b1;
{预测指标2}
aa:=最高价1;
bb:=最低价1;
cc:=开盘价1;
dd:=收盘价1;
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;{心理价}
fff:=(eee+开盘价)/2;
{显示预测价}
预测低一:开盘价-b2,linethick0;
预测低二:(预测低一+fff)/2,linethick0;
预测高一:开盘价+b2,linethick0;
{预测今日最高价指标}
预测高二:ma(ref(high,1)/ref(close,2),n)*ref(close,1),linethick0;
差额一:=预测低一-low;
差额二:=预测低二-low;
差比一:=(差额一/low)*100;
差比二:=(差额二/low)*100;
{t + 0 操作数据}
pp:=0.0115;{可调整}
成本价:=预测低二*1.006;{也是买回价}
卖出价:成本价*(1+pp),linethick0;
高低差一:=预测高一-预测低二;
高低差二:=预测高二-预测低二;
差价比一:=卖出价/预测高一*100;
差价比二:=卖出价/预测高二*100;
今日高低比:=(最高价-最低价)/最高价*100;
昨日高低比:=(最高价1-最低价1)/最高价1*100;
drawtextrel(10,60,' ★ 股票买入操作数据 ★' ),coloryellow,linethick1;
drawtextrel(420,60,' ★t + 0 操作数据★ 目前纯利设定为:'+numtostrn(ref(pp*100,0),2)+'%'+' 股价高低比: '+numtostrn(ref(今日高低比,0),2)+'%'),coloryellow,linethick1;
drawtextrel(10,60,'最低价:'+numtostrn(ref(最低价,0),2) ),colorffffff,linethick2;
drawtextrel(320,60,' 最高价:'+numtostrn(ref(最高价,0),2)),colorffffff,linethick2;
drawtextrel(10,200,'买入价预测 预测价 目前差价 目前差比'),colord3a9ff,linethick1;
drawtextrel(10,350,' 预测低一 '+numtostrn(ref(预测低一,0),2)+'元 '+ numtostrn(ref(差额一,0),2)+'元 '+ numtostrn(ref(差比一,0),2)+'%'),colorffffff,linethick1;
drawtextrel(10,470,' 预测低二 '+numtostrn(ref(预测低二,0),2)+'元 '+ numtostrn(ref(差额二,0),2)+'元 '+ numtostrn(ref(差比二,0),2)+'%'),colorffffff,linethick1;
drawtextrel(330,200,'卖出价预测 预测格 目前高低差 目前高低比 ★ 操作价格'),colord3a9ff,linethick1;
drawtextrel(330,350,' 预测高一 '+numtostrn(ref(预测高一,0),2)+'元 '+ numtostrn(ref(高低差一,0),2)+'元 '+ numtostrn(ref(差价比一,0),2)+'%'),colorffffff,linethick1;
drawtextrel(330,470,' 预测高二 '+numtostrn(ref(预测高二,0),2)+'元 '+ numtostrn(ref(高低差二,0),2)+'元 '+ numtostrn(ref(差价比二,0),2)+'%'),colorffffff,linethick1;
drawtextrel(600,350,' 卖出价: '+numtostrn(ref(卖出价,0),2)+'元'),coloryellow,linethick1;
drawtextrel(600,470,' 买回价: '+numtostrn(ref(预测低二,0),2)+'元'),coloryellow,linethick1;
{drawtextrel(750,470,' 昨日高低比: '+numtostrn(ref(昨日高低比,0),2)+'%'),colorffffff,linethick1;}
ssu1:=卖出价<预测高二 or 卖出价=预测高二;
ssu2:=卖出价>预测高二;;
if barstatus=2 and ssu1 then begin
drawtextrel(750,250,' ★ 设定成功'),colorred,linethick1;
end
else
if barstatus=2 and ssu2 then begin
drawtextrel(750,250,' ● 设定失败'),colorgreen,linethick1;
end
su1:=预测低二>low and 卖出价<high;
su2:=预测低二>low and 卖出价=high;
su3:=预测低二=low and 卖出价<high;
su4:=预测低二=low and 卖出价=high;
su5:=预测低二<low;
if barstatus=2 and su1 then begin
drawtextrel(750,370,' ★ 操作成功'),colorred,linethick1;
end
else
if barstatus=2 and su2 then begin
drawtextrel(750,370,' ★ 操作成功'),colorred,linethick1;
end
else
if barstatus=2 and su3 then begin
drawtextrel(750,370,' ★ 操作成功'),colorred,linethick1;
end
else
if barstatus=2 and su4 then begin
drawtextrel(750,370,' ★ 操作成功'),colorred,linethick1;
end
else
if barstatus=2 and su5 then begin
drawtextrel(750,370,' ● 买回操作失败'),colorgreen,linethick1;
end
su6:=卖出价>high;
if barstatus=2 and su6 then begin
drawtextrel(750,480,' ● 卖出操作失败'),colorgreen,linethick1;
end
顶线:=80;
{黄金点:=-20;}
预测一:=-35;
预测二:=-50;
失败:=-65;
底线:=-75;
drawtext(dispstatus=2,顶线,' 80'),colorred,align0;
{drawtext(dispstatus=2,黄金点,' 黄金买点'),colorffffff,align0;}
drawtext(dispstatus=2,预测一,' 预测一'),colorred,align0;
drawtext(dispstatus=2,预测二,' 预测二'),coloryellow,align0;
drawtext(dispstatus=2,失败,' 未到位'),colorgreen,align0;
drawtext(dispstatus=2,底线,' -75'),colorgreen,align0;
{drawtext(low<hjmd,-20,'☆'),colorffffff,align1;}
{drawtext(low>hjmd,-20,'●'),colorgreen,align1;}
drawtext(low<预测低一,-35,'☆'),colorred,align1;
drawtext(low<预测低二,-50,'☆'),coloryellow,align1;
drawtext(low>预测低二,-65,'●'),colorgreen,align1;
{说明:红树林园 这一段源码做出来的效果是买点到位闪烁交替显示[☆到位]和[●失败]}
amod:=mod(currenttime,2);
drawtext(dispstatus=2 and amod=0,70,'预测提示'),colorffffff;
drawtext(dispstatus=2 and amod=1,70,'提示预测'),coloryellow;
drawtext(dispstatus=2 and low<预测低一 and amod=0,10,'预测一 ☆'),colorred;
drawtext(dispstatus=2 and low<预测低一 and amod=1,10,'预测一 ☆'),coloryellow;
drawtext(dispstatus=2 and low<预测低二 and amod=0,-10,'预测二 ☆'),colorred;
drawtext(dispstatus=2 and low<预测低二 and amod=1,-10,'预测二 ☆'),coloryellow;
drawtext(dispstatus=2 and low>预测低一 and amod=0,10,'预测一 ●'),colorgreen;
drawtext(dispstatus=2 and low>预测低一 and amod=1,10,'预测一 ●'),colorffffff;
drawtext(dispstatus=2 and low>预测低二 and amod=0,-10,'预测二 ●'),colorgreen;
drawtext(dispstatus=2 and low>预测低二 and amod=1,-10,'预测二 ●'),colorffffff;
drawtext(dispstatus=2 and 卖出价<high and amod=0,50,'卖出价 ☆'),colorred;
drawtext(dispstatus=2 and 卖出价<high and amod=1,50,'卖出价 ☆'),coloryellow;
drawtext(dispstatus=2 and 卖出价>high and amod=0,50,'卖出价 ●'),colorgreen;
drawtext(dispstatus=2 and 卖出价>high and amod=1,50,'卖出价 ●'),colorffffff;
drawtext(dispstatus=2 and 预测低二>low and amod=0,30,'买回价 ☆'),colorred;
drawtext(dispstatus=2 and 预测低二>low and amod=1,30,'买回价 ☆'),coloryellow;
drawtext(dispstatus=2 and 预测低二<low and amod=0,30,'买回价 ●'),colorgreen;
drawtext(dispstatus=2 and 预测低二<low and amod=1,30,'买回价 ●'),colorffffff;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文大智慧预测明日股价公式(买点到位会提示)下载 大智慧指标仅供学习研究。