RightEdge Forums
Main     Home          Members     Calendar     Who's On

Welcome Guest
        



indicator plugin Expand / Collapse
Message
Posted 4/12/2009 22:15:11 Post #8139
 

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie
I have designed an indicator plugin to calculate the swings to link the highest and lowest.but it throws an exception.Anything wrong with it.it says out of the range of argument.But i have checked it carefully and cant find what is wrong with it.

By the way,is it the right way to code it that way?

  Post Attachments 
Class1.cs (142 views, 5.90 KB)

Posted 4/13/2009 07:30:22 Post #8140
 

Lead DeveloperLead DeveloperLead DeveloperLead DeveloperLead DeveloperLead DeveloperLead DeveloperLead Developer
Argument out of range means you have an indexer that's accessing a value that isn't there. Most likely you are trying to access a value in the bar element arrays that isn't there yet. Make sure that your array indexer is in range. Also, a line number on the stack trace would be most helpful.

baips (4/12/2009)
I have designed an indicator plugin to calculate the swings to link the highest and lowest.but it throws an exception.Anything wrong with it.it says out of the range of argument.But i have checked it carefully and cant find what is wrong with it.

By the way,is it the right way to code it that way?
Posted 4/13/2009 08:26:09 Post #8141
 

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie
someone help me finding out that the count of  base._values.InnerList remain constant.why is that?
Posted 4/13/2009 08:36:21 Post #8142
 

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie
I have found out.thanks
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: billb, young, dplaisted

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 6:12am

2005-2007 © RightEdge Systems