九毛八公式指标
这是红树林的美人眼CD公式。通达信原码为 RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; %K:MA(RSV,M1); %D:MA(%K,M2),COLORAA00DD; DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); VAR1:=HHV(DEA,53); VAR2:=LLV(DEA,55); VAR3:=DEA-(DIF-DEA); UP:=IF(DIF>VAR1 AND DEA=VAR1,MAX(LLV(VAR1,10),VAR3),VAR1); DN:=IF(DIF公式模块:
N:=9;M1:=3;M2:=3; RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; %K:MA(RSV,M1); %D:MA(%K,M2),COLORAA00DD; DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); VAR1:=HHV(DEA,53); VAR2:=LLV(DEA,55); VAR3:=DEA-(DIF-DEA); UP:=IF(DIF>VAR1 AND DEA=VAR1,MAX(LLV(VAR1,10),VAR3),VAR1); DN:=IF(DIF<VAR2 AND DEA=VAR2,MIN(HHV(VAR2,10),VAR3),VAR2); IF(DIF<DN,-5,DRAWNULL),COLOR00BB00,LINETHICK3; IF(DIF>UP,104,DRAWNULL),COLOR00BB00,LINETHICK3; DRAWICON(crOSS(%D,%K) AND %D>74,0,2); DRAWICON(CROSS(%K,%D) AND %D<26,0,1);