yuya_takahashi_

Pine講座㉑ ラインを表示する

Education
FX:USDJPY   U.S. Dollar / Japanese Yen
Pineスクリプトのversion4では、
簡単にラインを表示することもできるようになりました。

=====
//@version=4
study( "ラインを表示する", overlay=true )
var line l = na
line.delete( l )
l := line.new( x1=bar_index ,y1=high ,x2=bar_index ,y2=high, extend=extend.right )
=====

基本的な使い方は、label.new( ) とほとんど同じなので
気になる方は前回のアイデアを確認してみてください!

次回は、label と line を使ってインジケーターを作成してみたいと思います!
Comment:
次の講座

小次郎講師公式インジケーターのお申込
bit.ly/2vdSV4Q

小次郎講師のLINE@
bit.ly/2VZQFu3

小次郎講師のチャート情報局
bit.ly/2GvLAEp

Related Ideas

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.