關於 plot 繪圖

  •   525 
  • 最後發表   Anfernee  2021 八月 20
Anfernee 發文於   2016/11/07

if currentbar< 50 then

plot10(9180);

if currentbar >=50 and currentbar<= 55 then 

noplot(10);

if currentbar >55 then

plot10(9190);

 

排序方式: 標準 | 最新
XQ小幫手 發文於   2016/11/08

Anfernee 你好:

  可以麻煩你提供完整程式碼嗎?小幫手這邊再嘗試幫你修改看看,謝謝

XQ小幫手 發文於   2016/11/08

你好:

關於你文中的附圖的問題,小幫手這邊有稍微查看了一下,這部分的話目前程式有bug喔,所以會造成中間部分雖然是N/A值,但卻會劃線,目前這問題工程師已經在處理當中,待處理完畢後,小幫手會再向你告知,謝謝

  • 按讚來自於
  • PCJU0219
Anfernee 發文於   2016/11/08

指標程式碼如下:  (股票可選 TSE日線圖(如下圖)) thanks.

SetFirstBarDate(20160801);

 

if currentbar< 10 then

plot10(9100);

 

if currentbar >=10 and currentbar<= 15 then 

noplot(10);

 

if currentbar >15 then

plot10(9190);

 

 

 

 

XQ小幫手 發文於   2016/11/08

你好:

再bug未修復完畢之前,小幫手建議你可以先將繪圖樣式改為點,請參考下圖,謝謝

 

  • 按讚來自於
  • PCJU0219
Anfernee 發文於   2016/11/08

謝謝.

GaryChiang 發文於   2021/08/18

 已經5年了, 這個bug到現在還沒修正! 

WeiieW 發文於   2021/08/19

幫忙說一下話

這不是BUG吧,XQ畫線條的時候本來就會將所有有值的點連在一起

 

若想做到N/A不畫線,讓線有中斷的效果
不知道從哪一版開始,XQ也有提供"線段"的繪圖型式可供選擇

可以試試看喔

XQ小幫手 發文於   2021/08/20

Hello GaryChiang,

 

您可以參考 WeiieW 的說明,將繪圖設定裡的形式調整成線段即可。

感謝 WeiieW 的熱心回覆。

發表回覆
Close