RightEdge Forums
Main
Home
Search
Members
Calendar
Who's On
Welcome Guest
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
»
Trading
»
Technical Indicators
»
indicator plugin
indicator plugin
Rate Topic
Display Mode
Topic Options
Message
Posted 4/12/2009 22:15:11
Post #8139
baips
baips
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
billb
billb
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
baips
baips
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
baips
baips
I have found out.thanks
« Prev Topic
|
Next Topic »
Reading This Topic
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators:
billb
,
young
,
dplaisted
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
may
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
may
post and upload images.
Forum Jump...
----------------
Forum Home
Search
Members List
Calendar
Who's Online
----------------
RightEdge Announcements
|-- RightEdge Announcements
General
|-- General Discussion
|-- Community Support
|-- Suggestion Box
|-- Plugin Development
Trading
|-- Trading Systems
|---- Uploaded Trading Systems
|-- Technical Indicators
|-- Order Execution
|-- Trading Vehicles
Programming and Software Development
|-- Programming Questions
All times are GMT -5:00, Time now is 6:12am
2005-2007 © RightEdge Systems