丹林扫酶 发表于 2024-5-16 15:54:28

通达信主图顶底转折有未来函数

    <div class="stock-fc-code-box"><p><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">顶:=BBI+3*STD(BBI,13),COLOR004AFF;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">底:=BBI-3*STD(BBI,13),COLOR67FF00;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">KU1:=IF(HIGH=HHV(HIGH,3),1,0);</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">KD1:=IF(LOW=LLV(LOW,3),1,0);</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">UL:=IF(REF(KU1,2)=1 AND REF(KU1,1)=0 AND KU1=0,REF(HIGH,2),REF(HIGH,2+BARSLAST(REF(KU1,2)=1 AND REF(KU1,1)=0 AND KU1=0)));</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">DL:=IF(REF(KD1,2)=1 AND REF(KD1,1)=0 AND KD1=0,REF(LOW,2),REF(LOW,2+BARSLAST(REF(KD1,2)=1 AND REF(KD1,1)=0 AND KD1=0)));</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">HV:=H &gt; UL AND H &gt; REF(H,1) ;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">LV:=L &lt; DL AND L &lt; REF(L,1) ;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">GP:=BARSLAST(HV);</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">DP:=BARSLAST(LV);</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">IP:=IF(GP=0,DP,GP) &gt; 3;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">HHV1:=HV AND IP AND H &gt;=HHV(H,BARSLAST(LV));</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">LV1:=LV AND IP AND L &lt;=LLV(L,BARSLAST(HV));</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">DRAWBAND(BBI,RGB(97,95,00),顶,RGB(97,95,00));</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">DRAWBAND(BBI,RGB(25,75,150),底,RGB(25,75,250));</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">DRAWLINE(LV1,LOW,HHV1, HIGH,0),COLORYELLOW,LINETHICK2;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">DRAWLINE(HHV1,HIGH,LV1, LOW,0),COLORMAGENTA,LINETHICK2;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">STICKLINE(CLOSE &gt; REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORRED;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">STICKLINE(CLOSE &gt; REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR000055;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">STICKLINE(CLOSE &gt; REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR000077;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">STICKLINE(CLOSE &gt; REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR000099;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">STICKLINE(CLOSE &gt; REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000BB;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">STICKLINE(CLOSE &gt; REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLOR0000DD;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">STICKLINE(CLOSE &gt; REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOR0000FF;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORWHITE;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR555555;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR777777;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR999999;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORFFFFFF;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">STICKLINE(CLOSE &lt; REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORCYAN;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">STICKLINE(CLOSE &lt; REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR990000;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">STICKLINE(CLOSE &lt; REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLORCC0000;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">STICKLINE(CLOSE &lt; REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLORFF4400;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;">STICKLINE(CLOSE &lt; REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORFF8800;</span><br style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium; white-space: normal;"></p><p><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;"><br></span></p><p><span style="font-family: &quot;Microsoft YaHei&quot;; font-size: medium;<br/>财富密码:DRAWTEXT_FIX(1,0.99,5,1,'~☆~更多精选指标请访问:995168.cn'),COLORRED; "><br></span></p><p><br></p></div>
页: [1]
查看完整版本: 通达信主图顶底转折有未来函数