太极MACD,较为准确的显示买卖时机,来自网络改编! DIFF:=( EMA(CLOSE,5) - EMA(CLOSE,34))*100,COLOR0000FF ,LINETHICK1;
DEA:= EMA(DIFF,5);
MACD := 2*(DIFF-DEA);
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,8,0),colorgreen;
STICKLINE(MACD<REF(MACD,1)AND MACD<0,0,MACD,8,0),COLORFFCC33;
STICKLINE(MACD>REF(MACD,1)AND MACD,0,MACD,8,0),coloryellow;
STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,8,0),colormagenta;
VAR1:=(CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3))*100;
VAR2:=SMA(VAR1,6,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=10-VAR2+2*VAR3;
VAR5:=(3*VAR2+2*VAR3)/4;
VAR6:=ABS(ABS(VAR5)-ABS(VAR4));
VAR7:=ABS(ABS(VAR5)-ABS(VAR6));
阴跌区域:(VAR4-VAR7),colorFF0088;
|
