Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
bool statement
Collapse
X
-
Hello,
In addition to what Koganam has asked, please advise the following:
Can you provide exactly what you are trying to compare with your If statement?
-
Try examining ThirdPartyInd.Test[0] with a Print() statement to the OutputWindow.Originally posted by imalil View PostI have a 3rd party indicator with locked code but gives us functions for us to make our own indicators and strategies.
One such function looks like this: ThirdPartyInd.Test[barsAgo]. This paints the bar a certain color based on the value created in the 3rd party indicator. I do not have access to this value or code.
What I want to do is put this function in an IF bool statement. Something like:
if (CurrentBars[0] == ThirdPartyInd.Test[0]
{ DrawText(etc......)}
This IF statement does not work, but I think you see what I'm trying to say.
I'd appreciate any advice.
Thank you.
What does: " This IF statement does not work" mean? What happens? Error message? When?
Leave a comment:
-
bool statement
I have a 3rd party indicator with locked code but gives us functions for us to make our own indicators and strategies.
One such function looks like this: ThirdPartyInd.Test[barsAgo]. This paints the bar a certain color based on the value created in the 3rd party indicator. I do not have access to this value or code.
What I want to do is put this function in an IF bool statement. Something like:
if (CurrentBars[0] == ThirdPartyInd.Test[0]
{ DrawText(etc......)}
This IF statement does not work, but I think you see what I'm trying to say.
I'd appreciate any advice.
Thank you.Tags: None
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
36 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
23 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|
||
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
162 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
96 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
152 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|

Leave a comment: