大家好,今天分享给大家一个多空双方动能指标
文华财经和通达信都可以使用
TT:=(2*CLOSE OPEN HIGH LOW);
主导动能:TT/EMA(TT,4)-1,COLORSTICK;
FF:=主导动能;
STICKLINE(FF,0,FF,3.2,0),COLOR33CFDD;
STICKLINE(FF,0,FF,2.8,0),COLOR33DFDD;
STICKLINE(FF,0,FF,2,0),COLOR33EFDD;
STICKLINE(FF,0,FF,1,0),COLOR33FFDD;
STICKLINE(FF<0,0,FF,3.2,0),COLOR00CC00;
STICKLINE(FF<0,0,FF,2.8,0),COLOR00DD00;
STICKLINE(FF<0,0,FF,2,0),COLOR00EE00;
STICKLINE(FF<0,0,FF,1,0),COLOR00FF00;
STICKLINE(FF>REF(FF,1) AND FF<0,0,FF,3.2,0),COLORFF9900;
STICKLINE(FF>REF(FF,1) AND FF<0,0,FF,2.8,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,3.2,0),COLOR0000CC;
STICKLINE(FF>REF(FF,1) AND FF>0,0,FF,2.8,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;