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
NSE Indices - P/E, P/B & Div. Yield values
Set the First Trading Bar Values to Not a Number
How far are the close prices from the support line
Ratio of Stocks Outperforming/Underperforming Their Industry
Index of dispersion - Variance-to-Mean Ratio - VMR

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
Watch your support and resistance lines
How to Pick the Best Trend Indicators
How to measure market strength with the composite tool
3 ways to rank stocks in a trading system - Simulator and Potfoli...
How to combine long, short and custom portfolio strategies within...









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.