指标源码: AAAA:=EMA(CLOSE,13) - EMA(CLOSE,34); BBBB:=EMA(AAAA,13); CCCC:=2*(AAAA-BBBB/2); HHH:=HHV(CCCC,13*1); LLL:=LLV(CCCC,13*0.3); A:=STICKLINE(CCCC>0,CCCC,0,1,0),COLOR0000AA,LINETHICK1; B:=STICKLINE(CCCC<0,CCCC,0,1,0),COLOR008800,LINETHICK1; DDDD:=EMA(CCCC,34); AAA:=IF(DDDD>REF(DDDD,1),DDDD,DRAWNULL),COLORYELLOW; BBB:=IF(DDDD<=REF(DDDD,1),DDDD,DRAWNULL),COLORFF5000; CCC:=DRAWBAND(DDDD,RGB(255,255,0),REF(DDDD,1),RGB(0,88,255)); K:=SMA(CCCC,2,1); D:=SMA(K,2,1); J:=SMA(D,2,1); AA:=STICKLINE(CCCC>0,0.000001,0.000003,3,0),COLORRED; BB:=STICKLINE(CCCC<0,0.000001,0.000003,3,0),COLORGREEN; IF(K>REF(K,1),K,DRAWNULL),COLORRED; IF(K<=REF(K,1),K,DRAWNULL),COLORGREEN; IF(D>REF(D,1),D,DRAWNULL),COLORRED; IF(D<=REF(D,1),D,DRAWNULL),COLORGREEN; IF(J>REF(J,1),J,DRAWNULL),COLORRED,LINETHICK2; IF(J<=REF(J,1),J,DRAWNULL),COLORGREEN,LINETHICK2; STICKLINE(REF(CCCC,1)<CCCC,CCCC,REF(CCCC,1),3,0),COLORYELLOW; STICKLINE(CCCC=HHH,HHH,K,3,0),LINETHICK1,COLORRED; STICKLINE(REF(CCCC,2)>CCCC,CCCC,REF(CCCC,1),3,1),COLORGREEN;
|