分:=CONST(LLV(L,90)); 百:=CONST(HHV(H,90))-分;基点:=CONST(LLV(INDEXC,90)); 基:=CONST(HHV(INDEXC,90))-基点;C比:=(C-分)/百; H比:=(H-分)/百; L比:=(L-分)/百; O比:=(O-分)/百;CX:=C比*基+基点; HX:=H比*基+基点; LX:=L比*基+基点; OX:=O比*基+基点;{ _通达信公式}股K:DRAWKLINE(IF(CX>INDEXC,HX,DRAWNULL),IF(CX>INDEXC,OX,DRAWNULL),IF(CX>INDEXC,LX,DRAWNULL),IF(CX>INDEXC,CX,DRAWNULL));股:MA(CX,5)COLORBLUE;盘K:DRAWKLINE(IF(CX>INDEXC,INDEXH,DRAWNULL),IF(CX>INDEXC,INDEXO,DRAWNULL),IF(CX>INDEXC,INDEXL,DRAWNULL),IF(CX>INDEXC,INDEXC,DRAWNULL));盘:MA(INDEX