Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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?
-
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 nightstalker, Today, 01:32 PM
|
1 response
5 views
0 likes
|
Last Post Today, 02:54 PM | ||
Started by kevinenergy, Yesterday, 12:01 PM
|
7 responses
23 views
0 likes
|
Last Post
by nightstalker
Today, 02:51 PM
|
||
Started by DawnTreader, 05-08-2024, 05:58 PM
|
15 responses
49 views
0 likes
|
Last Post Today, 02:20 PM | ||
Started by ZeroKuhl, Yesterday, 04:31 PM
|
7 responses
40 views
0 likes
|
Last Post Today, 02:07 PM | ||
Started by xepher101, Today, 12:19 PM
|
1 response
24 views
0 likes
|
Last Post Today, 01:58 PM |
Leave a comment: