True/False return error.  [SOLVED]

Questions about MultiCharts and user contributed studies.
Rick Webber
Posts: 47
Joined: 04 Jan 2008
Has thanked: 21 times
Been thanked: 3 times

True/False return error.

Postby Rick Webber » 04 May 2017

While debugging using Expert Commentary I am running into this which I'm having a problem solving so thought maybe someone would have something else to suggest.

A= Indicator value.
A = 7.59 ;
A[1] = 7.29 ;
(A[1] + .10) = 7.39 ;
A > (A[1] + .10) = False ;

A = True does it not, but it returns false. Any idea's what might cause this would be appreciated.

User avatar
TJ
Posts: 7319
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 992 times
Been thanked: 2085 times

Re: True/False return error.

Postby TJ » 04 May 2017

While debugging using Expert Commentary I am running into this which I'm having a problem solving so thought maybe someone would have something else to suggest.

A= Indicator value.
A = 7.59 ;
A[1] = 7.29 ;
(A[1] + .10) = 7.39 ;
A > (A[1] + .10) = False ;

A = True does it not, but it returns false. Any idea's what might cause this would be appreciated.

The error is in your code.

Rick Webber
Posts: 47
Joined: 04 Jan 2008
Has thanked: 21 times
Been thanked: 3 times

Re: True/False return error.  [SOLVED]

Postby Rick Webber » 04 May 2017

OK, disregard this. I have found the error finally in the Commentary code. Had an operator pointed in wrong direction.


Return to “MultiCharts”