NexusFi: Find Your Edge


Home Menu

 





How do you track the CL spread in a strategy?


Discussion in MultiCharts

Updated
    1. trending_up 1,317 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?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Strategy stop orders partially filled
EasyLanguage Programming
Trade idea based off three indicators.
Traders Hideout
Cheap historycal L1 data for stocks
Stocks and ETFs
Footprint for strategy Builder
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Funded Trader platforms
72 thanks
Spoo-nalysis ES e-mini futures S&P 500
21 thanks
The Trading Pit "Futures VIP" Account Journal
15 thanks
GFIs1 1 DAX trade per day journal
14 thanks
Just another trading journal: PA, Wyckoff & Trends
12 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