TradingView
admin
Feb 20, 2015 1:57 PM
Labels (plotshape/char) with text example
NASDAQ:AAPL
60
Apple Inc.
NASDAQ
描述
⋅
Feb 20, 2015 1:57 PM
Labels (plotshape/char) with text example.
labels
arrows
评论
whitesiroi
⋅
Jun 15, 2019 6:00 AM
Is there a way to put actual candle's close below candle as text?
Ex: plotshape(data, location=location.belowbar, text=close) - but I'm getting error
zhipengcfel
⋅
Jun 26, 2017 3:41 PM
Hi
@admin
, why plot does not work in a if statement?
zhipengcfel
⋅
Jun 26, 2017 3:54 PM
@zhipengcfel
, it will return an error "Cannot use 'plotchar' in local scope". How to make plot works in a if statement? Thanks!
manuelmasri
⋅
Feb 1, 2018 2:33 AM
@zhipengcfel
, were you able to fix this?
zhipengcfel
⋅
Feb 1, 2018 4:21 PM
@manuelmasri
, nope. Instead of using if statement, I just use a parameter whose value meets the if state moment or not and then plot this parameter.
jbrelin
⋅
Feb 7, 2018 3:55 PM
@zhipengcfel
, Will you please give an example. I am having this problem. Thanks!
manuelmasri
⋅
Feb 10, 2018 3:52 PM
@zhipengcfel
, Thanks man!!!!
AlphaNation
⋅
Mar 18, 2021 9:06 PM
@zhipengcfel
, i need an example of this also please
sal157011
⋅
Jun 22, 2017 8:15 PM
How can I plot de value of a series (close) in the text?
Is there any other codes like \n I can use?
Thank You
ajmzfx
⋅
Mar 24, 2018 9:36 PM
@sal157011
, Hi there....Im also trying to do the same...did you ever find a way ?
更多
Ex: plotshape(data, location=location.belowbar, text=close) - but I'm getting error