通达信【MACD高低点画线】指标
<p data-first-child >通达信【MACD高低点画线】指标</p><pre><code class="language-text">MACD高低点画线指标(副图 通达信 贴图)给大小多空转换画线,小转大与大转小,使用技巧灵活源码 NNN:=STRCAT(CON2STR(YEAR,0),' 年 '); YYY:=STRCAT(CON2STR(MONTH,0),' 月 '); RRR:=STRCAT(CON2STR(DAY,0),' 日 '); WWW:=STRCAT('星期',CON2STR(WEEKDAY,0)); SSS:=STRCAT(STRCAT(STRCAT(NNN,YYY), RRR),WWW); DRAWTEXT_FIX(C>0,0.77,0,0,SSS);DRAWTEXT_FIX(C>0,0.004,1,0,DYBLOCK),COLORYELLOW,LINETHICK2;DRAWTEXT_FIX(C>0,0.06,1,0,HYBLOCK),COLORRED,LINETHICK2;DRAWTEXT_FIX(C>0,0.12,1,0,GNBLOCK),COLORWHITE,LINETHICK2;DRAWTEXT_FIX(1,0.88,5,0,',COLORYELLOW;快量:(EMA(CLOSE,12) - EMA(CLOSE,26));慢量:EMA(快量,9),COLOR00FFFF;MACD:=2*(快量-慢量);资金线:=HHV(MACD,1)*0.98,LINETHICK1,COLORRED;资金3日线:=HHV(MACD,3)*0.98,LINETHICK1;资金5日线:=HHV(MACD,5)*0.98,COLORWHITE,LINETHICK1;持股:=IF(资金线>=REF(资金线,1) AND 资金3日线>=资金线 AND 资金3日线>=REF(资金3日线,1) AND 资金3日线=资金5日线,1.5,0),COLORWHITE;{DRAWICON(REF(持股<1.5,1) AND 持股,资金线,1);DRAWICON(REF(资金线=资金5日线,1) AND 资金线<资金5日线,资金5日线,2);}骑牛技术:0,COLORGRAY;STICKLINE(MACD>0 AND MACD>REF(MACD,1),MACD,0,3,0),COLORRED;STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD,0,3,0),COLOR008080;STICKLINE(MACD<0 AND MACD<REF(MACD,1),MACD,0,3,0),COLOR00FF00;STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,3,0),COLORFFFFFF;STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,3,0 ),COLORFFAA00;STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,3.3 ,0 ),COLORFFBB11;STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,2.2,0 ),COLORF</code></pre><button type="button" class="Button ContentItem-expandButton css-1pr2waf FEfUrdfMIKpQDJDqkjte Button--plain fEPKGkUK5jyc4fUuT0QP">展开阅读全文<span style="display:inline-flex;align-items:center"><svg width="24" height="24" viewBox="0 0 24 24" class="Zi Zi--ArrowDown ContentItem-arrowIcon" fill="currentColor"><path fill-rule="evenodd" d="M17.776 10.517a.875.875 0 0 1-.248 1.212l-5.05 3.335a.875.875 0 0 1-.964 0L6.47 11.73a.875.875 0 1 1 .965-1.46l4.56 3.015 4.568-3.016a.875.875 0 0 1 1.212.248Z" clip-rule="evenodd"></path></svg></span></button>
页:
[1]