求教,新手想寫轉折線,但不知那裡出錯.....
新手想寫1條20天頂底轉折線...但不知那裡出了錯...求助大大幫手...謝謝...
inputs:lenght(20);
Vars:trail(0);
trail=if c>prevclose then
value1=lowest(low,lenght) else
if c<prevclose then
value2=highest(high,lenght);
plot1(trail,"trail");
把 trail= 去掉,把value1/value2 換成 trail easytrader788 發表於 16-9-15 18:47
把 trail= 去掉,把value1/value2 換成 trail
thx aa lot......
但唔知點解如果之後有新高,會影響之前plot 既前高,會忽然自己移位.....{:4_186:}
頁:
[1]