NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 6 of 6
Search: Posts Made By: gomad
Forum: NinjaTrader May 17th, 2011, 04:05 PM
Replies: 14
Views: 6,721
Posted By gomad
Thank you

Thank you. I didn't understand why that condition is needed in one case (for 13), but not for a lower number. For when I used a lower number, the indicator worked fine.
Forum: NinjaTrader May 17th, 2011, 10:41 AM
Replies: 14
Views: 6,721
Posted By gomad
Upload

Here are both indicators. One is using „for loop”, the another is using „foreach loop”.

One mention: select „New Panel” when you load the indicator on chart.

Thanks fo help.
Forum: NinjaTrader May 17th, 2011, 07:10 AM
Replies: 14
Views: 6,721
Posted By gomad
When loaded on chart, I have more than 13 bars on...

When loaded on chart, I have more than 13 bars on chart. But the indicator returns no value on plots.
Forum: NinjaTrader May 17th, 2011, 07:04 AM
Replies: 14
Views: 6,721
Posted By gomad
Yes, I understand this things, but the problem is...

Yes, I understand this things, but the problem is that it works with any number lower then 13, but not with higher numbers.

For example, the „foreach loop” is working fine with 12, but doesn't...
Forum: NinjaTrader May 16th, 2011, 04:08 PM
Replies: 14
Views: 6,721
Posted By gomad
Problem persists

I want to create an indicator which returns different statistical data within a predefined number of bars or events in the past. And I want to use this data in some statistical tests (lile Student...
Forum: NinjaTrader May 16th, 2011, 02:57 PM
Replies: 14
Views: 6,721
Posted By gomad
foreach loop problem

I have a problem with "foreach loop" in NT. My code is as follows:


protected override void OnBarUpdate()
{
int[] values = new int[] {1,2,3,4,5,6,7,8,9,10,11,12,13,};
int Up = 0;...
Showing results 1 to 6 of 6

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