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
Day of week Average
Exit Position based on Profitability
IBS - Internal Bar Strength

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
plot values on future bars
Question on Swing Point function sp()

Blog Posts
Optimization in the statistical data analysis tool
QuantShare Trading Software: New Features in the 3.3.2 Version
Learn How to Create Your Own Technical Analysis Indicators
4 Market Composite Indicators Based on Industry Data
Buy the best/top rated stocks or how to create powerful rank base...









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.