RightEdge Forums
Main     Home          Members     Calendar     Who's On

Welcome Guest
        



Access to custom built indicators from code Expand / Collapse
Message
Posted 11/24/2009 10:47:19 Post #10069
 

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru
Hello,

I built my own pivot-point-indicator and it works fine in charts and systems. So far I added it to the system via the system designer pane. Now I want to create the indicator from the code directly. This does not work with refering the shown name of the indicator with blanks removed.

Do I need to add any reference, prior using it from code?

Regards

Amin

Posted 11/25/2009 08:21:54 Post #10078
 

Lead DeveloperLead DeveloperLead DeveloperLead DeveloperLead DeveloperLead DeveloperLead DeveloperLead Developer
If you've built an indicator DLL, they are accessed the same way any of the indicators are accessed. The indicators that ship with RightEdge are also plugins, just like yours. If your trading system, you need to include a reference to your indicator. I don't understand where the space is coming from, class names cannot contain spaces.

Amin (11/24/2009)
Hello,

I built my own pivot-point-indicator and it works fine in charts and systems. So far I added it to the system via the system designer pane. Now I want to create the indicator from the code directly. This does not work with refering the shown name of the indicator with blanks removed.

Do I need to add any reference, prior using it from code?

Regards

Amin
Posted 11/25/2009 09:31:43 Post #10086
 

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru
I tried both, the classname (which is obviously without any spaces) as well as the user friendly name specified via the YYEIndicatorAttribute.Name field. The latter contains spaces, so I removed them.

Neither of the ways did work.

Regards

Amin

Posted 11/27/2009 17:50:25 Post #10113
 

DeveloperDeveloperDeveloperDeveloperDeveloperDeveloperDeveloperDeveloper
You need to add a reference to your indicator DLL, as well as make sure you either have a using statement for the namespace or are using the full class name including namespace. Beyond that I'm not sure what could be wrong.

Thanks,
Daniel
Posted 11/29/2009 09:55:05 Post #10130
 

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru
Hi Daniel,

thanks for your help. Works fine now with the reference and the using statement.

Regards

Amin

« 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 3:25pm

2005-2007 © RightEdge Systems