RightEdge Forums
Main     Home          Members     Calendar     Who's On

Welcome Guest
        



Indicator Based of tow other data series Expand / Collapse
Message
Posted 10/3/2007 06:15:11 Post #3696
 

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being
Hi Guys,

Good work on adding the interest rates. Which brings me a question of how do I create an indicator that will accept two interest rate series?

I want to be able to view on a separate pain the spread between rates and the upward or downward movement between currencies.

Say I view a 3 yr chart of AUD/USD I also want to view the interest rates for AUD and USD as a separate plot on a separate pain. Does that make sense is it possible?

Thanks

Excuse the spelling in the subject but you can not edit it.


Posted 10/3/2007 23:20:08 Post #3697
 

DeveloperDeveloperDeveloperDeveloperDeveloperDeveloperDeveloperDeveloper
Sorry this was not answered sooner.

Unfortunately because we treat the interest as another set of "bar data" we really can't use the values to plot an indicator on another set of bar data.  At this the only way to handle this would be to do any calculations you needed on the interest series inside of a system.

Posted 10/4/2007 07:45:20 Post #3698
 

DeveloperDeveloperDeveloperDeveloperDeveloperDeveloperDeveloperDeveloper
To plot these values an a chart, you would need to make a user series.  The current release doesn't have it, but we plan on making it easy to access the current interest rate.  So the code to plot the current interest rate would be something like this:

SystemData.Series["AUDInterest"][symbol].SetCurrentValue(SystemData.AccountInfo.GetInterestRate(CurrencyType.AUD, InterestRateQuoteType.Close));

This would go in your NewSymbolBar() method, after you have added code to create the series in your Startup().

Thanks,
Daniel

« 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 2:36pm

2005-2007 © RightEdge Systems