log in     sign up for free
 
There are many different classifications of exits other than your initial stop loss. These include exits that produce a loss but reduce your initial risk, exits that maximize profits, and exits that keep you from giving back too much money, and psychological exits.
Van K. Tharp
 
 
Home
systems (284)
 
Special offer: buy MetaStock (try for free)   |   Reuters QuoteCenter Real-Time Data (get a free month)   |   EOD Data
 

Buy

MetaStock

     (special offer)
 
 
 

Buy

EOD data for MetaStock

     (special offer)
 
 
 

Buy

Realtime data for MetaStock

     (special offer)
 
 
 
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

ATR Based Stops

Formula for: MetaStock

indicator


 

 

Views:  1540

Added: January 14, 2007
 
Rate this code:  Rate: 1 Rate: 2 Rate: 3 Rate: 4 Rate: 5
This formula has not been rated yet
 

email this link

 
 
Tags: MetaStock, indicator
 
Your Ad Here
ATR Based Stops
* To: RealTraders Discussion Group <realtraders@xxxxxxxxxxxxxx>
* Subject: ATR based stops
* From: "Rajat K. Bose" <rajatkbose@xxxxxxxxxxx>
* Date: Mon, 03 May 1999 22:44:00 PDT
* Reply-To: rajatkbose@xxxxxxxxxxx
* Sender: owner-realtraders@xxxxxxxxxxxxxx

Hello RTs,


If any of you could find time, could you just test the efficacy of this Upper and Lower Band based on ATR. The MetaStock formulas are given at the end.

Using the default values used in the formulas, I have found that they provide effective risk control while trading. the upper band can be used as the extreme point to get rid of shorts and vice versa.

In fact, prices tend to remain above both the bands while the market is in a strong uptrend, and prices remain below the bands in a downtrend. During short-term range-bound markets, they tend move between the bands.

I have found this idea in Tushar Chande's "New Technical Trader". It would be be very nice if any of you could comment on them.

Thanks in advance.

Regards,

Rajat K Bose

Rajat K Bose

MetaStock Formulas:

Upper Band

Prd1:=Input("ATR Period",5,20,5);
Prd2:=Input("Period for Highest High Value",5,20,10);
(HHV(LLV(L,Prd1)+ATR(Prd1),Prd2))

Lower Band

Prd1:=Input("ATR Period",5,20,5);
Prd2:=Input("Period for Lowest Low Value",5,20,10);
(LLV(HHV(H,Prd1)-ATR(Prd1),Prd2))

{HHV = Highest High Value;
LLV = Lowest Low Value;
Prd1 is a variable that takes the ATR period as well as Lowest Low value period in Upper Band while it takes the Highest High Value for the lower band, Prd2 variable is self explanatory.}

 

 



Code:

ATR Based Stops

Prd1:=Input("ATR Period",5,20,5);
Prd2:=Input("Period for Highest High Value",5,20,10);
Prd3:=Input("Period for Lowest Low Value",5,20,10);

{Upper Band}
(HHV(LLV(L,Prd1)+ATR(Prd1),Prd2));

{Lower Band}
(LLV(HHV(H,Prd1)-ATR(Prd1),Prd3));

{HHV = Highest High Value;
LLV = Lowest Low Value;
Prd1 is a variable that takes the ATR period as well as Lowest Low value
period in Upper Band while it takes the Highest High Value for the lower
band, Prd2 variable is self explanatory.}


 






Author: Rajat K. Bose
Source: http://www.purebytes.com/archives/realtraders/1999/msg20469.html

 

View similar (indicator for MetaStock):

Wallie\'s 20% Stop Loss Indicator
Zero-Lag Data Smoothers
Periods Loaded and First Loaded Closing Price
Cyclical MA Projection
MACD MS Look Ahead
Money Flow Index
Rainbow Charts
Keltner & Bollinger Bands
TEMA - Multiple-type
Moving Average - Fractal Adaptive (FAMA)
...
 
 
all formulas for MetaStock
all formulas

 

 

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.
 
Privacy note | (c) copyrights systems4trading.com 2006-2012