剛好看到這篇,順手試了一下,大家參考看看了
- var : ope(0),clos (0);
- ope = (ope[1]+clos[1])/2;
- clos = (open + High + Low + close )/4;
- if ope > ope[1] then
- PlotPaintBar (high,low,open[1],clos,"",red);
- if ope < ope[1] then
- PlotPaintBar (high,low,open[1],clos,"",green);
複製代碼
上圖是原本的 K 線
中間是平均 K 線
底下是內外盤成交量差異
請各位朋友參考看看囉 ~~~
|