网友求助:
求助 哪位老师帮我把这个改成同花顺的啊?
MA1:MA(CLOSE,P1);
MA2:MA(CLOSE,P2);
MA3:MA(CLOSE,P3);
MA4:MA(CLOSE,P4);
MA5:MA(CLOSE,P5);
MA6:MA(CLOSE,P6);
PARTLINE(MA1,MA1>REF(MA1,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;
PARTLINE(MA2,MA1>REF(MA2,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;
PARTLINE(MA3,MA1>REF(MA3,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK2;
PARTLINE(MA4,MA1>REF(MA4,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;
PARTLINE(MA5,MA1>REF(MA5,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;
PARTLINE(MA6,MA1>REF(MA6,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;
解答如下:
MA1:=MA(CLOSE,P1);
MA2:=MA(CLOSE,P2);
MA3:=MA(CLOSE,P3);
MA4:=MA(CLOSE,P4);
MA5:=MA(CLOSE,P5);
MA6:=MA(CLOSE,P6);
PARTLINE(MA1,MA1>REF(MA1,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;
PARTLINE(MA2,MA2>REF(MA2,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;
PARTLINE(MA3,MA3>REF(MA3,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK2;
PARTLINE(MA4,MA4>REF(MA4,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;
PARTLINE(MA5,MA5>REF(MA5,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;
PARTLINE(MA6,MA6>REF(MA6,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;