李志敏 发表于 2023-11-5 06:15:01

通达信主图宝塔线(附源码)

<p data-first-child >通达信主图宝塔线(附源码)</p><p >{宝塔线主图}</p><p >MA5:MA(C,5),COLORYELLW;</p><p >MA10:MA(C,10),COLORFF00FF;</p><p >MA15:MA(C,15),COLOR00FF00;</p><p >MA30:MA(C,30),COLORFFCCCC;</p><p >B1:=REF(C,1);B2:=REF(C,2);</p><p >SS:=IF(C>REF(C,1) AND REF(C,1)>=REF(C,2),1,IF(C<REF(C,1) AND REF(C,1)<=REF(C,2),-1,IF(C>REF(C,2) AND REF(C,2)>REF(C,1),2,IF(C<REF(C,2) AND REF(C,2)<REF(C,1),-2,0)))); </p><p >SM:=IF(REF(SS,1)!=0,REF(SS,1),IF(REF(SS,2)!=0,REF(SS,2),IF(REF(SS,3)!=0,REF(SS,3),IF(REF(SS,5)!=0,REF(SS,5),IF(REF(SS,6)!=0,REF(SS,6),IF(REF(SS,7)!=0,REF(SS,7),0))))));</p><p >STICKLINE(SS=1 OR SM>=1 AND SS=0,B1,C,3,0),COLORRED; </p><p >STICKLINE(SS=-1 OR SM<=-1 AND SS=0,B1,C,3,0),COLORFFCC66;</p><p >STICKLINE(SS=2,B2,C,3,0),COLORRED; </p><p >STICKLINE(SS=-2,B2,C,3,0),COLORFFCC66;</p><p >STICKLINE((SS=-1 OR SS=-2) AND SM>0,B2,B1,3,0),COLORRED; </p><p >STICKLINE((SS=1 OR SS=2) AND SM<0,B2,B1,3,0),COLORFFCC66;</p><p >AA:=CLOSE>REF(CLOSE,1) AND REF(CLOSE,1)>REF(CLOSE,2) AND REF(CLOSE,1)<REF(CLOSE,3) AND IF(REF(CLOSE,3)<REF(CLOSE,4),1,IF(REF(CLOSE,4)<REF(CLOSE,5),REF(CLOSE,1)<REF(CLOSE,4) OR (REF(CLOSE,2)<REF(CLOSE,4) AND REF(CLOSE,3)>=REF(CLOSE,5)),IF(REF(CLOSE,5)<REF(CLOSE,6),1,REF(CLOSE,6)<REF(CLOSE,7))));</p><p >BB:=CLOSE<REF(CLOSE,1) AND REF(CLOSE,1)<REF(CLOSE,2) AND REF(CLOSE,1)>REF(CLOSE,3) AND IF(REF(CLOSE,3)>REF(CLOSE,4),1,IF(REF(CLOSE,4)>REF(CLOSE,5),REF(CLOSE,1)>REF(CLOSE,4) OR (REF(CLOSE,2)>REF(CLOSE,4) AND REF(CLOSE,3)<=REF(CLOSE,5)),IF(REF(CLOSE,5)>REF(CLOSE,6),1,REF(CLOSE,6)>REF(CLOSE,7))));</p><p >DRAWICON(AA AND CLOSE>REF(OPEN,2),0.99*LOW,1);</p><p >DRAWICON(BB AND CLOSE<REF(CLOSE,2),HIGH*1.01,2);</p><p >DRAWTEXT(AA AND CLOSE>REF(OPEN,2),LOW*0.98,'三平底翻红'),COLORYELLOW;</p><p >DRAWTEXT(BB AND CLOSE<REF(CLOSE,2),HIGH*1.02,'三平顶翻绿'),COLOR00FF00;</p><p class="ztext-empty-paragraph"><br/></p><p >注:平台目前更新的有关公式源码(全部支持电脑手机),有意可咨询,喜欢加关注,感谢点赞支持,后市若有可期,希望越来越好!</p><p></p>

owengwdc 发表于 2023-11-11 22:29:54

太棒了吧,真的很好

再會 发表于 2024-1-23 11:47:00

小手一抖,花花到手!
页: [1]
查看完整版本: 通达信主图宝塔线(附源码)