飞狐成本回归预测主图指标

源码

N:=5;

STICKLINE(open>=close ,close ,open,9,0 ),COLORaaaaaa;
STICKLINE(open>=close ,close ,open,6,0 ),COLORbbbbbb;
STICKLINE(open>=close ,close ,open,2.4,0 ),COLORcccccc;
STICKLINE(open>=close ,close ,open,1.1,0 ),COLORdddddd;

STICKLINE(close>open,close,open,9,0 ),COLOr6666cc;
STICKLINE(close>open,close,open,6 ,0 ),COLOR7777dd;
STICKLINE(close>open,close,open,2.4 ,0 ),COLOR8888ee;
STICKLINE(close>open,close,open,1.1 ,0 ),COLOR9999ff;

STICKLINE(close>open,open,low,0.5,0 ),COLOR1199ff;
STICKLINE(close>open,close,HIGH,0.5 ,0 ),COLOR1199ff;
STICKLINE(open>=close,close,low,0.5 ,0 ),COLORcccccc;
STICKLINE(open>=close,open,HIGH,0.5 ,0 ),COLORcccccc;

cb:=(HIGH+LOW+CLOSE)/3,LINETHICK0;
cb1:=((ref(cb,1)+ref(cb,2))/2*0.618+cb*0.382),LINETHICK0;

卖预测值:FORCAST(h,n),SHIFT0;
卖估算值:cb1+STD(h,n),SHIFT0;
估算成本:cb1,SHIFT0;
买估算值:cb1-STD(l,n),SHIFT0;
买预测值:FORCAST(l,n),SHIFT0;
A:=(OPEN+HIGH+LOW+CLOSE*2)/5,LINETHICK0;
STICKLINE(BETWEEN(A,HIGH,LOW),A,A,4,0),COLORFFAA33;
s:=(h-a)*0.618+a,LINETHICK0;
STICKLINE(BETWEEN(s,HIGH,a),s,s,2,0),COLORFFAA33;
x:=(a-l)*0.382+l,LINETHICK0;
STICKLINE(BETWEEN(x,l,a),x,x,2,0),COLORFFAA33;
卖出价:(CLOSE*2.5/100+CLOSE),LINETHICK0;
买入价:c-CLOSE*2.5/100,LINETHICK0;




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图