Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
after my conditions all bars are painted the same. How do I limit painting only to a single bar? I like to paint the bar instead of using arrows or other objects.
Property Value
A color series type object. Accessing this property via an index value [int barsAgo] returns a color structure representing the referenced bar's color.
Thanks a bunch @RJay for your prompt response. I used the following:
BarColorSeries[0] = Color.Blue;
No luck, and I got all the bars in Blue. I must be missing something. Perhaps I can use an existing indicator as an example. Do you know of a similar indicator on futures.io (formerly BMT)?
I just used the cci as an example. if cci > 0, only the first bar will be colored. the same if cci < 0, only the first bar will be colored.
attached the example indicator for reference.
please keep in mind, there might be better solutions. guess I don't need to tell you, because your programming knowledge is far more superior than mine.
Moved from NinjaTrader
Moved to NinjaTrader Programming
When creating a new thread, note which subforum you are in. Here is a short list of suggestions:
- Topic: Anything to do with an Elite indicator -> Subforum: The Elite Circle
- Topic: Looking for an existing indicator, or how-to use an indicator -> Subforum: (the platform)
- Topic: Programmer needing help with non-Elite indicator -> Subforum: (the platform) - Programming
- Topic: Want an indicator created/modified -> Reply to "Want indicator created free" in Elite Circle
- Topic: Vendors (trading rooms, commercial indicators) -> Subforum: Vendors/Product Reviews
- Topic: Discussion of Forex or Currency trading -> Subforum: Forex and Currency Trading
- Topic: Journals of your trading -> Subforum: Trading Journals or Elite Trading Journals
- Topic: General trading related discussions -> Subforum: Traders Hideout
- Topic: Discussion of a trading method -> Subforum: Traders Hideout
- Topic: Automated Trading -> Subforum: Elite Automated Trading
Last, any Elite Member may create more or less any of these topics in The Elite Circle at your own discretion (your support is appreciated).
This is just a short general list and doesn't cover everything. If you are unsure where to create your new thread, just create it in Traders Hideout and a moderator will move it if necessary.