通达信版博尔主导动能指标
源码
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;