Pinescript series variable | Pine script Course | Lesson 12

preview_player
Показать описание
Pine script variable forms are the types of variables that we can use by assigning in pinescript.

There are different types of Pine script strings and in this video, we go over how users can use constant form of variable without any errors.

The variable types discussed in this video are
Series types of variables.

Trading view Pine script tutorial series :

Learn in more detail 👇👇👇

Visit our website to learn more tactics.
.
.
To Master Price Action Trading for free Join telegram 📱
Visit our website
Рекомендации по теме
Комментарии
Автор

Is there anyway to convert series[float] to a regular float? I am trying to use this code:
atr = ta.atr(14)

// Define renko bricks with the calculated box size
boxSize = 2 * atr
renko_tickerid = ticker.renko(syminfo.tickerid, 'Traditional', boxSize)
renko = request.security(renko_tickerid, "60", close)

however using the boxSize variable throws:
An argument of 'series float' type was used but a 'simple float' is expected

PlaaasmaMC
Автор

so annoying that once a simple int has been "contaminated" with a series variable it then becomes a series. I've literally wasted hours trying to get the ta.ema function to work in such a scenario.
I wonder why pinescript development team don't give us the ability to extract a simple value from the series. or just do away with simple and make all functions work with series

KLiCuk
welcome to shbcf.ru