通达信股票中枢主图指标公式

{仅适用于股价100以下个股,股票版因为价格波动问题,还需要好好研究}
套利C:=C,COLORYELLOW;
NB:=2;{价变和家变值区间数值变动}{一般在5-30,强势品种就越大}
价变B:=套利C/NB;{价格调节参数}
价变上值B:=EMA(CEILING(EMA(价变B,60)),2),COLORGRAY,DOTLINE;{参数调节微调仓速度};
价变下值B:=EMA(FLOOR(EMA(价变B,60)),2),COLORGRAY,DOTLINE;{参数调节微调仓速度};
价变值B:=(价变上值B+价变下值B)/2*NB,COLORGRAY,DOTLINE;{参数调节微调仓速度};{价格调节参数}
UPB:=BArslAST(crOSS(REF(价变值B,1),价变值B));
DNB:=BARSLAST(CROSS(价变值B,REF(价变值B,1)));
STICKLINE(价变值B=REF(价变值B,1) AND UPB>DNB AND BETWEEN(EMA(价变值B,2),价变值B+REF(价变值B,1)/5,REF(价变值B,1)-REF(价变值B,1)/5),价变值B+REF(价变值B,1)/50,REF(价变值B,1)-REF(价变值B,1)/50,0,-1),COLORLIRED;
STICKLINE(价变值B=REF(价变值B,1) AND UPB<DNB AND BETWEEN(EMA(价变值B,2),价变值B+REF(价变值B,1)/5,REF(价变值B,1)-REF(价变值B,1)/5),价变值B-REF(价变值B,1)/50,REF(价变值B,1)+REF(价变值B,1)/50,0,-1),COLORBLUE;
N:=1;{价变和家变值区间数值变动}{一般在5-30,强势品种就越大}
价变:=套利C/N;{价格调节参数}
价变上值:=EMA(CEILING(EMA(价变,60)),2),COLORGRAY,DOTLINE;{参数调节微调仓速度};
价变下值:=EMA(FLOOR(EMA(价变,60)),2),COLORGRAY,DOTLINE;{参数调节微调仓速度};
价变值:=(价变上值+价变下值)/2*N,COLORGRAY,DOTLINE;{参数调节微调仓速度};{价格调节参数}
UP:=BARSLAST(CROSS(REF(价变值,1),价变值));
DN:=BARSLAST(CROSS(价变值,REF(价变值,1)));
STICKLINE(价变值=REF(价变值,1) AND UP>DN AND BETWEEN(EMA(价变值,2),价变值+REF(价变值,1)/5,REF(价变值,1)-REF(价变值,1)/5),价变值+REF(价变值,1)/100,REF(价变值,1)-REF(价变值,1)/100,4,0),COLORRED;
STICKLINE(价变值=REF(价变值,1) AND UP<DN AND BETWEEN(EMA(价变值,2),价变值+REF(价变值,1)/5,REF(价变值,1)-REF(价变值,1)/5),价变值-REF(价变值,1)/100,REF(价变值,1)+REF(价变值,1)/100,4,0),COLORGREEN;
MTR:=MAX(MAX((HIGH-LOW),Abs(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR:=EMA(EMA(MTR,100),100);
{均线去未来函数的买卖通道指标}
BS:=EMA((EMA(EMA(H,15),15)-EMA(EMA(L,15),15))+EMA(EMA(H,15),15),15),DOTLINE,COLORGRAY;
BD:=EMA(EMA(EMA(L,15),15)-(EMA(EMA(H,15),15)-EMA(EMA(L,15),15)),15),DOTLINE,COLORGRAY;
{BS+(BS/ATR/100),COLORGRAY;
BD-(BD/ATR/100),COLORGRAY;}
DRAWTEXT_FIX(ISLASTBAR,0.05,0.05,0,'股票之友大小中枢核心股票版之'),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.05,0.05,0,' 优势价格交易系统'),COLORLIMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.05,0.15,0,'优势价格是指大中枢内外的小中枢优势位置'),COLORBLUE;
DRAWTEXT_FIX(ISLASTBAR,0.05,0.25,0,'上涨时,第1,2波看第1小中枢,第3波看第2小中枢'),COLORGRAY;
DRAWTEXT_FIX(ISLASTBAR,0.05,0.35,0,'下跌时,第1,2波看第1小中枢,第3波看第2小中枢'),COLORGRAY;
DRAWTEXT_FIX(ISLASTBAR,0.05,0.45,0,'新高,回调,再创新高,再回调,这是一个上涨趋势!'),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.05,0.55,0,'破前大中枢或出现“反向大中枢”底部,止损离开反转再说。'),COLORLIBLUE;
DRAWTEXT_FIX(ISLASTBAR,0.05,0.65,0,'★★★★不破双边大中枢顶底,小中枢反手做价差,大中枢内边止盈顶底止损'),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.05,0.75,0,'新低,反弹,再创新低,再反弹,这是一个下跌趋势!'),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.05,0.85,0,'破前大中枢或出现“反向大中枢”顶部,止损离开反转再说。'),COLORLIRED;
DRAWKLINE(H,O,L,C);




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

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

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

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