Click here to Login





                                                   Creating charts where the X axis is NOT tied to the time scale?

  0

0
Josh McCormick
2020-07-27 10:51:36


I was wanting to create a chart where the X axis was not tied to the current timescale (or any timescale for that matter). How do I create that?

As a specific example, let's say the current symbol is SPY. I'd like to create a graph of the Volatility and Sharpe Ratio of the current symbol blended from 0 to 100% against TLT:

On the far left, we have 100% of the current symbol and 0% of TLT. At the center, we have 50% of the current symbol and 50% of TLT. At the far right, we have 100% of TLT. Across the graph we'd plot the Volatility and Sharpe Ratio of the synthetic blended asset.

Is this something QuantShare is capable of performing?

Thanks again,
Josh McCormick



QuantShare
2020-07-27 12:26:03

  0

This is not something QuantShare can plot.


Josh McCormick
2020-07-27 15:07:08

  0

Acknowledged. My fallback position would be to do the calculations, print them with Output() or OutputList(), and then pull the results from the text window.

Back to the graph... I can think of any number of things I'd lot to plot which aren't time-based. If you could take a feature request for static (non-scrolling) plots that aren't attached to a timeline, I'd appreciate it. (Absolutely no promises, right? I understand.)



QuantShare
2020-07-28 19:32:58

  0

Best Answer
There is a PlotFixed function. Please check documentation for more information.


Josh McCormick
2020-07-30 23:17:03

  0

Oh. Wait...
OH, I see! Thank you!

Example from the manual:
PlotFixed(iff(GapUp(), 1, iff(GapDown(), 2, 0)), 1, "", iCount, "Number of No Gaps - Gap Up - Gap Down", colorBlack, ChartBar, StyleSymbolNone);

X-Axis has three values and remains fixed while everything else scrolls. This is *perfect*, thank you!



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
Set the First Trading Bar Values to Not a Number
How far are the close prices from the support line
Estimation of the Hurst Exponent - Trading Indicator
Update the Industry Name of your U.S. Stocks
Stock Trading Rules - Percentage That Passed in the Last Trading ...

How-to Lessons
How to plot two different time frames in the same chart
How to calculate the average of a time series using the money man...
How to plot a time-series that do not update the chart scale
Difference between the watchlist and the screener tools
How to quickly download the most recent EOD data for your stocks

Related Forum Threads
How can i download additional data not within the standard time p...
Using multiple time frame in the real time version
STOP/Profit targets based on the indicator value at the time of e...
Where is the SMA?
Where are the changes of 2.4.1 listed?

Blog Posts
How to Adjust the Time Displayed in your Intraday Charts
Charting & Scripts - Manage stock charts using the global script
QuantShare Trading Software: New Features in the 3.4.3 Version
QuantShare Trading Software: New Features in the 3.4.0 Version
QuantShare Trading Software: New Features in the 3.4.1 Version









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.