user11012435
user11012435

Reputation: 1

What command is used for currrent price/tick?

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

Answers (2)

Mikeyy
Mikeyy

Reputation: 285

Close variable is current price in trading view.

close = current price

close[1] = last candle close price

and so on...

Upvotes: 1

Michel_T.
Michel_T.

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

Related Questions