主力线上穿买红色买下穿卖☆☆☆☆☆:STKNAME,coloryellow;
n:=30;
AA:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,N))/MA(CLOSE,N);
济安线:DMA((2*CLOSE+LOW+HIGH)/4,AA),LINETHICK1,colorFFFFFF;
CC:=(CLOSE/济安线);
MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3);
MAAA:=((MA1-济安线)/济安线)/2;
TMP:=MA1-MAAA*MA1;
A:TMP,LINETHICK1,coloryellow;
PARTLINE(济安线,TMP<=济安线,RGB(0,255,255),1,RGB(255,0,255)),LINETHICK3;
PARTLINE(TMP,TMP<=济安线,RGB(0,255,0),1,RGB(255,0,0)),LINETHICK3;