Click here to Login





How to create a volatility-based Stop - Dynamic stop based on the Average True Range

Updated on 2011-05-07 05:10:56

Share |

Usually the stop level of a trading system is set to a fixed value. You can however instruct QuantShare to update the stop level (trailing, profit or stop loss) depending on the market condition and the stock/security being traded.

To create a volatility-based stop, we are going to use the average true range indicator (ATR)

Steps:

- Select or create a trading system then open the trading system editor
- In Stop settings (at the bottom), enable "Stop Loss" then click on the fixed value near "at"
- In Indicator field, type: 10 * Atr(10) then click on "OK".
- Click on "(Percent)" then select "(Point)"
- You have just created a stop loss based on volatility

Notes:
- You can optimize the above stop formula, by typing: a * Atr(b) then updating the "a" and "b" variables in the optimization grid.
- It is possible to create a dynamic stop (based on a formula) for all types of stops (Stop Loss, Trailing Stop, Profit Stop and N-Bar Stop)
- You can create a dynamic stop for both Percent and Point stop modes.



Unlike what it is shown in the picture, we should use "Point" instead of "Percent".









no reviews (Log in)







Other how-to articles




How to optimize the stop limit of a trading system





How to create trading rules based on Put and Call volume data





How to quickly select stocks based on the last value of a database field





How to create a moving average of an indicator





How to calculate the average of a time series using the money management tool





How to create and trade a Neural Network model





How to create a watchlist





How to optimize the number of positions in a trading system





How to create histogram charts







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.