Click here to Login





                                                   Accessing Symbol Info in Screener, Strategy script and in MM tool?

  0

0
Kiran
2016-03-08 00:47:27


How do i access Symbol Info fields such as Name1 and Point Value in the the Screener tool, Strategy script and in the MM tool?
e.g. these 2 functions don't work -
type = Symbol.Name1;
a = Symbol.PointValue;

Pl advise sample code for these function calls ..

thanks
Kiran



QuantShare
2016-03-08 03:17:16

  0

MM tool uses C# as programming language while the screener and the simulator uses the QuantShare scripting language.

In QS language:
a = name1();

// Point value cannot be accessed directly. You need to create a custom C# function in Tools -> Create Functions
double a = cFunctions.SymbolInfo.PointValue;




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
Identify Spilts Screener Script
Covered Call Strategy Indices - Dow DJIA and NASDAQ-100 Index
Staggered Entry and Exit Strategy
Bulls and Bears Strategy
Strategy Optimization on Random in-sample and out-of-sample Perio...

How-to Lessons
Difference between the watchlist and the screener tools
How to speed up watchlist and screener plug-ins when working with...
How to run a screen or a watchlist from a script
How to rename a ticker symbol
How to get stocks for a particular index using the global script

Related Forum Threads
indicator for 1 symbol in screener and simulation
Money Management Script variables and more
Adding symbols and changing properties from script
Reuse optimization parameters from Strategy script in Money Mgmt
Optimize for each symbol and walk-forward test on list

Blog Posts
Backtesting a Strategy Based on Bond and Stock Index ETFs
Create a trading strategy using the money management tool - Part ...
How to build and backtest a robust stock trading system
How to use QuantShare screener to trade penny stocks
Trading System Analysis: Backtesting report and custom measures









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.