XMac:macd(9,12,6) ;
VALUE1:=LLV(XMAC,10);
VALUE2:=HHV(XMAC,10)-VALUE1;
快线:IF(VALUE2>0,((XMAC-VALUE1)/VALUE2)*100,1),COLORRED;
VALUE3:=LLV(快线,10);
VALUE4:=HHV(快线,10)-VALUE3;
慢线:IF(VALUE4>0,((快线-VALUE3)/VALUE4)*100,1),COLORLIRED;
XMac:macd(9,12,6) ;
VALUE1:=LLV(XMAC,10);
VALUE2:=HHV(XMAC,10)-VALUE1;
快线:IF(VALUE2>0,((XMAC-VALUE1)/VALUE2)*100,1),COLORRED;
VALUE3:=LLV(快线,10);
VALUE4:=HHV(快线,10)-VALUE3;
慢线:IF(VALUE4>0,((快线-VALUE3)/VALUE4)*100,1),COLORLIRED;