本帖最後由 hohooh 於 17-8-7 12:57 編輯
- ind=data1-data2;
- if date<>date[1] then begin
- HH=ind;
- LL=ind;
- end;
- if ind>HH then HH=ind;
- if ind<LL then LL=ind;
- plot1(HH, "highest today");
- plot2(LL, "lowest today");
複製代碼 以上方法會畫出兩條線表示出今天的高低點;算是比較快速簡單的方法
如果你想在像卷商版的在圖上寫一個文字或打個箭頭之類的, 用
Text_New (BarDate, BarTime, PriceValue,"Text")
Arw_New (BarDate, BarTime, PriceValue, Direction)
因為寫起來很複雜,,先給個方向你研究一下,
|