同花顺红娘子平衡三线公式
源码
DIF:=(EMA(CLOSE,6/2)-0.7*EMA(CLOSE,6)-0.3*EMA(CLOSE,12))*100;
DEA:=EMA(DIF,5),COLOR1E67FF,LINETHICK2;
MACD:=(DIF-DEA)*2,COLORSTICK;
A:=MACD;
KDIF:=3*(DIF-DEA);
KDEA:=SMA(KDIF,4,2);
量价时空:=2*(KDIF-KDEA),COLOR15FFFF;
红1:SMA(A,3,1),colorred,LINETHICK2;
红2:SMA(红1,3,1),coloryellow,LINETHICK2;
红3:2*红1-2*红2,colormagenta,LINETHICK2;
平衡线:0,colorwhite,LINETHICK0;