Search found 4 matches

Go to advanced search

by brimos
Wed Apr 05, 2023 4:33 pm
Forum: Pine Script Q&A
Topic: Simple String VS Const String error
Replies: 4
Views: 6943
 
Jump to post

Re: Simple String VS Const String error

Thank you Steve!
by brimos
Wed Apr 05, 2023 3:54 pm
Forum: Pine Script Q&A
Topic: Entering trade on same bar as condition check
Replies: 1
Views: 2385
 
Jump to post

Entering trade on same bar as condition check

Good morning. I have a strategy that I am working on for a 5minute chart timeframe and I would like to enter the on the same unconfirmed bar that I am checking conditions on. Not sure if pinescript will allow entering on the same bar as conditions or not I am trying to do something like this: Did th...
by brimos
Mon Mar 27, 2023 6:16 pm
Forum: Pine Script Q&A
Topic: Simple String VS Const String error
Replies: 4
Views: 6943
 
Jump to post

Re: Simple String VS Const String error

Steve, I am still getting the error: 2:12:04 PM Error at 26:76 Cannot call 'plot' with argument 'title'='L1'. An argument of 'simple string' type was used but a 'const string' is expected. // This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ /...
by brimos
Sun Mar 26, 2023 6:53 pm
Forum: Pine Script Q&A
Topic: Simple String VS Const String error
Replies: 4
Views: 6943
 
Jump to post

Simple String VS Const String error

Hi, I am new to the forum and halfway through the master course. I am working on modifying one of the Zen scripts and I am running into a compile error when I am trying to pass an integer input function maLength1 into the title one of my plots. I generated a new string called L1 and formatted the in...

Go to advanced search