Click here to Login





                                                   Question on Proxy values

  0

0
Amritendu Maji
2017-09-03 03:43:57


Base = "SHY";
d0 = perf(GetSeries(Base, Close), 0);
d1 = perf(GetSeries(Base, Close), 1);
d2 = GetSeries(Base, close);

is d2 = d0 or d2 = d1?

Thank you.




QuantShare
2017-09-03 18:39:30

  0

Best Answer
You can plot these variables on a chart and see the result visually.

plot(d1, "", colorRed);
plot(d2, "", colorBlue);
...

perf(x, 0) would return 0.
d2 != d0 and d2 != d1



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
NSE Indices - P/E, P/B & Div. Yield values
Drawdown: Long and Short
Inverse Fisher Transform
Index Investment Data for U.S. Futures Markets

How-to Lessons
How to quickly select stocks based on the last value of a databas...
How to create a watchlist
How to dynamically update the settings of an indicator
How to optimize the number of positions in a trading system
How to create a composite index/indicator

Related Forum Threads
Question on Proxy Trading
Question about an object
Can I predict values in the future
Simulator Question
plot values on future bars

Blog Posts
Composite Indicators
Backtesting a Strategy Based on Bond and Stock Index ETFs
Money Management: Optimize the scale-in strategy
Reducing risk and increasing return by combining several trading ...
How to create the advance/decline market breadth indicator









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.