Click here to Login





                                                   Is it possible to make a spread chart with futures contracts?

  0

0
Luis
2014-02-10 21:43:03


Hello, I would need to create a spread chart for example, of 1 contact of gold - 10 contacts of silver or Ebay - Amazon.
Is it possible to do this with quantshare? I've been looking at the documentation and couldn't find an answer.
Thanks!



QuantShare
2014-02-11 14:29:19

  0

Hi Luis,

Of course you can do that.
Right click on the main chart's pane, then on "Edit Formula"
- Replace the existing formula with this one:

a = GetSeries("Gold Symbol", close) - 10 * GetSeries("Silver Symbol", close);
Plot(a, "Spread 1*Gold-10*Silver", colorRed);

- Click on "Update Graph".


Please let me know if you have any further questions.




No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Enhanced Candlestick Chart with Volume Variation
Up/Down Volume Spread
Relative Performance Chart - Dynamic assets and index
Plot Economic Indicators on a Chart
Index Investment Data for U.S. Futures Markets

How-to Lessons
How to create a chart with a black background
How to print a chart
How to display notes/commentaries on a chart
How to plot a time-series that do not update the chart scale
How to plot arrows below/above candlesticks on a chart

Related Forum Threads
TO SHARE: Candlestick chart with a few interesting features
Is it possible to develop and debug with Visual Studio?
Locks up when market is open while using the *daily* chart with I...
Limiting the scale of a candlestick chart with volume?
Horizontal line on the intraday chart with the day's opening pric...

Blog Posts
Chart Layouts Explained - With Custom Scripts
How to Calculate and Display the Bid/Ask Spread on a Chart
How to Backtest an Intraday Stock Trading System with EOD Ranking
Custom Shortcuts - Move a Chart to Display the Last Quotes/Data
Update Chart Layout based on Active Ticker Symbol









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.