Click here to Login





                                                   Exporting various data

  0

0
clonex
2012-01-15 21:02:09


Hellov,

it is possible exporting various data from strategy or indicator.
example: exporting/print rsi values from strategy or exporting ROC(10) and RSI(10) values in same line?? via output console
pseudo code Print( RSI(10) +";"+ROC(10) );

Thanks !!!!!



QuantShare
2012-01-16 04:40:20

  1

Best Answer
Hi,

You can do that using the global script (Tools -> Script Editor).
Execute this script to display RSI and ROC data for the selected chart in the output console (View -> Output)

string symbol = Charts.GetSelectedChart().SymbolName;
Parser parser = ParserTool.CreateParser("a = rsi(10).';'.roc(10);");
Report report = parser.Parse(symbol, 1, true);
string[] lines = report.GetStringArray("a");
for(int i = 0; i < lines.Length; i++)
{
App.Main.AddToOutput(lines[i] + Environment.NewLine);
}




clonex
2012-01-18 15:46:03

  0

thank you buddy. i will try it. and ill buy lifetime license. possibilties of quantshare are amazing. im a user of ninja trader and maybe one year im searching for something better. i found it :)


QuantShare
2012-01-19 05:19:59

  0

Thank you clonex


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
Historical EOD data for Saudi stocks
Extensive Fundamental Data for U.S. Stocks
Intraday Data for Major Stock Exchanges
Singapore Exchange EOD Data - SGX - Last 20 days
Historical EOD data Downloader for Delisted/Bankrupt Stocks

How-to Lessons
How to download earnings calendar data for various stocks
How to quickly download the most recent EOD data for your stocks
How to download and use U.S. stocks earnings data
How to import trading data from CSV files
How to export trading data to a CSV file

Related Forum Threads
Exporting optimized test data from trading report
Reference Data for European ETF?
May Quantshare check "Intraday Data for US Stocks" conn...
Exporting Databases
Futures data - overwrites stock symbols, issues with point value

Blog Posts
Reading and Exporting Data from QuantShare to Excel Programmatica...
Trading Items: Data Download using .Net Scripts
Charting, Backtesting and Trading using Fundamental Data
How to Download Trading Data for Certain Securities Only
How to create a trading system, screen and composite using earnin...









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.