N:=9;M1:=3;M2:=3;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=(RSV,M1,1),LINETHICK2,COLORWHITE;D:=SMA(K,M2,1),COLORYELLOW;:=3*K-2*D,LINETHICK2;E:=EMA(量能,3);DIFF : EMA(RSIE,12) - EMA(RSIE,26);IFF:=DIFF-REF(DIFF,1);DEA : EMA(DIFF,9);DRAWBAND(DIFF,RGB(255,105,180),DEA,RGB(34,139,34));BBDEA:=DEA-REF(DEA,1); : 2*(DIFF-DEA), COLORSTICK;STICKLINE(MD
[0,0,MACD,2,0),COLORFFFF00;STICKLINE(MACD][REF(MACD,1)AND MACD<0>REF(MACD,1)AND MACD>0,0,MACD,2,0),COLORRED;0,COLORFF8855,LINETHICK2;IF(D
]