NexusFi: Find Your Edge


Home Menu

 





How do you track the CL spread in a strategy?


Discussion in MultiCharts

Updated
    1. trending_up 1,324 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

Can you help answer these questions
from other members on NexusFi?
Has anyone taken The Confident Trader course from aheadc …
Trading Reviews and Vendors
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Pivot Indicator based on Level2 data
NinjaTrader
What You Know vs How much you know about it
Traders Hideout
Help re translation of ninjascript to EL
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
ApexTraderFunding.com experience and review
91 thanks
HumbleTraders next chapter
73 thanks
Winning attitudes create winning traders
39 thanks
Just another trading journal: PA, Wyckoff & Trends
32 thanks
Topstep experience and review
28 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