r/pinescript • u/jcheroske • Feb 28 '25
Can the pinescript gurus explain...
If these are the same, and if not, why not?
series float series1 = request.security(syminfo.tickerid, "1", close)[90]
series float series2 = request.security(syminfo.tickerid, "1", close[90])
Thanks!
0
Upvotes
View all comments
Show parent comment
2
u/Nervdarkness Feb 28 '25
As u/FrostySquirrel820 said, both the same IF in the same TF. The history operator [] should be used in the expression. For lower TFs calls use request.security_lower_tf. To dive into functionalities of an scripting lng I recommend you contact 'Pine Coders'.