NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 7 of 7
Search: Posts Made By: kaywai
Forum: NinjaTrader January 24th, 2010, 09:13 AM
Replies: 12
Views: 4,441
Posted By kaywai
I get an overflow error. I suspect the problem...

I get an overflow error. I suspect the problem occurs when High[0]-Low[0] = 0. I suppose when High[0]-Low[0]=0, the cumulative index should reflect no change. How do I write that in the NT script?
Forum: NinjaTrader January 24th, 2010, 08:24 AM
Replies: 12
Views: 4,441
Posted By kaywai
Andrew, My chart doesn't plot at the...

Andrew,

My chart doesn't plot at the moment. Can I assume you've got a workaround? If you could, could you please assist?
Forum: NinjaTrader January 24th, 2010, 07:06 AM
Replies: 12
Views: 4,441
Posted By kaywai
BigMike, I think one of the issues could be when...

BigMike, I think one of the issues could be when the denominator (i.e High[0]-Low[0] =0). In such a situation, how would I resolve this issue as per your code?
Forum: NinjaTrader January 24th, 2010, 05:11 AM
Replies: 12
Views: 4,441
Posted By kaywai
Sorry dude, wasn't aware i could do that. Here it...

Sorry dude, wasn't aware i could do that. Here it is.:adore:
Forum: NinjaTrader January 24th, 2010, 05:00 AM
Replies: 12
Views: 4,441
Posted By kaywai
This is what I understood from what you wrote...

This is what I understood from what you wrote above. Got an error this time. so can't export.
#Variables = Blank
#Init = Added the 2 lines i mentioned above
#onbarupdate...
Forum: NinjaTrader January 24th, 2010, 04:38 AM
Replies: 12
Views: 4,441
Posted By kaywai
BigMike, I'm just trying to create a Line Chart....

BigMike, I'm just trying to create a Line Chart. I plugged your code in and added in the initialize() section:

Add(new Plot(Color.FromKnownColor(KnownColor.Green), PlotStyle.Line, "PCum"));...
Forum: NinjaTrader January 24th, 2010, 03:27 AM
Replies: 12
Views: 4,441
Posted By kaywai
Cumulative Index

Hi, I have this ratio ((Close[0]-Open[0])/(High[0]-Low[0])) and would like to create a cumulative index for it. could anyone please help?
Showing results 1 to 7 of 7

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

Total votes: 159
 


 
 


© 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