通达信【原创指标】几何平均数 Geometric Mean
2016-11-02 19:59:00来源:本站整理浏览:219
M1:POW(MULAR(C,3),1/3),COLORGREEN;
M2:POW(MULAR(C,4),1/4),COLORGREEN;
M3:POW(MULAR(C,5),1/5),COLORGREEN;
M4:POW(MULAR(C,6),1/6),COLORGREEN;
M5:POW(MULAR(C,7),1/7),COLORGREEN;
M6:POW(MULAR(C,8),1/8),COLORGREEN;
M7:POW(MULAR(C,9),1/9),COLORGREEN;
M8:POW(MULAR(C,10),1/10),COLORGREEN;
{作者:李季峰、李津}
IF(M1>REF(M1,1),M1,DRAWNULL),COLORRED;
IF(M2>REF(M2,1),M2,DRAWNULL),COLORRED;
IF(M3>REF(M3,1),M3,DRAWNULL),COLORRED;
IF(M4>REF(M4,1),M4,DRAWNULL),COLORRED;
IF(M5>REF(M5,1),M5,DRAWNULL),COLORRED;
IF(M6>REF(M6,1),M6,DRAWNULL),COLORRED;
IF(M7>REF(M7,1),M7,DRAWNULL),COLORRED;
IF(M8>REF(M8,1),M8,DRAWNULL),COLORRED;
- 上一篇公式:通达信仿指南针资金指标 副图源码
- 下一篇公式:通达信有了它 别无他求源码