Pine Script Question

Forums ProRealTime English forum ProBuilder support Pine Script Question

Viewing 2 posts - 1 through 2 (of 2 total)
  • #179014

    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];

    #179016

    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/

Viewing 2 posts - 1 through 2 (of 2 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login