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
Extensive Fundamental Data for U.S. Stocks
Historical EOD data for Saudi stocks
Daily US Stocks Data
Historical Earnings Surprise, EPS and Consensus Data
Market Cap Historical Data for the US Stock Market

How-to Lessons
How to download earnings calendar data for various stocks
How to speed up watchlist and screener plug-ins when working with...
How to import trading data from CSV files
How to export trading data to a CSV file
How to create trading rules based on Put and Call volume data

Related Forum Threads
Exporting optimized test data from trading report
Reference Data for European ETF?
How to view the raw data files?
Data Source
Download data from google

Blog Posts
Reading and Exporting Data from QuantShare to Excel Programmatica...
Trading Items: Data Download using .Net Scripts
Optimization in the statistical data analysis tool
How to Automatically Import Local Data Into QuantShare
4 Links to Download Free Historical Stock Prices Data by Date









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.