請版主幫看一下,救命
作者:開拓者 TB 來源:cxh99.com 發布時間:2014年02月01日
- 咨詢內容:
Params
Vars
NumericSeries Line1;
NumericSeries Line2;
Begin
line1=Average(vol,5);
line2=Average(vol,200);
PlotNumeric("1",line1);
PlotNumeric("2",line2);
End
這個是在日線下劃的兩條成交量的圖
我想在15分鐘的周期里也劃同樣的一個圖,所以改了一下公式
Params
Vars
NumericSeries Line1;
NumericSeries Line2;
Begin
line1=Average(vold(1),5);
line2=Average(vold(1),200);
PlotNumeric("1",line1);
PlotNumeric("2",line2);
End
但是好像結果完全不同,想調用日線的成交量圖在15分種K線里提取數據
- TB技術人員:
1是日線的,2是15分鐘的同一個時間內
- TB客服:
會有差別,k線周期不同,顯示出來的圖形是不一樣啊。某一天日線,在圖中只有一個點,但是換到15分鐘圖中,就會是值相同的幾個點。
你可以參考一下跨周期集中帖http://bbs.tb18.net/thread-2785-1-1.html,用寫文件的方法,把日線數據寫入文件,然后在15分鐘讀取