NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 12 of 12
Search: Posts Made By: zr6bcm
Forum: NinjaTrader May 3rd, 2020, 09:38 AM
Replies: 2
Views: 1,375
Posted By zr6bcm
I suspect the "have happened within X bars" is...

I suspect the "have happened within X bars" is the part that is the core of your question.

The way I do it, is that I add a class variable:

const int maxSignalDays = 10;
int signalAvailable =...
Forum: NinjaTrader October 24th, 2014, 06:48 AM
Replies: 5
Views: 3,463
Posted By zr6bcm
no, unfortunately I don't know (didn't find) the...

no, unfortunately I don't know (didn't find) the answer.

One comment: would recommend that you swap around the Remove(indicator) and then indicator.Dispose calls. Not that it helped in the big...
Forum: NinjaTrader October 21st, 2014, 02:09 PM
Replies: 2
Views: 974
Posted By zr6bcm
Attached is a version programmed as Dave asked...

Attached is a version programmed as Dave asked for it.
Forum: NinjaTrader October 21st, 2014, 11:23 AM
Replies: 2
Views: 1,380
Posted By zr6bcm
The question is always whether the last bar of...

The question is always whether the last bar of the week was also the last trading day in that week. Theoretically, if you account for public holidays, etc, you would need to know in advance when the...
Forum: NinjaTrader October 21st, 2014, 11:12 AM
Replies: 6
Views: 2,086
Posted By zr6bcm
I suspect the correct function you are looking...

I suspect the correct function you are looking for is BarsSinceExit() and NOT BarsSinceEntry().

From the documentation: "Returns the number of bars that have elapsed since the last specified...
Forum: NinjaTrader October 11th, 2014, 10:32 AM
Replies: 4
Views: 1,329
Posted By zr6bcm
OPTIMIZER: (The good, the bad and the UGLY) ...

OPTIMIZER: (The good, the bad and the UGLY)

What still does not work, is to have NinjaTrader step the indicator properties through a range. For the live of me, and after a few zillion hours of...
Forum: NinjaTrader October 11th, 2014, 10:30 AM
Replies: 4
Views: 1,329
Posted By zr6bcm
If you want to modify properties on the fly, the...

If you want to modify properties on the fly, the follow all the instructions above to get the code into your strategy. Thereafter, implement your logic into the method ModifyProperties.

The first...
Forum: NinjaTrader October 11th, 2014, 10:27 AM
Replies: 4
Views: 1,329
Posted By zr6bcm
If you only wish to reflect the indicator...

If you only wish to reflect the indicator properties onto your strategy, these are the key things that needs to be done in your strategy. See complete example attached to the first post for...
Forum: NinjaTrader October 11th, 2014, 10:20 AM
Replies: 4
Views: 1,329
Posted By zr6bcm
Placing Indicator Properties onto Strategy Properties Automagically

The attached example shows how to automagically place indicator properties onto the property tab of the strategy. See attached images as well.

What the code shows is:
1. How to have indicator...
Forum: NinjaTrader October 9th, 2014, 05:16 PM
Replies: 23
Views: 15,245
Posted By zr6bcm
Succeeded in updating the description as well. As...

Succeeded in updating the description as well. As a final step have gathered all the code into cut-and-paste sections with three utility methods for deleting a property, updating the name and...
Forum: NinjaTrader October 8th, 2014, 06:14 PM
Replies: 23
Views: 15,245
Posted By zr6bcm
Finally! DisplayName can be changed. ...

Finally! DisplayName can be changed.

Background: what I wanted to do, is change the display name in the optimizer so that it can include information about the possible range of values for this...
Forum: NinjaTrader October 8th, 2014, 05:24 PM
Replies: 23
Views: 15,245
Posted By zr6bcm
It is a very large co-incidence that you should...

It is a very large co-incidence that you should ask this on exactly the same night as I am struggling with the same problem.

Unfortunately after many hours I have not found an answer. (C# is not...
Showing results 1 to 12 of 12

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