C1:=EMA(INDEXC,500)/EMA(C,500);
D1:=INDEXO/C1; D2:=INDEXH/C1;
D3:=INDEXL/C1; D4:=INDEXC/C1;
STICKLINE(D4>=REF(D4,1),D3,D2,0,0),COLORFF99CC;
STICKLINE(D4>=REF(D4,1),D4,D1,5,1),COLORFF99CC;
STICKLINE(D4< REF(D4,1),D3,D2,0,0),COLORFFCC99;
STICKLINE(D4< REF(D4,1),D4,D1,5,1),COLORFFCC99;
生命线:MA(CLOSE,24),COLOR00FF00,LINETHICK2;
STICKLINE(C>=生命线 AND C>=O,C,O,9,0),COLOR0000FF;
STICKLINE(C>=生命线 AND C>=O,H,L,0,0),COLOR0000FF;
STICKLINE(C>=生命线 AND C<O,C,O,9,1),COLOR0000FF;
STICKLINE(C>=生命线 AND C<O,O,H,0,0),COLOR0000FF;
STICKLINE(C>=生命线 AND C<O,C,L,0,0),COLOR0000FF;
STICKLINE(C<生命线 AND C>O,C,O,9,1),COLORFFFF00;
STICKLINE(C<生命线 AND C<=O,C,O,9,1),COLORFFFF00;
STICKLINE(C<生命线 AND C<=O,H,L,0,1),COLORFFFF00;
STICKLINE(C<生命线 AND C>O,C,H,0,1),COLORFFFF00;
STICKLINE(C<生命线 AND C>O,O,L,0,1),COLORFFFF00;
同花顺跑赢大盘主图指标公式的选股公式如下: