通达信荷蒲系列大盘K线图-蜡烛线副图,比较个股大盘K线
荷蒲大盘K线图-蜡烛线副图,比较个股大盘K线
A1:=INDEXC;
A2:=INDEXO;
A3:=INDEXH;
A4:=INDEXL;
MA1:MA(A1,P1);
MA2:MA(A1,P2);
MA3:MA(A1,P3);
MA4:MA(A1,P4);
STICKLINE(A1>=A2,A1,A2,7,1),COLORRED;
STICKLINE(A1<A2,A1,A2,7,0),COLORCYAN;
STICKLINE(A1>=A2 AND A3>A1,A3,A1,0,1),COLORRED;
STICKLINE(A1>=A2 AND A2>A4,A2,A4,0,1),COLORRED;
STICKLINE(A1<A2,A3,MAX(A1,A2),0,1),COLORCYAN;
STICKLINE(A1<A2,MIN(A1,A2),A4,0,1),COLORCYAN;