小妖花满楼满fx 发表于 2024-2-11 08:20:06

通达信公式 建仓马上,波段操作的指标通达信公式 副图 源码

<p data-first-child></p><p >公式源码:</p><p >LC:=REF(CLOSE,1);</p><p >RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;</p><p >卖点:=CROSS(85,RSI1)*30,COLOR00FF00,LINETHICK2;</p><p >卖:IF(卖点,6.5,0),STICK,COLORGREEN,LINETHICK4;</p><p >洗钱A:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE;</p><p >量1:=EMA(洗钱A,3);</p><p >量2:=EMA(洗钱A,5);</p><p >量3:=EMA(洗钱A,7);</p><p >STICKLINE(量1>量2,量3,量1,3,1),COLORRED;</p><p >STICKLINE(量1<量2,量3,量1,2,0),COLORCYAN;</p><p >T1:=量2>量3 AND 量1<REF(量1,1);</p><p >T2:=量2<量3 AND 量1>REF(量1,1);</p><p >STICKLINE(T1,量1,量3,2,0),COLORYELLOW;</p><p >STICKLINE(T2,量1,量3,3,1),COLORFF00FF;</p><p >洗钱B:=SMA(洗钱A,13,1);</p><p >分水岭:SMA(洗钱B,2.5,1.5),LINETHICK2,COLORWHITE;</p><p >牛线:3*洗钱B-2*分水岭,LINETHICK2,COLORFF00FF ;</p><p >DRAWTEXT_FIX(C>O,0.01,0.9,0,' 云指标公式网 '),COLORRED;</p><p >DRAWTEXT_FIX(C>O,1,1,0,' <a href="https://link.zhihu.com/?target=http%3A//70822.COM" class=" external" target="_blank" rel="nofollow noreferrer"><span class="invisible">http://</span><span class="visible">70822.COM</span><span class="invisible"></span></a> '),COLORRED;</p><p >熊线:4*分水岭-3*洗钱B,LINETHICK2,COLORFF6633;</p><p >DIF1:=EMA(C,12)-EMA(C,26);</p><p >DEA1:=EMA(DIF1,9);</p><p >MACD1:=2*(DIF1-DEA1);</p><p >QZQ:=BARSLAST(REF(MACD,1)<0 AND MACD>0);</p><p >QM:=LLVBARS(MACD1,QZQ+20);</p><p >MQDZ:=IF(QM>QZQ,REF(MACD1,QM),0);</p><p >QF:=LLVBARS(DIF1,QZQ+20);</p><p >DQDZ:=IF(QF>QZQ,REF(DIF1,QF),0);</p><p >XG1:=MACD1<0 AND MACD1>MQDZ AND DIF1<0 AND DIF1>DQDZ AND C=LLV(C,QZQ+20) AND MQDZ<0 AND DQDZ<0;</p><p >XG:REF(XG1,1)=1 AND MACD1>REF(MACD1,1);</p><p >VAR21A:=(REF(HIGH,1)+REF(LOW,1))/2;</p><p >VAR61:=REF(CLOSE,1);</p><p >VAR70A:=SMA(MAX(CLOSE-VAR61,0),6,1)/SMA(ABS(CLOSE-VAR61),6,1)*100;</p><p >DRAWICON(CROSS(90,VAR70A),H*0.8,9);</p><p >MTM1:=C-REF(C,1);</p><p >A013:=HHV(HIGH,34);</p><p >A014:=(2*CLOSE+HIGH+LOW)/4;</p><p >A015:=LLV(LOW,34);</p><p >A016:=EMA(((A014-A015)/(A013-A015))*100,13);</p><p >A017:=EMA(0.667*REF(A016,1)+0.333*A016,2);</p><p >KKMD:=A016-A017>1 AND A016<30 AND A017<30;</p><p >DRAWTEXT(FILTER(KKMD,30),L*0.05,'▲短买'),COLOR00FFFF;</p><p >VAR06:=REF(C,1);</p><p >VAR07:=SMA(MAX(C-VAR06,0),6,1)/SMA(ABS(C-VAR06),6,1)*100;</p><p >DRAWTEXT(CROSS(82,VAR07),H*0.9,'减仓'),COLORGREEN;</p><p >RSVB:=(C-LLV(L,25))/(HHV(HIGH,25)-LLV(L,25))*100;</p><p >K:=SMA(RSVB,3,1);</p><p >D:=SMA(K,3,1);</p><p >J:=3*K-2*D;</p><p >VARA6:=(2*C+H+L)/3;</p><p >VARA7:=EMA(EMA(EMA(VARA6,4),4),4);</p><p >VARA8:=(VARA7-REF(VARA7,1))/REF(VARA7,1)*100;</p><p >VARA9:=MA(VARA8,3)+0.03;</p><p >VARA10:=MA(VARA8,1);</p><p >DRAWICON(CROSS(VARA9,VARA10) AND J>90,H*0.96,12),COLORGREEN;</p><p >DRAWTEXT(CROSS(VARA9,VARA10) AND J>90,H*1.02,'卖'),COLORCYAN;</p><p >LCD:=REF(CLOSE,1);</p><p >RSI:=SMA(MAX(CLOSE-LCD,0),4.1,1)/SMA(ABS(CLOSE-LCD),4.1,1)*100;</p><p >建仓:CROSS(RSI,11)*5,COLORRED;</p>
页: [1]
查看完整版本: 通达信公式 建仓马上,波段操作的指标通达信公式 副图 源码