通达信强牛主图指标
2016-03-12 18:22:00来源:本站整理浏览:271
通达信强牛主图指标
源码
VAR1:=DMA(AMOUNT/V/100,V/CAPITAL); 筹码线:VAR1*1.1; 牛熊线:COST(75); 持仓线:MA(CLOSE,20), COLORGRAY; STICKLINE(C>0,O,C,4,0) ,COLORBLUE; STICKLINE(C>0,H,L,0.4,0) ,COLORBLUE; A:=CLOSE>筹码线 AND CLOSE>牛熊线 AND CLOSE>持仓线; B:=CLOSE>筹码线 AND CLOSE<牛熊线 AND CLOSE>持仓线; STICKLINE(A>0,O,C,4,0), COLORYELLOW; STICKLINE(A>0,H,L,0.4,0), COLORYELLOW; STICKLINE(B>0,H,L,0.4,0) ,COLORMAGENTA; STICKLINE(B>0,O,C,4,0), COLORMAGENTA; IF(CLOSE>牛熊线,牛熊线,DRAWNULL),COLORMAGENTA ,LINETHICK2; IF(CLOSE>持仓线,持仓线,DRAWNULL),COLORGREEN ,LINETHICK2; IF(CLOSE>筹码线,筹码线,DRAWNULL),COLORRED, LINETHICK2;
- 上一篇公式:通达信顶底一目主图指标
- 下一篇公式:通达信彩色MACD无未来函数放心使用!