Array, variable or refinput expected  [SOLVED]

Questions about MultiCharts and user contributed studies.
User avatar
hb7of9
Posts: 18
Joined: 23 Apr 2014
Has thanked: 9 times
Been thanked: 3 times

Array, variable or refinput expected

Postby hb7of9 » 18 Sep 2023

Screenshot 2023-09-18 173847.png
(90.55 KiB) Not downloaded yet
I'm doing something wrong, but not quite following what it's told me :lol:

User avatar
TJ
Posts: 7743
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: Array, variable or refinput expected

Postby TJ » 18 Sep 2023

You set up IsBuyMonth as an INPUT variable.

The way you stated IsBuyMonth in the code, it is giving a TRUE or FALSE response.

Try this:

Code: Select all

Var: IsBuyMonth (false);

User avatar
hb7of9
Posts: 18
Joined: 23 Apr 2014
Has thanked: 9 times
Been thanked: 3 times

Re: Array, variable or refinput expected  [SOLVED]

Postby hb7of9 » 19 Sep 2023

Hi TJ -- thank you kindly sir 👍!


Return to “MultiCharts”