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 CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
53 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
34 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
101 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
181 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
170 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Leave a comment: