Click here to Login





                                                   code for roc of certain script

  0

0
Gilari Decosta
2011-11-15 11:34:00


Sir,
In a watch list ,I want to employ an indicator that devide the ROC of a script with roc of index 'NIFTY,ie ROC of script/ROC of index,May you please help me to get the code to get the ROC of a script
With thanks
Decosta



QuantShare
2011-11-15 13:18:56

  0

Best Answer
Here is how to get the ROC of another security:
a = GetSeries("Symbol Name", close, LastData);




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
Output metric for each trading year
Identify Spilts Screener Script
Index Investment Data for U.S. Futures Markets
Stop Loss for the N-first Trading Bars only
Historical EOD data for LSE-listed Stocks and ETFs

How-to Lessons
How to get stocks for a particular index using the global script
How to run a screen or a watchlist from a script
How to display the number of stocks per day for different RSI gro...
How to add future bars to plan for market scenarios
How to execute a script at regular intervals

Related Forum Threads
Code for built-in TA functions
Speed of script execution for symbols with many bars
Preventing re-entery for certain number of bars
the code for screen
Reinvest Dividends in Your Trading System - Script

Blog Posts
How to Download Trading Data for Certain Securities Only
Step by step on how to get free realtime/delayed data for stocks,...
Charting & Scripts - Manage stock charts using the global script
Create custom metrics for the statistical data analysis tool
QS Trading Software: Global Script









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.