If/Then = false but still get signal.
-
- Posts: 53
- Joined: 04 Jan 2008
- Has thanked: 21 times
- Been thanked: 3 times
If/Then = false but still get signal.
So I've identified at least 3 variables that will return a false yet I will get a signal as if they were true. I've restarted program, created a new signal via copy/paste, moved variables around, even did a repair but am still getting signals where they shouldn't be. Just looking for some new idea's. Variables are all correct returns, just not getting proper response. Stuck.
- TJ
- Posts: 7745
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2224 times
Re: If/Then = false but still get signal.
So I've identified at least 3 variables that will return a false yet I will get a signal as if they were true. I've restarted program, created a new signal via copy/paste, moved variables around, even did a repair but am still getting signals where they shouldn't be. Just looking for some new idea's. Variables are all correct returns, just not getting proper response. Stuck.
you are missing an
ELSE
-
- Posts: 53
- Joined: 04 Jan 2008
- Has thanked: 21 times
- Been thanked: 3 times
Re: If/Then = false but still get signal.
Thanks for response.
If condition1 = true then Buy next bar at market;
What is happening is that condition 1 = false but it is still buying next bar at market.
Not sure how ELSE would help here.
If condition1 = true then Buy next bar at market;
What is happening is that condition 1 = false but it is still buying next bar at market.
Not sure how ELSE would help here.
- TJ
- Posts: 7745
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2224 times
Re: If/Then = false but still get signal.
This is a coding error.
The devil is in the details.
Not sure how anybody can help you without the codes.
The devil is in the details.
Not sure how anybody can help you without the codes.