Click here to Login





                                                   Parameters

  0

0
allan nathan
2013-02-03 22:02:29


I dont quite understand how the Parameter function works in QS

I have two formulas

Days = Param("Days", 252, 504);
Plot(beta(close, GetSeries("SPY", close),Days), "beta", colorRed|55|colorRed|64|0, ChartBar, StyleOwnScale);

and

Plot(beta(close, GetSeries("SPY", close),252), "beta", colorRed|55|colorRed|64|0, ChartBar, StyleOwnScale);

Why do I get different values on the chart?

Also,how does one adjust the value for the parameters on a chart?

I dont see a slider or input box.

Thanks,

Allan




allan nathan
2013-02-03 22:07:07

  0

I see by right double clicking the pop up box comes up..
What is confusing to me is the wording of Default vs Value..

It appears you chart the value for Value

What do you mean by Default?

Allan



QuantShare
2013-02-04 09:48:28

  0

"Param" function is no longer necessary. You can dynamically update values without using "Param" function.
http://www.quantshare.com/how-433-how-to-dynamically-update-the-settings-of-an-indicator



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
Volatility-based Position Sizing Method with Adjustable Parameter...
Global Market Rotation Strategy V1.4
Butler Adaptive Asset Allocation Model V1.0
Optimizable Fibonacci Long and Short Trading System
Drawdown: Long and Short

How-to Lessons
How to debug a downloader
How to optimize a neural network using a genetic algorithm
How to create and trade a Neural Network model
How to execute a script at regular intervals
How to hide a trading indicator from a particular time frame

Related Forum Threads
Changing parameters
Reuse optimization parameters from Strategy script in Money Mgmt
Reading chart drawings parameters possible?
SetSimTiming function parameters & usage
Entry conditions and fields

Blog Posts
Trading Optimization
The Ultimate Guide to Create Trading Systems in QuantShare
4 Links to Download Free Historical Stock Prices Data by Date
Detect chart patterns using the auto support/resistance indicator
6 techniques to improve the performance of your stock trading str...









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.