DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
MACD:(DIF -DEA)*2,COLORSTICK;
JC:=CROSS(DIF,DEA)?AND?DEA>-0.1?AND?DEA<0.1;
STICKLINE(JC,0 ,-0.2,1,0),COLORRED;
다음은 주식 선택 공식 코드입니다:
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26) ;
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2,COLORSTICK;
JC:CROSS(DIF ,DEA )?AND?DEA>-0.1?AND?DEA<0.1;