k线重心支撑压力趋势主图公式
{k线趋势} drawgbklast(c>0,strip(rgb(0,0,0),rgb(60,0,80),0)); {1.k线重心} hl8:(ma(h,8)+ma(l,8))/2,color00ff00,linethick1; mc8:ema(c,8),color0000ff,linethick1; fillrgn(hl8,mc8,hl8<mc8,rgb(150,0,0),hl8>mc8,rgb(0,150,0)),layer7; {2.k线.正常上涨} stickline(close>open,open,low,0.5,0 ),color0000ff; stickline(close>open,close,high,0.5,0 ),color0000ff; stickline(close>open,close,open,8,0) ,color000077; stickline(close>open,close,open,7,0) ,color000099; stickline(close>open,close,open,6,0) ,color0000bb; stickline(close>open,close,open,5,0) ,color0000cc; stickline(close>open,close,open,4,0) ,color0000dd; stickline(close>open,close,open,3,0) ,color0000ee; stickline(close>open,close,open,2,0) ,color0000ff; {3.k线.正常下跌} stickline(open>=close,close,low,0.5,0 ),colorffff00; stickline(open>=close,open,high,0.5,0 ),colorffff00; stickline(open>=close ,close ,open,8,0 ),colorff7700; stickline(open>=close ,close ,open,7,0 ),colorff9900; stickline(open>=close ,close ,open,6,0 ),colorffbb00; stickline(open>=close ,close ,open,5,0 ),colorffcc00; stickline(open>=close ,close ,open,4,0 ),colorffdd00; stickline(open>=close ,close ,open,3,0 ),colorffee00; stickline(open>=close ,close ,open,2,0 ),colorffff00; {4.k线带帽已见顶} 中:ema(close,55),color999999,linethick0; 顶:中*1.1,pointdot,colorff9900,linethick3; stickline((close >= 顶),h ,h*1.003,4,0),color00ffff; {5.脚底穿鞋正在跌} 买:=ema(c,3); 卖:=ema(slope(c,21)*21+c,43); stickline(买<卖,l ,l*0.997,4,0),color00ff00; {6.金黄k线转向升} stickline(cross(买,卖) ,close ,open,6,0),color0099ff,layer0; stickline(cross(买,卖),low,high,2,0 ),color0099ff; {7.白色k线转向跌} stickline(cross(卖,买),close ,open,6,0),colorffffff,layer0; stickline(cross(卖,买),low,high,2,0 ),color00ffff; drawtextabs(0,5,'【1】头顶带帽已见顶'),color00ffff,linethick2; drawtextabs(140,5,'【2】脚底穿鞋跌势'),color00ff00,linethick2; drawtextabs(0,25,'【3】金黄k线转向升'),color0099ff,linethick2; drawtextabs(140,25,'【4】白色k线转向跌'),colorffffff,linethick2; {好公式网www.goodgongshi.com} x:=barslast(dispstatus=1)+1; p:=backset(dispstatus=2,x/2+1); k:=barslast(cross(p,0.5))+1; kj:=hhvall(high)-llvall(low); 平衡:=if(k>=0,llvall(low)+kj/2,0); 压力:=if(k>=0,hhvall(high)-kj*0.191,平衡); 支撑:=if(k>=0,llvall(low)+kj*0.191,平衡); drawrectabs(280,1,300+(hhvall(high))*300/c ,80 ,rgb(0,0,255)),color0000ff,linethick2,layer3; drawrectabs(285,4,300+(压力)*300/c ,70 ,rgb(140,0,60)),color99ff99,layer2; drawrectabs(290,7,300+(平衡)*300/c ,60 ,rgb(0,120,0)),colorff00ff,layer1; drawrectabs(295,10,300+(支撑)*300/c ,50 ,rgb(80,0,80)),color00ffff,layer0; drawrectabs(300,21,300+(c)*300/c ,39 ,rgb(10,10,10)),color0077ff,linethick1,layer0; drawtextabs(270,90,'【支撑 '+numtostrn(支撑,2)+' 元】'),color00ffff,linethick2,layer0; drawtextabs(405,90,'【平衡 '+numtostrn(平衡,2)+' 元】'),color44ff99,linethick2,layer0; drawtextabs(540,90,'【压力 '+numtostrn(压力,2)+' 元】'),color0044ff,linethick2,layer0; drawtextabs(320,23,'【四区周期:--→ '+k+'天】'),color00ffff,linethick2,layer0;
上一指标公式:助你赚钱的不用扬鞭自奋蹄公式下载
下一指标公式:牛鼻子软件阴线提前买入公式下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文K线重心支撑压力趋势主图公式下载仅供学习研究。