五行空间主图,和谐源码分享 主图
{五行空间主图}
AB:=EMA(((2*C+H+L)/4-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,8);BA:=EMA(AB,5);A1{高}:=REFDATE(REF(HHV(H,96),5),DATE);B1{低}:=REFDATE(REF(LLV(L,96),5),DATE);DY{中}:=((A1)+(B1))/2;箱顶:IF(AB>0 AND AB-BA<=0,A1,A1),LINETHICK3,COLOR00FF00;箱腰:IF(AB>0 AND AB-BA<=0,DY,DY),LINETHICK2,COLOR00FF00;箱低:IF(AB>0 AND AB-BA<=0,B1,B1),LINETHICK3,COLOR00FF00;高1:IF(AB>0 AND AB-BA>0,B1,DRAWNULL),LINETHICK3;中1:IF(AB>0 AND AB-BA>0,B1,DRAWNULL),LINETHICK3;低1:IF(AB>0 AND AB-BA>0,B1,DRAWNULL),LINETHICK3;Z1:=STRCAT(HYBLOCK,' ');Z2:=STRCAT(Z1,FGBLOCK);Z3:=STRCAT(Z2,DYBLOCK);Z4:=STRCAT(Z3,' ');DRAWTEXT_FIX(ISLASTBAR,0.00,0.99,0,STRCAT(Z4,GNBLOCK)),COLORGREEN;G1:=REF(O,1)>REF(C,1);GSD:=C/REF(C,1)>=1.095 AND L<>H;FH:=GSD AND G1 AND V<REF(V,1);DRAWTEXT(FH,L*0.98,'←一指千金'),COLORYELLOW;DIF:=EMA(C,2);DEA:=EMA(SLOPE(C,20)*5+C,30); HHJSJDA
DRAWTEXT(XG1,L*0.98,'加速'),COLORYELLOW;