log in     sign up for free
 
Your worst-case exit, which is designed to preserve your capital, should be determined ahead of time.
Van K. Tharp
 
 
Home
systems (285)
 
 
Special offer: buy MetaStock (try for free)   |   Reuters QuoteCenter Real-Time Data (get a free month)   |   EOD Data
Formula Library
 
AmiBroker
MetaTrader
MetaStock
TradeStation
Wealth-Lab
NinjaTrader
 
add your formula
System Library
 
 
Account login
Your email:
Password:
 
Log in
New to s4t? Sign up.
If you forgot your password click here.
Search the Web
 
Custom Search

His.Vol w/ Patterns

System for: TradeStation

 

 

Views:  2720

Added: December 08, 2006
 
Rate this code:  Rate: 1 Rate: 2 Rate: 3 Rate: 4 Rate: 5

5

1 ratings
 
 

email this link

 
 
Tags: TradeStation, system
 


Some of the best systems I've come across look for a setup pattern and then base the trading signals on the ensuing reaction. Laurence Connors and Linda Raschke's use of historical volatility in conjunction with bar patterns effectively identifies excellent setups. The Easy Language formula for historical volatility, which was given in STOCKS & COMMODITIES' November 1995 Traders' Tips, is rewritten here as a function. This TradeStation system will only enter long or short, so be sure to apply your own money management techniques. As one suggestion, the "Historical volatility and pattern recognition" article mentions using a trailing stop to lock in profits.

This function will automatically adjust to daily or weekly bars and also allows you to input the number of days in the annual period. This is helpful in that it gives you the option of using 365 calendar days or 250 trading days as the annual period.

By using the chart scanner, you can apply this system to a database of symbols to determine which generated orders. When executing the system, be sure to set the maxbarsback value to 101 and remember to apply the trailing stop as well.

-Miles Dunbar, Omega Research

 

 



Code:

Function: HisVol
INPUTS: LOOKBCK(NumericSimple), ANNUAL(NumericSimple);
Vars: HVol(0), Per(0);
If DataCompression<=2 then Per=1;
If DataCompression=3 then Per=7;

HVol=StdDev(LOG(Close/Close[1]),LOOKBCK)*SquareRoot(ANNUAL/Per);
HisVol= HVol*100;

 

System: His.Vol w/ Patterns
Vars: HVRatio(0), NR4(False), InBar(False);
HVRatio=(HisVol(6,365)/HisVol(100,365))*100;
NR4=Range=Lowest(Range,4);
InBar=HL[1];
If HVRatio <= 50 and (NR4 or InBar) then begin
Buy at High + (1*MinMove points) stop;
Sell at Low - (1*MinMove points) stop;
end;


 




 

Code to difficult? Find somebody to help you with coding here.

 



Author: Laurence Connors and Linda Raschke
Source: http://www.traders.com

 

View similar:

SystemC
Volatility Reversals
Delayed Channel Breakout
New Market Paradigm
Hull Moving Average Trading System
Volume-Weighted Average
Kase 30
Confluence
Dual Time Frame Moving Average
TFS System
...
 
 
all systems for TradeStation
all systems

 

 

Email to friend

Top

 

     
However we try to maintain hiqhest possible level of service - most formulas, oscillators, indicators
and systems are submitted by anonymous users.
Therefore S4T™ does not take any responsibility for it's quality.
If you use any of this information, use it at your own risk. You are responsible for your own trading decisions.
Be sure to verify that any information you see on these pages is correct, and is applicable to your particular trade.
In no case will S4T™ be responsible for your trading gains or losses.
PayPalSecure payments by PayPal S4T™ is a part of TAURO EDUCATION NETWORK
 
Privacy note | (c) copyrights systems4trading.com 2006-2009