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

TEMA_Regression Crossover for Amibroker (AFL)
almost 8 years ago
Amibroker (AFL)

2 / 5 (Votes 4)
amibroker, exploration

This is a crossover trading system with Buy signals when 50 p TEMA crosses above 100 p Regression and Sell signal when TEMA crosses below Regression. It can be used for exploration and back testing.

Similar Indicators / Formulas

General Market Exploration by XeL
Submitted by xel about 9 years ago
Scanning Gap Up and Gap Down
Submitted by vinodsk almost 8 years ago
Deel - Average Dollar Price Volatility
Submitted by kaiji over 11 years ago
Vol Peak 5 Day [Scan only]
Submitted by lusmomoney almost 8 years ago
%Change Exploration
Submitted by shshingala almost 8 years ago

Indicator / Formula

Copy & Paste Friendly
_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", colorWhite ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() ); 

_SECTION_BEGIN("Linear Regression");
P1 = ParamField("Price field",-1);
Periods1 = Param("Periods", 100, 2, 300, 1, 10 );
Plot( LinearReg( P1, Periods1 ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") ); 

P2 = ParamField("Price field",-1);
Periods2 = Param("Periods", 50, 2, 300, 1, 10 );
Plot( TEMA( P2, Periods2 ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") ); 

Buy= Cross(TEMA( P2, Periods2 ), LinearReg( P1, Periods1 ));
Sell=Cross(LinearReg( P1, Periods1 ), TEMA( P2, Periods2 ) );


Filter=Buy OR Sell; 

AddColumn(IIf(Buy,BuyPrice,Null)," Buy Signal ", 6.2,1.2,colorGreen); 
AddColumn(IIf(Sell,SellPrice,Null)," Sell Signal ",6.2,1.2,colorOrange); 

shape = Buy * shapeUpArrow + Sell * shapeDownArrow;
PlotShapes( shape, IIf( Buy, colorGreen, colorRed ), 0, IIf( Buy, Low, High ) );


Leave Comment

Please login here to leave a comment.