This indicator was created to show the Closing price when the CandleStick Opening and Closing price were the same and a Transparent Body Outline color was specified. Standard NT 8 CandleStick Closing price is drawn with the Outline color and is Transparent when that color is Transparent.
Note that NT7 had logic to draw a Black Close line, if the Outline color was Transparent and the Background color was White. This logic has been removed in NT8, so the problem appears in NT8 regardless of Background color.
NT8 DrawCandleClose Indicator is obsolete. Use fix described below. Attached file is a dummy file to meet posting requirements. Please download the file to log your interest in this fix, but do not install downloaded file. Instead, apply the fix manually. Never blindly replace standard files because of the risk of back leveling.
If you would like to have this fix standard NT8 CandleStick behavior, then post your vote for Tracking ID # SFT-818 to threadhttps://forum.ninjatrader.com/showthread.php?t=79416
Examples Top CandleStick:Chart Style = Candlestick with Black outline.
Middle CandleStick:Chart Style = CandleStick Transparent Outline After Fix
Bottom CandleStick on Black Background After Fix:Chart Style = CandleStick After Fix
NT8 Fix for Tracking ID # SFT-818 , Missing Doji when CandleStick Outline Transparent:
Description: Always draw the Doji Close line with the Wick Color instead of the Outline Color. This eliminates the inefficiency of having an Indicator check every CandleStick bar close for Open==Close and overwrite the already drawn Transparent Close line.
Applying this fix in no way changes the appearance of CandleSticks that have bodies. This can be verified with the examples provided.
I recommend the following to apply the fix. It may seem complicated but will save you time in the long run. Note that it is undocumented but NT Backup never includes files that begin with the character "@".
1) Copy \Documents\NinjaTrader 8\bin\Custom\ChartStyles\@CandleStyle.cs
2) Paste the file and rename it @CandleStyle.cs Before SFT-818
3) Edit @CandleStyle.cs with Notepad
4) Make changes to lines 63 & 64 with Notepad and save changes
5) Compile any file with NT Editor and Exit NT Editor. New @CandleStyle.cs will be used in the compile.
6) From next start of NinjaTrader, CandleSticks will use Wick Color for Doji Close line.
7) Copy \Documents\NinjaTrader 8\bin\Custom\ChartStyles\@CandleStyle.cs
8) Paste the file and rename it @CandleStyle.cs After SFT-818
Any NT updates will replace @CandleStyle.cs so you will have to make the changes again. Create Before and After copies of the update, as you did above, adding the update number after 818. Never blindly replace standard files because of the risk of back leveling. You can use Winmerge to compare updated @CandleStyle.cs and @CandleStyle.cs After SFT-818 and reapply fix to updated.
Cleanup:
1) Delete Indicator DrawCandleClose.cs, if it exists, from \Documents\NinjaTrader 8\bin\Custom\Indicators.
2) Start NT Editor > Right click on blank form and select Compile to remove DrawCandleClose Indicator.
NT will automatically remove the Indicator from any Charts that use it.
Test:
Create a CandleStick chart with Transparent outline. Verify that you see Doji.
If you installed Chart Style Doji then:
1) Change Charts that use it to use CandleStick instead.
2) Delete ChartStyleDoji, if it exists, from \Documents\NinjaTrader 8\bin\Custom\ChartStyles.
3) Start NT Editor > right click on blank form and select Compile.
December 9th, 2015
Size: 208 bytes
Downloaded: 222 times
1668
JimWalker
Name: SetNinjaTradersPriorityHigh Version 1.1
Exported with: NT 8.0.0.9 64-bit (Multi-Broker) - BETA
To Import Indicator Into NT 8:
1. Download the attached file by clicking on the blue downward arrow or the NT Chart image. Save the file. Do not open it.
2. From the Control Center window select the menu Tools > Import > NinjaScript...
3. Type into the first field the folder that contains the .zip file downloaded by your browser. When first displayed the field has C:\Users\ ... .
4. Press Enter.
5. Select the downloaded .zip file then click the Import button.
ReExported with: NT 8.0.0.9 64-bit (Multi-Broker) - BETA to fix Import error.
Updated: Oct 21, 2015 5:55AM - New Priority value of BelowNormal. New parm Show NT Priority. Priority now also checked/set in State.Terminated.
All the applications running on your computer equally share your computer's resources. The NinjaTrader application runs at Normal Priority with all the other applications. Especially during fast markets, when other applications are running on your computer, NT is not processing incoming data as quickly as your computer would allow and possibly losing trade data from your market data service. By default, this Indicator sets NinjaTrader's Process Priority to High, giving it preference over other applications that are running.
This Indicator allows you to set NT's Process Priority to one of four values: High, Above Normal, Normal, or BelowNormal. You may want to use High during your trading day and Normal at other times. You could also set it to BelowNormal to do backtesting in the background while you use your computer for other tasks.
Adding this Indicator to one chart in your Workspace will set NinjaTrader's Process Priority until you exit NT. The Indicator will check before setting the Priority and do nothing if Priority is already set to the Priority specified in its parameter.
Quoting from https://www.eightforums.com/tutorials/23830-processor-priority-level-set-processes-windows-8-a.html : "Windows 8 shares the processor time between all running processes based upon their priority level. If a process has a higher priority, it gets more processor time compared to a process having a lower priority. . . . The changes you make to the priority level of the current instance of an application or process are only temporary and not set permanently. Once you close the application or restart the PC, Windows 8 will automatically set the priority back to default for the process or application."
Parameters:
Select Priority - Select High, Above Normal, Normal, or BelowNormal for NinjaTrader's Process Priority. The Default is High.
Hide Indicator Name - Prevent display of indicator's name at top of chart if true. Default is false.
Show NT Priority - Display NT's Priority at top of chart. Default is true.
To have nothing displayed at top of chart set Hide Indicator Name parameter to true and Show NT Priority to false.
Debug message to Output Window - If true then debugging Output messages printed.
October 21st, 2015
Size: 2.45 KB
Downloaded: 695 times
1665
JimWalker
Name: SetNinjaTradersPriorityHigh Version 1.1
Exported with: NT 64-bit 7.0.1000.27
To Import Indicator Into NT 7:
1. Download the attached file by clicking on the blue downward arrow or the NT Chart image. Save the file. Do not open it.
2. From the Control Center window select the menu File > Utilities > Import NinjaScript.
3. Navigate to the folder that contains the .zip file download by your browser.
4. Select the downloaded .zip file then click the Open button.
Updated: Oct 22, 2015 8:30AM File & Text- New Priority value of BelowNormal. New parm Show NT Priority. Priority changed only when required. New parameter Debug message to Output Window.
All the applications running on your computer equally share your computer's resources. The NinjaTrader application runs at Normal Priority with all the other applications. Especially during fast markets, when other applications are running on your computer, NT is not processing incoming data as quickly as your computer would allow and possibly losing trade data from your market data service. By default, this Indicator sets NinjaTrader's Process Priority to High, giving it preference over other applications that are running.
This Indicator allows you to set NT's Process Priority to one of four values: High, Above Normal, Normal, or BelowNormal. You may want to use High during your trading day and Normal at other times. You could also set it to BelowNormal to do backtesting in the background while you use your computer for other tasks.
Adding this Indicator to one chart in your Workspace will set NinjaTrader's Process Priority until you exit NT. The Indicator will check before setting the Priority and do nothing if Priority is already set to the Priority specified in its parameter.
Quoting from https://www.eightforums.com/tutorials/23830-processor-priority-level-set-processes-windows-8-a.html : "Windows 8 shares the processor time between all running processes based upon their priority level. If a process has a higher priority, it gets more processor time compared to a process having a lower priority. . . . The changes you make to the priority level of the current instance of an application or process are only temporary and not set permanently. Once you close the application or restart the PC, Windows 8 will automatically set the priority back to default for the process or application."
Parameters:
Priority - Select High, Above Normal, Normal, or BelowNormal for NinjaTrader's Process Priority. The Default is High.
HideIndicatorName - Prevent display of indicator's name at top of chart if true. Default is false.
ShowNTPriority - Display NT's Priority at top of chart. Default is true.
To have nothing displayed at top of chart set HideIndicatorName parameter to true and ShowNTPriority to false.
January 11th, 2016 07:08 PM bobc635 Fantastic !!!!
December 11th, 2015 11:19 AM SodyTexas
October 22nd, 2015 09:09 PM tcwairoa Nice work Jim, many thanks.
October 22nd, 2015 03:07 PM DenverTrader Thanks very much. Now I don't have to go into Task Manager every morning. Great for users that Multi-Task with other p
March 4th, 2017 01:10 AM HappyLife Thanks for the thought but a couple of things: code appears to be at line 489 (Notepad ++) and the compile fails in step
5. So can't say the work around provided here fixes the issue for NT7