請問 如何用 PLOT 指令,繪出 水平線?
腳本如下
settotalbar(1);
plot1((high[1]+low[1]+close[1])/3,"水平價");
1 評論
Hello 拿鐵,
plot 出的數值需要是固定的,才會是一條水平線。
舉例來說: plot1(100); 就會是在100上畫出一條橫線。
(high[1]+low[1]+close[1])/3 會隨著每根Bar不同而變動。
1 評論