Click here to Login





                                                   Best practices for using a Global Variable

  0

0
Obuli Govindaraju
2012-02-23 08:01:19


When a global variable is set does it stay in memory until Quantshare program closes?

What is the best practice on using a global variable, should a global variable be deleted after its use to save memory?



QuantShare
2012-02-23 10:51:07

  0

Best Answer
Yes, it stays in memory until QuantShare closes.

You don't have to delete a global variable unless you are storing big amount of data (Example: Several arrays)



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
The Best trading rules for the ADX technical indicator
High to low stock pattern for the close price
Average Stock Performance for each U.S Exchange
VIDYA - Variable Index Dynamic Average
ADX Composite Indicator for the Stock Market

How-to Lessons
How to get stocks for a particular index using the global script
How to calculate the average of a time series using the money man...
How to debug a trading system using the money management tool
How to download historical EOD data for penny stocks
How to optimize a neural network using a genetic algorithm

Related Forum Threads
Best way to precompute a custom formula and store it
Custom Multi-Dimensional Fitness Formula (CMDFF) for Optimizer
Global variables
PORTFOLIO-CODE FOR BUYING PRICE
ASCII IMPORT -HOW CANCWE DELETE DATA FOR A WRONG DATE

Blog Posts
Charting & Scripts - Manage stock charts using the global script
How to Select the Best Market Indicator for your Trading System
QS Trading Software: Global Script
Select the best ETFs combination to maximize your return and redu...
How to Backtest Your Trading System for Each Industry









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 © 2012 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items