MBW目标位(通达信公式 主图 源码 测试图)

[复制链接]
查看59 | 回复0 | 2022-6-27 15:09:24 | 显示全部楼层 |阅读模式

 MBW目标位

{MBW}
{技术指标} {其他类型} {主图叠加}
{公式描述: 目标位 }
 
流通盘:(((CAPITAL * 100) / 100000000) * IF((DATE < 1150830),1,0)),NODRAW;
值C:((((CAPITAL * 100) * CLOSE) / 100000000) * IF((DATE < 1150830),1,0)),NODRAW;
值H:((((CAPITAL * 100) * HIGH) / 100000000) * IF((DATE < 1150830),1,0)),NODRAW;
VAR3:=(CONST(值H) * IF((DATE < 1150830),1,0));
IF((VAR3 < 10),(7 / 流通盘),DRAWNULL),LINETHICK2,COLORGREEN;
IF(((VAR3 < 5.5) AND (VAR3 > 3.5)),(4 / 流通盘),DRAWNULL),DOTLINE,COLORBBDDDD;
IF(((VAR3 < 5.5) AND (VAR3 > 3.5)),(5 / 流通盘),DRAWNULL),DOTLINE,COLORBBDDDD;
IF(((VAR3 < 6) AND (VAR3 > 5)),(6 / 流通盘),DRAWNULL),DOTLINE,COLORBBDDDD;
IF(((VAR3 < 6) AND (VAR3 > 5)),(5 / 流通盘),DRAWNULL),DOTLINE,COLORBBDDDD;
IF(((VAR3 < 7.5) AND (VAR3 > 6)),(7 / 流通盘),DRAWNULL),DOTLINE,COLORBBDDDD;
IF(((VAR3 < 7.5) AND (VAR3 > 6)),(5 / 流通盘),DRAWNULL),DOTLINE,COLORBBDDDD;
IF(((VAR3 < 9) AND (VAR3 > 7)),(6 / 流通盘),DRAWNULL),DOTLINE,COLORBBDDDD;
IF(((VAR3 < 10) AND (VAR3 > 7.5)),(12 / 流通盘),DRAWNULL),DOTLINE,COLORBBDDDD;
IF(((VAR3 < 10) AND (VAR3 > 7)),(9 / 流通盘),DRAWNULL),DOTLINE,COLORBBDDDD;
IF(((VAR3 < 10) AND (VAR3 > 7)),(7.5 / 流通盘),DRAWNULL),DOTLINE,COLORBBDDDD;
IF(((VAR3 < 12) AND (VAR3 > 10)),(10 / 流通盘),DRAWNULL),DOTLINE,COLORBBDDDD;
IF(((VAR3 < 12) AND (VAR3 > 10)),(12 / 流通盘),DRAWNULL),DOTLINE,COLORBBDDDD;
IF(((VAR3 < 16) AND (VAR3 > 12)),(17 / 流通盘),DRAWNULL),DOTLINE,COLORBBDDDD;
IF(((VAR3 < 16) AND (VAR3 > 12)),(15 / 流通盘),DRAWNULL),DOTLINE,COLORBBDDDD;
IF(((VAR3 < 16) AND (VAR3 > 12)),(12 / 流通盘),DRAWNULL),DOTLINE,COLORBBDDDD;
IF(((VAR3 < 17) AND (VAR3 > 15)),(14 / 流通盘),DRAWNULL),DOTLINE,COLORBBDDDD;
IF(((VAR3 < 17) AND (VAR3 > 15)),(20 / 流通盘),DRAWNULL),DOTLINE,COLORB00DDD;
IF(((VAR3 < 20) AND (VAR3 > 15)),(15 / 流通盘),DRAWNULL),DOTLINE,COLOR00DDDD;
IF(((VAR3 < 25) AND (VAR3 > 15)),(17 / 流通盘),DRAWNULL),DOTLINE,COLOR00DD00;
IF(((VAR3 < 30) AND (VAR3 > 17)),(17 / 流通盘),DRAWNULL),DOTLINE,COLOR00DD00;
IF(((VAR3 < 30) AND (VAR3 > 17)),(20 / 流通盘),DRAWNULL),DOTLINE,LINETHICK2,COLORDD00DD;
IF(((VAR3 < 30) AND (VAR3 > 17)),(22 / 流通盘),DRAWNULL),DOTLINE,COLORDD0000;
IF(((VAR3 < 35) AND (VAR3 > 20)),(35 / 流通盘),DRAWNULL),DOTLINE,COLORDDDDDD;
IF(((VAR3 < 35) AND (VAR3 > 17)),(25 / 流通盘),DRAWNULL),DOTLINE,COLORDDDD00;
IF(((VAR3 < 35) AND (VAR3 > 20)),(27 / 流通盘),DRAWNULL),DOTLINE,COLORDD0000;
IF(((VAR3 < 45) AND (VAR3 > 30)),(35 / 流通盘),DRAWNULL),DOTLINE,COLORDDDDDD;
IF(((VAR3 < 45) AND (VAR3 > 35)),(45 / 流通盘),DRAWNULL),DOTLINE,COLORDD0000;
IF(((VAR3 < 50) AND (VAR3 > 40)),(50 / 流通盘),DRAWNULL),DOTLINE,LINETHICK2,COLORCYAN;
IF(((VAR3 < 60) AND (VAR3 > 20)),(30 / 流通盘),DRAWNULL),DOTLINE,LINETHICK2,COLORRED;
IF(((VAR3 < 60) AND (VAR3 > 30)),(40 / 流通盘),DRAWNULL),DOTLINE,COLORFF8800;
IF(((VAR3 < 65) AND (VAR3 > 50)),(60 / 流通盘),DRAWNULL),DOTLINE,COLOR00DD00;
IF(((VAR3 < 75) AND (VAR3 > 50)),(55 / 流通盘),DRAWNULL),DOTLINE,COLORCYAN;
IF(((VAR3 < 75) AND (VAR3 > 50)),(65 / 流通盘),DRAWNULL),DOTLINE,COLORCYAN;
IF(((VAR3 < 75) AND (VAR3 > 50)),(50 / 流通盘),DRAWNULL),DOTLINE,LINETHICK2,COLORCYAN;
IF(((VAR3 < 95) AND (VAR3 > 60)),(95 / 流通盘),DRAWNULL),DOTLINE,COLOR00CC00;
IF(((VAR3 < 90) AND (VAR3 > 60)),(70 / 流通盘),DRAWNULL),DOTLINE,LINETHICK2,COLOR00CCCC;
IF(((VAR3 < 90) AND (VAR3 > 60)),(75 / 流通盘),DRAWNULL),DOTLINE,COLOR00CC00;
IF(((VAR3 < 100) AND (VAR3 > 70)),(80 / 流通盘),DRAWNULL),DOTLINE,COLORCCCC00;
IF(((VAR3 < 100) AND (VAR3 > 70)),(90 / 流通盘),DRAWNULL),DOTLINE,COLOR00CC00;
IF(((VAR3 < 105) AND (VAR3 > 90)),(100 / 流通盘),DRAWNULL),DOTLINE,COLORRED;
IF(((VAR3 < 110) AND (VAR3 > 100)),(90 / 流通盘),DRAWNULL),DOTLINE,COLOR00CC00;
IF(((VAR3 < 125) AND (VAR3 > 100)),(100 / 流通盘),DRAWNULL),DOTLINE,COLORRED;
IF(((VAR3 < 120) AND (VAR3 > 100)),(120 / 流通盘),DRAWNULL),DOTLINE,COLORDD00DD;
IF(((VAR3 < 130) AND (VAR3 > 100)),(110 / 流通盘),DRAWNULL),DOTLINE,COLORDD00DD;
IF(((VAR3 < 135) AND (VAR3 > 120)),(130 / 流通盘),DRAWNULL),DOTLINE,COLORDD00DD;
IF(((VAR3 < 155) AND (VAR3 > 120)),(120 / 流通盘),DRAWNULL),DOTLINE,COLORDD00DD;
IF(((VAR3 < 160) AND (VAR3 > 130)),(135 / 流通盘),DRAWNULL),DOTLINE,COLORDD00DD;
IF(((VAR3 < 170) AND (VAR3 > 130)),(150 / 流通盘),DRAWNULL),LINETHICK2,COLORDDDD00;
IF(((VAR3 < 200) AND (VAR3 > 130)),(170 / 流通盘),DRAWNULL),DOTLINE,COLORDD00DD;
IF(((VAR3 < 250) AND (VAR3 > 150)),(200 / 流通盘),DRAWNULL),DOTLINE,COLORDD00DD;
IF(((VAR3 < 300) AND (VAR3 > 200)),(250 / 流通盘),DRAWNULL),DOTLINE,COLORCYAN;
IF(((VAR3 < 400) AND (VAR3 > 250)),(300 / 流通盘),DRAWNULL),DOTLINE,COLORCYAN;
IF(((VAR3 < 500) AND (VAR3 > 250)),(350 / 流通盘),DRAWNULL),DOTLINE,COLORCYAN;
IF(((VAR3 < 600) AND (VAR3 > 300)),(400 / 流通盘),DRAWNULL),DOTLINE,COLORCYAN;
IF(((VAR3 < 600) AND (VAR3 > 400)),(500 / 流通盘),DRAWNULL),DOTLINE,LINETHICK2,COLORRED;
IF(((VAR3 < 750) AND (VAR3 > 500)),(700 / 流通盘),DRAWNULL),DOTLINE,COLORCYAN;
IF(((VAR3 < 750) AND (VAR3 > 500)),(600 / 流通盘),DRAWNULL),DOTLINE,COLORCYAN;
IF(((VAR3 < 750) AND (VAR3 > 500)),(500 / 流通盘),DRAWNULL),DOTLINE,LINETHICK2,COLORRED;
IF(((VAR3 < 1000) AND (VAR3 > 700)),(750 / 流通盘),DRAWNULL),DOTLINE,COLORCYAN;
IF(((VAR3 < 1000) AND (VAR3 > 700)),(900 / 流通盘),DRAWNULL),DOTLINE,COLORCYAN;
IF(((VAR3 < 1000) AND (VAR3 > 750)),(1000 / 流通盘),DRAWNULL),DOTLINE,COLORCYAN;
IF(((VAR3 < 1000) AND (VAR3 > 750)),(900 / 流通盘),DRAWNULL),DOTLINE,COLORCYAN;
IF(((VAR3 < 1500) AND (VAR3 > 900)),(1000 / 流通盘),DRAWNULL),DOTLINE,COLORCYAN;
IF(((VAR3 < 1500) AND (VAR3 > 1000)),(1500 / 流通盘),DRAWNULL),LINETHICK2,COLORRED;
IF(((VAR3 < 1500) AND (VAR3 > 1000)),(1200 / 流通盘),DRAWNULL),LINETHICK2,COLORCYAN;
IF(((VAR3 < 1500) AND (VAR3 > 1000)),(1000 / 流通盘),DRAWNULL),DOTLINE,COLORCYAN;
IF(((VAR3 < 2000) AND (VAR3 > 1500)),(2000 / 流通盘),DRAWNULL),DOTLINE,COLORCYAN;
IF(((VAR3 < 2000) AND (VAR3 > 1500)),(1700 / 流通盘),DRAWNULL),DOTLINE,COLORCYAN;
IF(((VAR3 < 2000) AND (VAR3 > 1500)),(1500 / 流通盘),DRAWNULL),LINETHICK2,COLORRED;
IF(((VAR3 < 2500) AND (VAR3 > 1500)),(2500 / 流通盘),DRAWNULL),DOTLINE,COLORCYAN;
IF(((VAR3 < 2500) AND (VAR3 > 1500)),(2000 / 流通盘),DRAWNULL),DOTLINE,COLORCYAN;
IF(((VAR3 < 2500) AND (VAR3 > 1500)),(1700 / 流通盘),DRAWNULL),DOTLINE,COLORCYAN;
IF(((VAR3 < 3500) AND (VAR3 > 2000)),(3500 / 流通盘),DRAWNULL),DOTLINE,COLORCYAN;
IF(((VAR3 < 3500) AND (VAR3 > 2000)),(3000 / 流通盘),DRAWNULL),DOTLINE,COLORCYAN;
IF(((VAR3 < 3500) AND (VAR3 > 2000)),(2500 / 流通盘),DRAWNULL),DOTLINE,COLORCYAN;
IF(((VAR3 < 5000) AND (VAR3 > 4000)),(4000 / 流通盘),DRAWNULL),DOTLINE,C

20224168292373032.rar

5.83 KB, 下载次数: 0

售价: 6 金钱  [记录]  [购买]

20224168292373032.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则