您的位置:查股网 > 查股公式 > 通达信分时黄金分割公式[查股公式]
股票行情消息查询:

通达信分时黄金分割公式[查股公式]

2022/9/24 8:38:29

{分时均线}
W:=BARSLAST(DAY-REF(DAY,1))+1;
FSJX:SUM(C*VOL,W)/SUM(VOL,W),COLORYELLOW,LINETHICK2; IF(FSJX<REF(FSJX,1),FSJX,DRAWNULL),COLORCYAN,LINETHICK2;
{分时线}
FSX:IF(C>=FSJX,C,DRAWNULL),COLORRED,LINETHICK2;  IF(C<FSJX,C,DRAWNULL),COLORCYAN,LINETHICK2;
{黄金分割线,4*60'=240'}
HH:=CONST(HHV(C,0));
LL:=CONST(LLV(C,0));
HL:=HH-LL;
顶:HH,COLORCYAN,LINETHICK1;
A809:0.809*HL+LL,COLORFFFF0B,DOTLINE;
A618:0.618*HL+LL,COLORLIGRAY,DOTLINE;
A500:0.500*HL+LL,COLOR80FFFF,DOTLINE;
A382:0.382*HL+LL,COLORLIGRAY,DOTLINE;
A191:0.191*HL+LL,COLOR00FF00,DOTLINE;
底:LL,COLOR00FF00,LINETHICK1; 
DRAWICON(C=LL,LL,9);
{黄金线240分钟静态提示}
DRAWTEXT(CURRBARSCOUNT=240,HH,'顶'),COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=240,A809,'809'),COLORFFFF0B;
DRAWTEXT(CURRBARSCOUNT=240,A618,'618'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=240,A500,'500'),COLOR80FFFF;
DRAWTEXT(CURRBARSCOUNT=240,A382,'382'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=240,A191,'191'),COLOR60FF60;
DRAWTEXT(CURRBARSCOUNT=240,LL,'底'),COLOR60FF60;
{黄金线1分钟动态提示}
DRAWTEXT(CURRBARSCOUNT=1,HH,'顶危'),COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=1,A809,'809警'),COLORFFFF0B;
DRAWTEXT(CURRBARSCOUNT=1,A618,'618警'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=1,A500,'500警'),COLOR80FFFF;
DRAWTEXT(CURRBARSCOUNT=1,A382,'382警'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=1,A191,'191警'),COLOR60FF60;
DRAWTEXT(CURRBARSCOUNT=1,LL,'底安'),COLOR60FF60;

相关文章列表
天天查股公式列表

股票公式分类

天天查股:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红查询 股票评级报告
广告客服:315126368   843010021
天天查股网免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29