Reputation: 1
In the wiki I see open
, close
, high
, low
but nothing for the current tick.
Im trying to use crossunder(x, y)
where x
is a line charted and y
is the current price/tick.
What command do I use for current price?
Any help is much appreciated
Upvotes: 0
Views: 1005
Reputation: 285
Close variable is current price in trading view.
close = current price
close[1] = last candle close price
and so on...
Upvotes: 1
Reputation: 2821
open, close, high, low return values of the current being handled bar. So for realtime bar these words referred to the current 'tick' data.
Upvotes: 0