Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

ATR STOP AND REVERSE for Metastock
garry_gc
almost 13 years ago
Metastock

Rating:
3 / 5 (Votes 2)
Tags:
metastock, stop loss

THIS SHOULD BE USED WITH OTHER B.O. INDICATOR. DO NOT USE ALONE.

Similar Indicators / Formulas

Trailing Stoploss Long
Submitted by kaiji over 14 years ago
ATR Trailing Stop Loss II
Submitted by kaiji over 14 years ago
Trailing Stoploss ATR
Submitted by kaiji over 14 years ago
Flat Market Indicator (FMI)
Submitted by chsmcp about 11 years ago
O.B.V. Good example of if() func
Submitted by karim.chakib over 10 years ago
Cycle Indicator by Bill Irwin
Submitted by roszyk about 13 years ago

Indicator / Formula

Copy & Paste Friendly
period:=Input("ATR period :",1,100,3);
atrfact:=Input("ATR multiplication :",1,10,2);
HiLo:=If(H-L<1.5*Mov(H-L,period,S),H-L, 1.5*Mov(H-L,period,S));
Href:=If(L<=Ref(H,-1),H-Ref(C,-1),(H-Ref(C,-1))-(L-Ref(H,-1))/2);
Lref:=If(H>=Ref(L,-1),Ref(C,-1)-L,(Ref(C,-1)-L)-(Ref(L,-1)-H)/2);
diff1:=Max(HiLo,Href);
diff2:=Max(diff1,Lref);
atrmod:=Wilders(diff2,period);
loss:=atrfact*atrmod;

2 comments

1. ole

This is not AFL code.

2. hotaro3

probably for metastock program

Leave Comment

Please login here to leave a comment.

Back