胜者为王 发表于 2023-9-21 11:20:08

通达信精选指标:「专用主图」指标源码

<h2 data-first-child>通达信精选指标:【专用主图】指标源码</h2><p class="ztext-empty-paragraph"><br/></p><p class="ztext-empty-paragraph"><br/></p><h2><br/></h2><p >B1:=MA(C,1);<br/>B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1);<br/>SMA2:=MA(B2,3);<br/>停损下限:IF(LLV(MA(B2,8),3)<B2,LLV(MA(B2,8),3),B2);<br/>IF(B2>SMA2,B2,DRAWNULL),COLORRED,LINETHICK4;<br/>IF(B2<SMA2,B2,DRAWNULL),COLORGREEN,LINETHICK4;<br/>SNAKEA:HHV(MA(B2,1),13),COLORYELLOW;<br/>VAR1:=(2*CLOSE+HIGH+LOW)/4;<br/>VAR2:=MA(VAR1,7);<br/>VAR3:=VAR2-MA(VAR1,7/2)<0;<br/>VAR4:=VAR2-MA(VAR1,7/2)>0;<br/>VAR5:=BARSLAST(VAR3);<br/>VAR6:=0-BARSLAST(VAR4);<br/>VAR7:=IF(VAR3<=0,VAR5,VAR6);<br/>STICKLINE(SNAKEA>B2 AND B2>SMA2,SNAKEA,B2,0,1),COLORLIBLUE;<br/>STICKLINE(SNAKEA>SMA2 AND B2<SMA2,SNAKEA,SMA2,0,1),COLORBLUE;<br/>VAR11:=(CLOSE*2+HIGH+LOW)/4;<br/>VAR21:=EMA(VAR11,13)-EMA(VAR11,34);<br/>VAR31:=EMA(VAR21,5);<br/>STICKLINE((C>=O),OPEN,LOW,0,0),COLOR0726CA;<br/>STICKLINE((C>=O),CLOSE,HIGH,0,0),COLOR0726CA;<br/>STICKLINE((C<O),CLOSE,LOW,0,0),COLORDE9100;<br/>STICKLINE((C<O),OPEN,HIGH,0,0),COLORDE9100;<br/>STICKLINE((C<O),CLOSE,OPEN,4,0),COLORFF5B00;<br/>STICKLINE((C<O),CLOSE,OPEN,3.4,0),COLORFF6C00;<br/>STICKLINE((C<O),CLOSE,OPEN,2.8,0),COLORFF7B00;<br/>STICKLINE((C<O),CLOSE,OPEN,2.2,0),COLORFF9C00;<br/>STICKLINE((C<O),CLOSE,OPEN,1.6,0),COLORFFBE00;<br/>STICKLINE((C<O),CLOSE,OPEN,1,0),COLORFFCC00;<br/>STICKLINE((C<O),CLOSE,OPEN,0.3,0),COLORFFFF00;<br/>STICKLINE((C>O),CLOSE,OPEN,4,0),COLOR070084;<br/>STICKLINE((C>O),CLOSE,OPEN,3.4,0),COLOR0000A3;<br/>STICKLINE((C>O),CLOSE,OPEN,2.8,0),COLOR0000B7;<br/>STICKLINE((C>O),CLOSE,OPEN,2.2,0),COLOR0000CD;<br/>STICKLINE((C>O),CLOSE,OPEN,1.6,0),COLOR0000E9;<br/>STICKLINE((C>O),CLOSE,OPEN,1,0),COLOR0754E9;<br/>STICKLINE((C>O),CLOSE,OPEN,0.5,0),COLOR076EF3;<br/>STICKLINE((C>O),CLOSE,OPEN,0.2,0),COLOR077BF3;<br/>VAR2A:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2)));<br/>VAR3A:=((REF(VAR2A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));<br/>VAR4A:=((REF(VAR3A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));<br/>VAR5A:=((REF(VAR4A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));<br/>VAR6A:=((REF(VAR5A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));<br/>VAR7A:=((REF(VAR6A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));<br/>VAR8A:=((REF(VAR7A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));<br/>VAR9A:=((REF(VAR8A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));<br/>VARAA:=((REF(VAR9A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));<br/>VARBA:=((REF(VARAA,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));<br/>VARCA:=((REF(VARBA,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));<br/>VARDA:=((REF(VARCA,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));<br/>VAREAA:=((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,2)));</p><p ><b>本人承诺,本人不绝对不收取任何费用,免费分享给各位粉丝朋友,各位粉丝朋友们的支持是最大的动力!</b></p><p ><b>本人独创的技术和指标,不会使用或者有需要指标(全套源码)的朋友可以私信找我领取!</b></p>

刘moon 发表于 2023-12-18 14:16:29

好人啊!

laoguo1 发表于 2024-1-21 11:11:39

牛人一个

北京愤怒羔羊猩 发表于 2024-1-21 12:10:55

不错不错,楼主您辛苦了。。。

此路难行谎 发表于 2024-1-21 15:06:12

楼主好人一个!
页: [1]
查看完整版本: 通达信精选指标:「专用主图」指标源码