NexusFi: Find Your Edge


Home Menu

 





How do you track the CL spread in a strategy?


Discussion in MultiCharts

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




 
Search this Thread

How do you track the CL spread in a strategy?

  #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

Can you help answer these questions
from other members on NexusFi?
NexusFi Journal Challenge - April 2024
Feedback and Announcements
ZombieSqueeze
Platforms and Indicators
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Request for MACD with option to use different MAs for fa …
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
58 thanks
Battlestations: Show us your trading desks!
50 thanks
NexusFi site changelog and issues/problem reporting
47 thanks
GFIs1 1 DAX trade per day journal
31 thanks
What percentage per day is possible? [Poll]
31 thanks

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


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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts