Click here to Login





                                                   Question on QS Language from pdf

  0

0
Amritendu Maji
2017-07-27 18:36:28


I think QS staff needs to add more explanation or examples to the various functions listed in the QS language pdf.

For example:

SETSIMSTOP Simulation stops
Simulator
SYNTAX
SetSimStop( ENUM stop type, ENUM stop entry, ARRAY value, ARRAY reentry)
RETURNS
DESCRIPTION
Update the simulator stops
ADDITIONAL INFO
EXAMPLE
SetSimStop(_StopLoss, _Percent, 20, 1)

What are the various options available for the ENUM stop type? I know one is _StopLoss. What are the others?
What are the various options available for the ENUM stop entry? One is _Percent, what are the other types available?
What does reentry signify? 1 means after one bar or what?

There are numerous such examples. More clarification will help us newbies trying to learn.

Thank you for your help.



QuantShare
2017-07-28 05:53:38

  0

Best Answer
While typing the formula and while your cursor is in the ENUM position, use CONTROL+SPACE to display all available values.
You can also use the Add Indicator/Method button.

Re-entry tells the backtester to ignore any symbol that was previously sold using a stop for N bars.



Amritendu Maji
2017-07-28 09:43:07

  0

Thank you.


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
News data for US companies from Google RSS feed
Stock Picks from Wikinancial
Lagged Data From a Custom Database
Market cap, ROE, ROA and Forward PE for U.S. Stocks - Fundamental...
Stock News from Articles, Bloggers, Columnists, Traders and Analy...

How-to Lessons
How to add trades from one portfolio to another one
How to generate buy/sell signals from a trading system
How to run a screen or a watchlist from a script
How to hide a trading indicator from a particular time frame
How to import trading data from CSV files

Related Forum Threads
Comp() in QS language and AMM if no Market Data
Performance of parsing a QS language function in AMM
Script to remove Symbols from an Index
How to Create News Downloader from Google for Indian Stocks.
Quantshare Language Documentation

Blog Posts
A vector-based language
Diversify your portfolio by investing in stocks from various indu...
How to filter quotes data from high and low price spikes
Create a HTML or PDF Report of your Trading System Backtesting Re...
How to Backtest a Strategy from a Chart









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.