NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 14 of 14
Search: Posts Made By: Fat Tails
Forum: NinjaTrader November 6th, 2011, 06:54 PM
Replies: 37
Views: 16,369
Posted By Fat Tails
There is a coding example here, how to do it: ...

There is a coding example here, how to do it:

https://nexusfi.com/download/ninjatrader-7/indicators/731-download.html?view

But then you should run it in CalculateOnBarClose = true mode. If you...
Forum: NinjaTrader November 6th, 2011, 05:03 AM
Replies: 37
Views: 16,369
Posted By Fat Tails
Depends on how you coded it. The impact on the...

Depends on how you coded it. The impact on the CPU depends on

-> how many regions you draw, if you draw from CurrentBar to CurrentBar - 1, this is the worst solution
-> whether you perform the...
Forum: NinjaTrader August 13th, 2011, 04:59 AM
Replies: 37
Views: 16,369
Posted By Fat Tails
If you use indicators, which draw clouds or...

If you use indicators, which draw clouds or colored channels, you should use them in setting CalculateOnBarClose = true. This should avoid a freeze.

I also use a bracket to a exclude the drawing...
Forum: NinjaTrader August 12th, 2011, 12:33 PM
Replies: 37
Views: 16,369
Posted By Fat Tails
You can also limit the draw objects by using a...

You can also limit the draw objects by using a lookback period from now and only draw them within that lookback period. You will then have them on today's chart, but not on the chart section a few...
Forum: NinjaTrader December 3rd, 2010, 05:17 PM
Replies: 37
Views: 16,369
Posted By Fat Tails
Got this answer from Dierk who kindly responded...

Got this answer from Dierk who kindly responded to my question:


The Draw() methods create objects which are redrawn whenever a chart is repainted which is triggered by logic below. *)
...
Forum: NinjaTrader December 3rd, 2010, 02:02 PM
Replies: 37
Views: 16,369
Posted By Fat Tails
It is not the amount of data that causes the...

It is not the amount of data that causes the problem. The FibonacciZones indicator, which uses a comparatively large data base, does not create any CPU load at all, because no calculations are...
Forum: NinjaTrader December 3rd, 2010, 10:34 AM
Replies: 37
Views: 16,369
Posted By Fat Tails
You are funny. Not everybody has a quad core CPU,...

You are funny. Not everybody has a quad core CPU, I don't. My equipment is three years old and has a dual core CPU. Also my questions were relating to NinjaTrader, not to MultiCharts.

CPU load...
Forum: NinjaTrader December 3rd, 2010, 09:08 AM
Replies: 37
Views: 16,369
Posted By Fat Tails
Yes, that should be possible. But anyhow, try to...

Yes, that should be possible. But anyhow, try to understand how these Draw() methods work. I have one simple indicator which is supposed to run in CalcOnBarClose = false mode, and as I was lazy to...
Forum: NinjaTrader December 3rd, 2010, 08:44 AM
Replies: 37
Views: 16,369
Posted By Fat Tails
If nobody knows it here, I will ask the question...

If nobody knows it here, I will ask the question at Ninja support and come back.
Forum: NinjaTrader December 3rd, 2010, 07:34 AM
Replies: 37
Views: 16,369
Posted By Fat Tails
I need an indicator to update intrabar, so I...

I need an indicator to update intrabar, so I cannot use "FirstTickOfBar". I have my chart set to a display update of 0.5 seconds. This means that the chart is updated 120 times per minute. It also...
Forum: NinjaTrader December 3rd, 2010, 06:18 AM
Replies: 37
Views: 16,369
Posted By Fat Tails
If I use DrawRectangle() or DrawLine() or any of...

If I use DrawRectangle() or DrawLine() or any of the other Draw() methods in OnBarUpdate(), will display update intervals as fixed via chart properties apply or will it be calculated with every...
Forum: NinjaTrader November 30th, 2010, 02:50 PM
Replies: 37
Views: 16,369
Posted By Fat Tails
So if Plot() is only called once per chart update...

So if Plot() is only called once per chart update interval selected, the impact of the modifications I have done will be small - unless there are some power users who need refresh intervals set to...
Forum: NinjaTrader November 30th, 2010, 02:16 PM
Replies: 37
Views: 16,369
Posted By Fat Tails
Thanks for the answer. First, I was not aware...

Thanks for the answer. First, I was not aware that I could set the display update interval via chart properties. Are you sure that this setting also applies to custom plots? I had a bad experience...
Forum: NinjaTrader November 30th, 2010, 01:01 PM
Replies: 37
Views: 16,369
Posted By Fat Tails
Reducing CPU load of NinjaTrader

I use quite a few indicators for my workspaces, and as I do not use multiple quadcore processors, I want to limit the CPU load caused by NinjaTrader. Besides setting most of the custom indicator to...
Showing results 1 to 14 of 14

What unexpected challenges have you encountered while trading on a "Funded Trader" platform?

 


 
 


© 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