大智慧股票重心主图指标公式

大智慧股票重心主图指标公式:
INPUT:P1(5,0,999,1),P2(10,0,999,1),P3(20,0,999,1),P4(30,0,999,1),P5(60,0,999,1),P6(120,0,999,1);

PG:IF(vol,AMOUNT/VOL/100,IF(REF(VOL,1),REF(CLOSE,1),REF(CLOSE,2))),crOSSDOT,COLORFF00FF;

MG1:MA(PG,P1),COLORFFFFFF;

MG2:MA(PG,P2),COLOR00FFFF;

MG3:MA(PG,P3),COLOR00FF00;

MG4:MA(PG,P4),COLORFF00FF;

MG5:MA(PG,P5),COLOR0000FF;

MG6:MA(PG,P6),COLORFF0000;