NexusFi: Find Your Edge


Home Menu

 



Categories Help    






 
A notice to all downloaders 5 *
No longer valid

Category NinjaTrader 8 Indicators and More 
 
Suggest other entries I might like
Details: A notice to all downloaders
Category: NinjaTrader 8 Indicators and More 


February 19th, 2017
Size: 1.10 KB
Downloaded: 96 times
Comments/ratings
5 * timo121515 February 28th, 2017 03:55 PM
Had this exact same problem today and got the same run around from Ninja.
5 * tulanch March 1st, 2017 12:44 AM
I am still on 8.0.3.1 64-bit (Standard) - but I did overcome memory issues using brushes in onrender ()

instead of using a

SharpDX.Direct2D1.Brush

and always doing it's .dispose() as suggested by Ninja support,


I found I could use

PlainTextColor.ToDxBrush(RenderTarget)


in it's place.. for example


RenderTarget.DrawText(lable, footPrintBarTextFormat, new SharpDX.RectangleF(x-adjust_len, curYlocation, (float)((lable.Length*textFont.Size)), (float)(0-rectangleOffset)), PlainTextColor.ToDxBrush(RenderTarget));


doing this stopped the RAM consumption issue I faced


I defined these color items globally like this

System.Windows.Media.Brush PlainTextColor;

in the OnStateChange method in the State.SetDefaults section I then defined the color

PlainTextColor = Brushes.WhiteSmoke;


I am not doing any .dispose using this approach and onrender draws as required


based on your input, I may wait to see if another update comes along before upgrading
5 * MichaelH March 1st, 2017 04:14 PM
Thanks a lot for your hints and advice. I discovered such strange behaviours also - so I decided to stop migrating to NT8 already some weeks a ago until it gets more stable
5 * TraderTS March 25th, 2017 11:40 AM
Thanks for great tips!
5 * Florida99 April 14th, 2017 04:45 PM
Thanks
5 * rakesha April 29th, 2017 05:30 PM
I have been suffering from this memory leak issues since I moved to NT8, it bloats and consume all of my PC memory especially at the open. There is no solution from NinjaTrader other than asking for log files and keeping my PC open all day for their remote connection. Unfortunately I can't go back to NT7 and I have been installing all of their updates, but nothing fixed yet. I am really frustrated. Its bit consoling to know that I am not only one. I thought, Some of my indicators have issues.
5 * TraderYoda May 18th, 2017 12:27 PM
Thanks very much for this post. I hope Ninjatrader consults with you on a regular basis....seems they need your expert help! I Appreciate all you do!
5 * Buscador September 9th, 2017 07:45 PM
Thank you very much for this information.
I am neither a programmer or beta tester, just a simple user that requires a smooth function of the platform. For the technically ignorant like me every little problem becomes an almost insurmountable barrier but it warms my heart to see knowledgeable people like you looking over for the rest of us.
The sentinels at the gate, sort of.
Also, reading your explanations sends a little clarity my way.
In any case, I want to express my gratitude for all the work done and continue to do by you and others
that benefits us all.
Ninja Trader would not be the same without your contributions.
5 * Tortill November 7th, 2017 12:16 PM
Good job, Sim. I do appreciate it.
5 * brettji December 21st, 2017 10:23 AM
Switching to the 32bit version will remove most issues vs. the 64bit

 
Sort by

 




© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top