同花顺逃顶副图指标
源码
量:=(CLOSE - LLV(LOW,32)) / (HHV(HIGH,32) - LLV(LOW,32)) * 1.2 * CLOSE;
量1:=EMA(量,3);
量2:=EMA(量,5);
量3:=EMA(量,7);
T1:=量2 >= 量3 AND 量1 < REF(量1,1);
T2:=量2 < 量3 AND 量1 > REF(量1,1);
STICKLINE(量1 >= 量2,量3,量1,6,0),COLOR0000FF;
STICKLINE(量1 >= 量2,量3,REF(量1,1),1,0),COLOR0000FF;
STICKLINE(量1 <= 量2,量3,量1,6,0),COLORFF9900;
STICKLINE(量1 <= 量2,量3,REF(量1,1),1,0),COLORFF9900;
STICKLINE(T1,量1,量3,6,0),COLORFFDD55;
STICKLINE(T1,量1,REF(量3,1),1,0),COLORFFDD55;
STICKLINE(T2,量1,量3,6,0),COLOR00FFFF;
STICKLINE(T2,量1,REF(量3,1),1,0),COLOR00FFFF;