济安线 源码
随行情自动调整参数,在济安线上面做多,重心价低于济安线做空
n 30 2 100 1
m 3 1 15 1
AA:=Abs((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,N))/MA(CLOSE,N);
济安线:DMA((2*CLOSE+LOW+HIGH)/4,AA),LINETHICK3,COLOrff00ff;
CC:=(CLOSE/济安线);
MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3);
MAAA:=((MA1-济安线)/济安线)/3;
TMP:=MA1-MAAA*MA1;
PARTLINE(济安线,TMP<=济安线,RGB(0,255,255)),LINETHICK3;
A:TMP,LINETHICK2,COLORYELLOW;
PARTLINE(TMP,TMP<=济安线,RGB(0,255,0)),LINETHICK2;