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

SAR - Auto Trading System for Amibroker (AFL)
Nman
over 13 years ago
Amibroker (AFL)

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

The automatic system of trade with use SAR.
Works on any intervals. Shows signals on purchase and on sale.

Similar Indicators / Formulas

weighted moving average scan
Submitted by naninn about 13 years ago
Kase Peak Osc. V2 batu
Submitted by batu1453 over 9 years ago
Kase CD V2batu
Submitted by batu1453 over 9 years ago
Ichimoku
Submitted by prashantrdx over 9 years ago
EMA System Ribbon
Submitted by yo123 about 13 years ago
Three-Bar Inside Bar Pattern
Submitted by EliStern about 13 years ago

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Sar - Auto Trading System"); 
SetPositionSize(1, spsShares);
x = Close>SAR() AND Ref(Close,-1)<Ref(SAR(),-1)  ; 
y = Close<SAR() AND Ref(Close,-1)>Ref(SAR(),-1) ; 
xScale = SAR()>Ref(SAR(),-1) AND Close>SAR(); 
yScale = SAR()<Ref(SAR(),-1) AND Close<SAR(); 
Buy = IIf(x!=0, 1, IIf(xScale!=0,sigScaleIn,0)) ; 
Sell = IIf(y!=0, 1, IIf(yScale!=0,sigScaleIn,0)) ; 

PlotOHLC(O,H,L,C,"Price", colorBlack) ; 
Plot(SAR(), "SAR", colorRed, styleDots | styleNoLine) ; 
shape = x * shapeUpArrow + y * shapeDownArrow; 
PlotShapes( shape, IIf( x, colorGreen, colorRed ), 0, IIf( x, Low, High ) ); 
shape = IIf( xScale, shapeHollowUpArrow, IIf (yScale,shapeHollowDownArrow,0)); 
PlotShapes( shape, IIf( xScale, colorGreen, colorRed ), 0, IIf( xScale, Low, High ) );
_SECTION_END();

0 comments

Leave Comment

Please login here to leave a comment.

Back