![]() |
|
|||||||
| Suggestions And Feedback New feature suggestions and feedback. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jul 2007
Location: Taunton, MA
Posts: 202
Thanks: 1
Thanked 0 times in 0 posts
|
I have an indicator that colors data bars based on specific criteria. The indicator is sensitive to the chart style, as candles must be hollow or filled to distinguish up candles from down candles, while bars are always a solid color. This works fine when the indicator is initially applied, but there can be problems if the chart style changes. Note the three screen shots below.
The first shows the result when a bar chart was created and then the indicator was applied. This is correct. The second shows the result after the chart style was changed from OHLC to Candlestick. This is incorrect, as all candles are filled; there's no way to distinguish up candles from down candles. The third shows the result after the Indicators window was opened and then immediately closed by clicking OK. The indicator recalculated and detected the new chart style, so now the candles are colored properly. Hence my suggestion, as this problem would not occur if indicators were recalculated when the chart style changed. |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,569
Thanks: 262
Thanked 1,018 times in 999 posts
|
Thanks for the suggestions Mike, we'll add to our list - would you see the correct outcome if you pressed F5 to reload the NinjaScript's applied?
Thanks,
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jul 2007
Location: Taunton, MA
Posts: 202
Thanks: 1
Thanked 0 times in 0 posts
|
Yes, F5 takes care of it. But it would be nice if that weren't necessary.
The ship that has probably sailed at this point was making BarColor be the interior of a candle. If you had BarColor as the candle outline and something like CandleInteriorColor for the inside, there'd be a much smoother transition between bars and candles. But I suspect it's too late now.... |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,569
Thanks: 262
Thanked 1,018 times in 999 posts
|
I see, thanks for clarifying matters Mike.
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need help with what chart style to use in bollinger. | Draven | Charting | 4 | 12-30-2010 04:55 AM |
| Chart Style Suggestion | yamdigger | Version 7 Beta General Questions & Bug Reports | 1 | 07-28-2010 04:19 PM |
| Custom Chart Style | TradingDreamer | General Programming | 3 | 09-28-2009 03:15 PM |
| Custom chart style | terenyi | General Programming | 1 | 07-14-2009 12:21 PM |
| Speeding things up: If Indicators Dialog Applied, not need to recalculate on Closing | NinjaCustomer | Suggestions And Feedback | 6 | 12-12-2008 09:56 PM |