NexusFi: Find Your Edge


Home Menu

 





How do you track the CL spread in a strategy?


Discussion in MultiCharts

Updated
    1. trending_up 2,003 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 1 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 JHall65 
Denver Colorado
 
Experience: Intermediate
Platform: Multicharts
Trading: Forex
Posts: 23 since Apr 2013
Thanks Given: 3
Thanks Received: 2

In C# how do you create a class called "Spread" that will have OHLC like the other bars the strategy will access. I am using Multicharts.net. Any help would be much appreciated!


Started this thread Reply With Quote

 
  #2 (permalink)
 
Jura's Avatar
 Jura   is a Vendor
 
Posts: 775 since Apr 2010
Thanks Given: 2,352
Thanks Received: 691


JHall65 View Post
In C# how do you create a class called "Spread" that will have OHLC like the other bars the strategy will access. I am using Multicharts.net. Any help would be much appreciated!

You could use the `DataManager` to load and access data from non-charted symbols. Such an indicator could then calculate the spread between the CL's and plot these with a paint bar (four plots, one for the high, low, open, close, and low).

You could also use the `CustomInstrument`class if I understand you correctly, though that is a new beta version and I'm not yet on that beta. There's an example of that class here.


Reply With Quote




Last Updated on August 30, 2014


© 2026 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 - Downloads - Top
no new posts