量化资金-精品通达信指标公式源码分享
TT:=(2*CLOSE+OPEN+HIGH+LOW);
主导动能:TT/EMA(TT,4)-1,COLORSTICK;
FF:=主导动能;
STICKLINE(FF<REF(FF,1)AND FF>0,0,FF,4,0),COLOR33CFDD;
STICKLINE(FF<REF(FF,1)AND FF>0,0,FF,3,0),COLOR33DFDD;
STICKLINE(FF<REF(FF,1)AND FF>0,0,FF,2,0),COLOR33EFDD;
STICKLINE(FF<REF(FF,1)AND FF>0,0,FF,1,0),COLOR33FFDD;
STICKLINE(FF<REF(FF,1)AND FF<0,0,FF,4,0),COLOR00CC00;
STICKLINE(FF<REF(FF,1)AND FF<0,0,FF,3,0),COLOR00DD00;
STICKLINE(FF<REF(FF,1)AND FF<0,0,FF,2,0),COLOR00EE00;
STICKLINE(FF<REF(FF,1)AND FF<0,0,FF,1,0),COLOR00FF00;
STICKLINE(FF>REF(FF,1)AND FF<0,0,FF,4,0),COLORFF9900;
STICKLINE(FF>REF(FF,1)AND FF<0,0,FF,3,0),COLORFFAA00;
STICKLINE(FF>REF(FF,1)AND FF<0,0,FF,2,0),COLORFFBB00;
STICKLINE(FF>REF(FF,1)AND FF<0,0,FF,1,0),COLORFFCC00;
STICKLINE(FF>REF(FF,1)AND FF>0,0,FF,4,0),COLOR0000CC;
STICKLINE(FF>REF(FF,1)AND FF>0,0,FF,3,0),COLOR0000DD;
STICKLINE(FF>REF(FF,1)AND FF>0,0,FF,2,0),COLOR0000EE;
STICKLINE(FF>REF(FF,1)AND FF>0,0,FF,1,0),COLOR0000FF;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!