I am new to Pine Script
I am trying to declare a variable using an input variable and I get an error. Can someone please tell me how to code this properly? Thanks
25 b= input(“b”, input.float)
26 a= close[1] – b
line 26: Cannot call ‘operator -‘ with ‘expr2’=input string. The argument should be of type: series[float];
Hello,
sorry the prorealcode forums are dedicated to the ProRealTime platform programming language, for coding help in other languages, you can ask for a quote at paid-for trading programming services: https://www.prorealcode.com/trading-programming-services/