如果你是老一輩的投資人,應該有聽過這個指標,當年很紅的某家資訊公司研發出來的,透過不同的計算公式利用K棒顏色呈現大盤的走勢
一般的K線圖
裁縫線的K線圖
Multicharts公式如下
Vars: ClosePrice(0) , OpenPrice(0) ;
if ClosePrice <> 0 then ClosePrice = C;
if ClosePrice = 0 then ClosePrice = (O + H + L + C)/4;
if OpenPrice <> 0 then OpenPrice = (OpenPrice[1] + ClosePrice[1])/2;
if OpenPrice = 0 then OpenPrice = (O + C)/2;
if ClosePrice > OpenPrice or (ClosePrice = OpenPrice and ClosePrice >= OpenPrice) then PlotPaintBar(H,L,O,C,"",Red);
if ClosePrice < OpenPrice or (ClosePrice = OpenPrice and ClosePrice < OpenPrice) then PlotPaintBar(H,L,O,C,"",green);
有興趣可以自行研究看看~~
文章標籤
全站熱搜
留言列表