首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

回落幅度主图技术指标公式源码

HN:=CONST(BARSLAST(H=HHV(H,13))+1);

H_:=CONST(REF(H,HN-1)); L_:=CONST(LLV(L,100));

A:IF(CURRBARSCOUNT=L_,H_*1.00,DRAWNULL),DOTLINE,COLOR5F5F5F;

B:IF(CURRBARSCOUNT=L_,H_*0.90,DRAWNULL),DOTLINE,COLOR5F5F5F;

E:IF(CURRBARSCOUNT=L_,H_*0.80,DRAWNULL),DOTLINE,COLOR5F5F5F;

F:IF(CURRBARSCOUNT=L_,H_*0.75,DRAWNULL),DOTLINE,COLOR5F5F5F;

G:IF(CURRBARSCOUNT=L_,H_*0.70,DRAWNULL),DOTLINE,COLOR5F5F5F;

Y:IF(CURRBARSCOUNT=L_,H_*0.60,DRAWNULL),DOTLINE,COLOR5F5F5F;

Z:IF(CURRBARSCOUNT=L_,H_*0.50,DRAWNULL),DOTLINE,COLOR5F5F5F;

DRAWTEXT(ISLASTBAR AND H_*1.00>=L_,H_*1.00,STRCAT(' 10% ',CON2STR(H_*1.00,2))),COLORGRAY;

DRAWTEXT(ISLASTBAR AND H_*0.90>=L_,H_*0.90,STRCAT(' 15% ',CON2STR(H_*0.90,2))),COLORGRAY;

DRAWTEXT(ISLASTBAR AND H_*0.80>=L_,H_*0.80,STRCAT(' 20% ',CON2STR(H_*0.80,2))),COLORGRAY;

DRAWTEXT(ISLASTBAR AND H_*0.75>=L_,H_*0.75,STRCAT(' 25% ',CON2STR(H_*0.75,2))),COLORGRAY;

DRAWTEXT(ISLASTBAR AND H_*0.70>=L_,H_*0.70,STRCAT(' 30% ',CON2STR(H_*0.70,2))),COLORGRAY;

DRAWTEXT(ISLASTBAR AND H_*0.60>=L_,H_*0.60,STRCAT(' 40% ',CON2STR(H_*0.60,2))),COLORGRAY;

DRAWTEXT(ISLASTBAR AND H_*0.50>=L_,H_*0.50,STRCAT(' 50% ',CON2STR(H_*0.50,2))),COLORGRAY;

  • 发表于:
  • 原文链接https://kuaibao.qq.com/s/20200819A0TYMO00?refer=cp_1026
  • 腾讯「腾讯云开发者社区」是腾讯内容开放平台帐号(企鹅号)传播渠道之一,根据《腾讯内容开放平台服务协议》转载发布内容。
  • 如有侵权,请联系 cloudcommunity@tencent.com 删除。

扫码

添加站长 进交流群

领取专属 10元无门槛券

私享最新 技术干货

扫码加入开发者社群
领券