通达信金牛三线源码副图

主图金牛三线指标源码 

VAR1:=DMA(AMOUNT/V/100,V/CAPITAL);

筹码线:VAR1*1.1, COLORCYAN,LINETHICK2;

牛熊线:COST(75), COLORCYAN,LINETHICK2;

持仓线:MA(CLOSE,20), COLORYELLOW,LINETHICK2;

IF(CLOSE>筹码线,筹码线,DRAWNULL),COLORMAGENTA, LINETHICK2;

IF(CLOSE>牛熊线,牛熊线,DRAWNULL),COLORMAGENTA ,LINETHICK2;

IF(CLOSE>持仓线,持仓线,DRAWNULL),COLORBLUE ,LINETHICK2;