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

Jeff Cooper TSX Sell for Amibroker (AFL)
mozillan
about 11 years ago
Amibroker (AFL)

Rating:
3 / 5 (Votes 3)
Tags:
trading system, amibroker

My implementation of Jeff Cooper’s TSX Sell strategy. Best used on intraday and positional Hourly charts. Enter & exit as per arrows or as per trailing Sl

Similar Indicators / Formulas

EMA crossover
Submitted by Ketan-0 almost 14 years ago
Kase Peak Osc. V2 batu
Submitted by batu1453 over 10 years ago
Kase CD V2batu
Submitted by batu1453 over 10 years ago
Ichimoku
Submitted by prashantrdx over 10 years ago
buy and sell two EMAS
Submitted by mundo0007 over 12 years ago
Adaptive Price Zone (APZ)
Submitted by AndrewThomas almost 14 years ago

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() ); 
_SECTION_END();


a1=L>Ref(L,-1) AND H<Ref(H,-1);
a2=H-L;
a3=Ref(HHV(H,20),-1)>Ref(HHV(H,20),-2);
a4=Ref(HHV(H,20),-5)<Ref(HHV(H,20),-4) AND Ref(HHV(H,20),-5)<Ref(HHV(H,20),-3) AND Ref(HHV(H,20),-5)<Ref(HHV(H,20),-2);
a5=a2>Ref(a2,-1) AND a2>Ref(a2,-2) AND a2>Ref(a2,-1) AND Open<Ref(HHV(H,20),-1);

Buy = C< Ref(LLV(C,500),-1);
 
//Condition for sell : Exit when LLV500 IS EXCEEDED.
Sell = a5 AND a3 AND a4;;
 
Buy = ExRem(Buy,Sell);
Sell= ExRem(Sell,Buy);
 
Short = Sell;
Cover = Buy;
 
Short=ExRem(Short,Cover);
Cover=ExRem(Cover,Short);

shape = Buy * shapeUpTriangle + Sell * shapeDownTriangle;
PlotShapes( shape, IIf( Buy, colorGreen, colorBrown ),0, IIf( Buy, Low, High ) );

_SECTION_BEGIN("DispWMA");
P = ParamField("Field");
Type = ParamList("Type", "Weighted,Simple,Exponential,Double Exponential,Tripple Exponential,Wilders");

Periods16 = Param("Periods16", 100, 2, 300 );
Periods32 = Param("Periods16", 200, 2, 300 ); 
Displacement3 = Param("Displacement3", 6, -50, 50 );
Plot( WMA( P, Periods16 ), _DEFAULT_NAME(), colorBlue, styleStaircase, 0, 0, Displacement3  );
Plot( WMA( P, Periods32 ), _DEFAULT_NAME(), colorRed, styleStaircase, 0, 0, Displacement3  );

1 comments

1. manh3v

The arrow is very poorly functioning

Leave Comment

Please login here to leave a comment.

Back