Click here to Login





                                                   File functions

  0

0
dinh
2016-11-23 18:54:15


Hi,
I am new and doing a trial version
I worked with MT4 for about 5 years, MT4 is very good on Forex and Futures , I now want to get to Stocks.
My question to QS are.
. I want to record selected variables every steps when perform back test , usually I use file handling functions but can't find in QS
. Is there the way to look the value of technical indicator back n positions from current position.
. Can I access to different timeframe, exchange in same strategy. e.g. I want to look long, med,short term on US30, FT100 etc.. before I decide a move
. In Mt4 tick() function will decide when a to start a calculation process, from tick() I can set any timeframe etc. . How I do in QS
, Is there any brokers can connect live to QS for live trade.

Thanks
Dinh HA




QuantShare
2016-11-24 04:16:18

  0

Hi,

1/ I want to record selected variables every steps when perform back test , usually I use file handling functions but can't find in QS

You can create a custom function (Tools -> Create Functions) and then implement a C# function that gets a variable (vector) and stores its content in a file

2/ Is there the way to look the value of technical indicator back n positions from current position.

Just plot that indicator on a chart.

3/ Can I access to different timeframe, exchange in same strategy. e.g. I want to look long, med,short term on US30, FT100 etc.. before I decide a move
In Mt4 tick() function will decide when a to start a calculation process, from tick() I can set any timeframe etc. . How I do in QS

Please take a look at this post to learn how to create trading systems:
http://www.quantshare.com/sa-582-the-ultimate-guide-to-create-trading-systems-in-quantshare

Regarding the different time frames, there is so functions such as TimeframeSet, TimeframeApply, TimeframeDecompress...

Check this for an example:
http://www.quantshare.com/sa-575-how-to-backtest-an-intraday-stock-trading-system-with-eod-ranking


4/ Is there any brokers can connect live to QS for live trade.

We currently support Interactive Brokers.



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
Portfolio Statistics to CSV File
Ticker Symbol Index
Auto Support and Resistance Indicator
FAO Food Price Index
EURUSD Long Positions Ratio

How-to Lessons
How to export trading data to a CSV file
How to improve the performance of QuantShare databases?
How to print a chart
How to import trading data from CSV files
How to get stocks for a particular index using the global script

Related Forum Threads
Can you access custom functions from the downloader script events...
Import Symbols by file
Help file
QS language functions color & font
Peak / trough indicators and issue with Functions

Blog Posts
Export Trading Orders from a Portfolio to a File
Trading Indicators using the Rank and Percentile functions
New Ranking and Percentile Composite Functions
Update Chart Layout based on Active Ticker Symbol
What's new in this trading software?









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.