九毛八公式指标
N1:=7; LC:=REF(CLOSE,1); XD:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORYELLOW,LINETHICK1; 魔鬼:=DRAWLINE(XD>=HHV(XD,N1),XD,XD<=LLV(XD,N1),XD,1),COLOR00FF00; 魔王:=DRAWLINE(XD>=HHV(XD,N1),XD,XD<=LLV(XD,N1),1,XD),COLOR00FF00; TJ0:=XD=魔王; TJ1:=XD=魔鬼; TJ2:=XDREF(1,XD); JRS1:=DRAWICON(TJ1 AND TJ2,XD,1); JRS2:=DRAWICON(TJ0 AND TJ3,XD,2); DRAWICON(FILTER(JRS1>0,1),L*0.95,1); DRAWICON(FILTER(JRS2>0,1),H*1.05,2);
公式模块:
N1:=7;
LC:=REF(CLOSE,1); XD:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORYELLOW,LINETHICK1; TJ0:=XD; TJ1:=XD; TJ2:=XD<REF(XD,1); TJ3:=XD>REF(1,XD); JRS1:=DRAWICON(TJ1 AND TJ2,XD,1); JRS2:=DRAWICON(TJ0 AND TJ3,XD,2); DRAWICON(FILTER(JRS1>0,1),L*0.95,1); DRAWICON(FILTER(JRS2>0,1),H*1.05,2);