九毛八公式指标
请老师把大智慧顾比通道主图改为通达信可用的指标。谢谢! {顾比通道主图} 均价:=(2*C+(H-L)/2+L+o)/4; A:MA(HHV(均价,8),8),COLORWHITE,LINETHICK2; A1:MA(A,2),COLORWHITE; A2:MA(A1,2),COLORWHITE; A3:MA(A2,2),COLORWHITE; PARTLINE(A,A>REF(A,1)),COLORRED,LINETHICK2; PARTLINE(A1,A1>REF(A1,1)),COLORRED; PARTLINE(A2,A2>REF(A2,1)),COLORRED; PARTLINE(A3,A3>REF(A3,1)),COLORRED; B:MA(LLV(均价,8),8),COLORAAAA00,LINETHICK2; B1:MA(B,2),COLORGREEN; B2:MA(B1,2),COLORGREEN; B3:MA(B2,2),COLORGREEN; PARTLINE(B,B>REF(B,1)),COLORYELLOW,LINETHICK2; PARTLINE(B1,B1>REF(B1,1)),COLORYELLOW; PARTLINE(B2,B2>REF(B2,1)),COLORYELLOW; PARTLINE(B3,B3>REF(B3,1)),COLORYELLOW;
公式模块:
{顾比通道主图}
均价:=(2*C+(H-L)/2+L+O)/4; A:MA(HHV(均价,8),8),COLORWHITE,LINETHICK2; A1:MA(A,2),COLORWHITE; A2:MA(A1,2),COLORWHITE; A3:MA(A2,2),COLORWHITE; IF(A>REF(A,1),A,DRAWNULL),COLORRED,LINETHICK2; IF(A1>REF(A1,1),A1,DRAWNULL),COLORRED; IF(A2>REF(A2,1),A2,DRAWNULL),COLORRED; IF(A3>REF(A3,1),A3,DRAWNULL),COLORRED; B:MA(LLV(均价,8),8),COLORAAAA00,LINETHICK2; B1:MA(B,2),COLORGREEN; B2:MA(B1,2),COLORGREEN; B3:MA(B2,2),COLORGREEN; IF(B>REF(B,1),B,DRAWNULL),COLORYELLOW,LINETHICK2; IF(B1>REF(B1,1),B1,DRAWNULL),COLORYELLOW; IF(B2>REF(B2,1),B2,DRAWNULL),COLORYELLOW; IF(B3>REF(B3,1),B3,DRAWNULL),COLORYELLOW;