预测股价预测最低价最高价等等
{预测股价公式}
{预测当天最低价公式}
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,linethick0;
最低价:low,coloryellow,linethick0;
预测高一:=o+b2;
{预测当天股价公式}
开盘价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;
最高价:high,colorred,linethick0;
{预测今日最高价公式}
预测高二:=ma(ref(high,1)/ref(close,2),n)*ref(close,1);
开盘价:open,colorffffff,linethick0;
收盘价:close,coloryellow,linethick0;
差额一:预测低一-low,colorffffff,linethick0;
差额二:预测低二-low,colorffffff,linethick0;
差比一:(差额一/low)*100,colorffffff,linethick0;
差比二:(差额二/low)*100,colorffffff,linethick0;
drawtextrel(10,60,' ★ 今日最低价:'+numtostrn(low,2)+'元'),coloryellow,linethick1;
drawtextrel(10,200,'预测 预测低一: '+numtostrn(ref(预测低一,0),2)+'元'+' 预测低二: '+numtostrn(ref(ggg,0),2)+'元'),colorffffff,linethick1;
drawtextrel(10,350,'目前差价 '+numtostrn(ref(差额一,0),2)+'元 '+ numtostrn(ref(差额二,0),2)+'元'),coloryellow,linethick1;
drawtextrel(10,470,'目前差比 '+numtostrn(ref(差比一,0),2)+'% '+numtostrn(ref(差比二,0),2)+'%'),coloryellow,linethick1;
drawtextrel(320,150,' ● 今日最高价:'+numtostrn(high,2)+'元'),coloryellow,linethick1;
drawtextrel(350,350,' 预测高一: '+numtostrn(ref(预测高一,0),2)+'元'),colorffffff,linethick1;
drawtextrel(350,470,' 预测高二: '+numtostrn(ref(预测高二,0),2)+'元'),colorffffff,linethick1;
{t + 0 操作数据}
pp:=0.0115;{可调整}
成本价:=预测低二*1.006;{也是买回价}
卖出价:=成本价*(1+pp);
高低差一:=预测高一-预测低二;
高低差二:=预测高二-预测低二;
差价比一:=卖出价/预测高一*100;
差价比二:=卖出价/预测高二*100;
昨日高低比:=(最高价2-最低价2)/最高价2*100;
目前高低比:=(最高价1-最低价1)/最高价1*100;
ssu1:=卖出价<预测高一 and 卖出价<预测高二;
ssu2:=卖出价>预测高一 or 卖出价>预测高二 or 差价比一 >98% or 差价比二 >98%;
drawtextrel(500,60,' ★ t + 0 操作数据 目前纯利设定为:'+numtostrn(ref(pp*100,0),2)+'%'),coloryellow,linethick1;
drawtextrel(530,200,' 成本价: '+numtostrn(ref(成本价,0),2)+'元'+' 卖出价: '+numtostrn(ref(卖出价,0),2)+'元'),colorffffff,linethick1;
drawtextrel(530,350,' 高低差一: '+numtostrn(ref(高低差一,0),2)+'元'+ ' 差价比一: '+numtostrn(ref(差价比一,0),2)+'%'),coloryellow,linethick1;
drawtextrel(530,470,' 高低差二: '+numtostrn(ref(高低差二,0),2)+'元'+ ' 差价比二: '+numtostrn(ref(差价比二,0),2)+'%'),coloryellow,linethick1;
drawtextrel(750,200,' 买回价: '+numtostrn(ref(ggg,0),2)+'元'),colorffffff,linethick1;
drawtextrel(750,470,' 昨日高低比: '+numtostrn(ref(昨日高低比,0),2)+'%'),colorffffff,linethick1;
drawtextrel(750,350,' 目前高低比: '+numtostrn(ref(目前高低比,0),2)+'%'),colorffffff,linethick1;
if barstatus=2 and ssu1 then begin
drawtextrel(530,610,'★ 设定成功'),colorred,linethick1;
end
else
if barstatus=2 and ssu2 then begin
drawtextrel(530,610,'● 设定失败'),colorgreen,linethick1;
end
su1:=预测低二>low and 卖出价<high;
su2:=预测低二<low or 卖出价>high;
if barstatus=2 and su1 then begin
drawtextrel(650,610,'★ 操作成功'),colorred,linethick1;
end
else
if barstatus=2 and su2 then begin
drawtextrel(650,610,'● 操作失败'),colorgreen,linethick1;
end
顶线:=80;
顶线:=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,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,10,'预测二 ☆'),colorred;
drawtext(dispstatus=2 and low<预测低二 and amod=1,10,'预测二 ☆'),coloryellow;
{drawtext(dispstatus=2 and low<hjmd and amod=0,20,'黄金买点 ☆'),colorred;}
{drawtext(dispstatus=2 and low<hjmd and amod=1,20,'黄金买点 ☆'),coloryellow;}
drawtext(dispstatus=2 and low>预测低一 and amod=0,30,'预测一 ●'),colorgreen;
drawtext(dispstatus=2 and low>预测低一 and amod=1,30,'预测一 ●'),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 low>hjmd and amod=0,20,'黄金买点 ●'),colorgreen;}
{drawtext(dispstatus=2 and low>hjmd and amod=1,20,'黄金买点 ●'),colorffffff;};
上一指标公式:大盘长线简单不平凡公式下载 大智慧原码大盘
下一指标公式:抄底高手公式下载 大智慧抄底
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文预测股价预测最低价最高价等等公式下载 大智慧股价最高价仅供学习研究。