Click here to Login





                                                   how to compare the returns of multiple ETF pairs?

  0

0
Amritendu Maji
2017-06-14 20:01:28


Say I am looking at 4 ETFs, A, B, C and D.

How can I compare the ROC(A using 40% of capital + B using 60% of capital) and the ROC(C using 80% of capital + D using 20% of capital) ?

I am trying to combine various percentages and various pairs.

Thank you,
Maji



QuantShare
2017-06-15 10:15:01

  0

Best Answer
You can type something like:

p = 20;
a = (0.4 * roc(getseries("A", close), p) + 0.6 * roc(getseries("B", close), p)) > (0.8 * roc(getseries("C", close), p) + 0.2 * roc(getseries("D", close), p));

For more advanced stuff such as the calculation of different combinations, you need to use the C# money management tool.




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
How far are the close prices from the support line
Ratio of the Short to Long-Term Moving Averages - ETF Trading Sys...
Standard Error of the Estimate of a Regression Line
GetVariable Multiple Usage
Multiple Time Frames Trading System - Price / Moving Average Cros...

How-to Lessons
How to plot a stock using different periods in the same chart
How to optimize the stop limit of a trading system
How to plot the relative performance of several stocks/indices
How to add a metric in the trading system simulation report
How to dynamically update the settings of an indicator

Related Forum Threads
Compare strategy total returns or benchmarks on a percentage scal...
How to view the raw data files?
Using multiple time frame in the real time version
How to determine if the a given day is a trading day?
How can I view signals rejected by the simulator?

Blog Posts
How to create market indicators using the composite function - Pa...
How to Use the Percentage Scale
Buy the best/top rated stocks or how to create powerful rank base...
How to create market indicators using the composite function - Pa...
Industry Analysis - How to Compare Stocks with their Industries









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.