VAR0:=(2*CLOSE+HIGH+LOW)/4;
B:=XMA((VAR0-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,12);
天子星:EMA(B,3),COLOR0000FF;
地煞星:EMA(天子星,18),COLOR00FF00;
VAR0:=(2*CLOSE+HIGH+LOW)/4;
B:=XMA((VAR0-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,12);
天子星:EMA(B,3),COLOR0000FF;
地煞星:EMA(天子星,18),COLOR00FF00;