NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 11 of 11
Search: Posts Made By: Richard
Forum: NinjaTrader May 28th, 2010, 06:35 PM
Replies: 111
Views: 48,772
Posted By Richard
It's the same thing, except in the second example...

It's the same thing, except in the second example you can hold a reference to any indicator, versus just the EMA. The main difference you'll see in practice is when indicators define properties for...
Forum: NinjaTrader May 28th, 2010, 02:36 AM
Replies: 111
Views: 48,772
Posted By Richard
There's no way to meaningfully speed up that...

There's no way to meaningfully speed up that indicator. It basically does the minimum that it needs to do. Make sure the market analyzer only uses the minimum number of bars back that you need. ...
Forum: NinjaTrader May 27th, 2010, 07:20 PM
Replies: 111
Views: 48,772
Posted By Richard
Since MAX and MIN maintain the max and min, I'm...

Since MAX and MIN maintain the max and min, I'm not sure why the indicator code keeps checking to see if the low is lower than the minLow[0]... if it's working correctly it never should be... so...
Forum: NinjaTrader May 27th, 2010, 01:43 AM
Replies: 111
Views: 48,772
Posted By Richard
While we're on the topic of optimization, ...

While we're on the topic of optimization, DoubleStochasticsOptimized has a line like this in it:


p2.Set(pEMA[0]);


Whenever you see a line like this, it is a sign that you probably don't...
Forum: NinjaTrader May 27th, 2010, 01:37 AM
Replies: 111
Views: 48,772
Posted By Richard
I had in mind more of a FastMAX and FastMIN...

I had in mind more of a FastMAX and FastMIN indicator that you can use as replacements for the original MAX and MIN... so other indicators wouldn't need to know the difference. Like the attached.
...
Forum: NinjaTrader May 25th, 2010, 09:40 PM
Replies: 111
Views: 48,772
Posted By Richard
I don't think so, because ninja is caching them...

I don't think so, because ninja is caching them and you don't know who else is looking at that same indicator reference. In the same way, you can't just change an indicator's inputs on the fly,...
Forum: NinjaTrader May 25th, 2010, 09:31 PM
Replies: 111
Views: 48,772
Posted By Richard
I just want to make sure we're on the same page. ...

I just want to make sure we're on the same page. Storing a reference to an existing DataSeries doesn't cost anything. Creating a new dataseries and filling it with values from another one is...
Forum: NinjaTrader May 25th, 2010, 06:53 PM
Replies: 111
Views: 48,772
Posted By Richard
Avg will be a Dataseries or IDataSeries... so...

Avg will be a Dataseries or IDataSeries... so macdAvg must be defined as one, as well (not a MACD). Does that help? So...


DataSeries macdAvg;
macdAvg = MACD(12,26,9).Avg;


... compiles...
Forum: NinjaTrader May 25th, 2010, 06:50 PM
Replies: 111
Views: 48,772
Posted By Richard
Yeah, I can't see the code you are posting, but...

Yeah, I can't see the code you are posting, but just be aware that when you change the inputs you are actually creating an additional indicator that runs in parallel with the original one. So, that...
Forum: NinjaTrader May 25th, 2010, 06:39 PM
Replies: 111
Views: 48,772
Posted By Richard
The main thing is to remember a reference to the...

The main thing is to remember a reference to the indicator, so that you don't have to ask ninja to look it up again. The number of DataSeries you need to look at isn't a factor.

So, your second...
Forum: NinjaTrader May 24th, 2010, 02:49 PM
Replies: 111
Views: 48,772
Posted By Richard
Yeah, it's faster, and it keeps you from...

Yeah, it's faster, and it keeps you from repeating the arguments every time. Just all-around better. It's too bad ninja encourages the style that they do.

Another big source of inefficiency are...
Showing results 1 to 11 of 11

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