TA of Stocks & Commodities

Amibroker Code for articles appearing in Techinical Analysis of Stocks and Commodoties has bot been posted since July 2019.
Will this be updated soon?

1 Like

@samsand I had a quick take of the November 2019 issue and below is my interpretation. The article itself was fairly light.

// Technical Analysis of Stocks & Commodities Nov 2019, by Vitale Apirine 
// Attempt at StochasticMACD v1.0 by @portfoliobuidler

HLperiods	= Param( "High & Low periods", 45, 10, 100, 1 );
fPeriods 	= Param( "fEMA Periods", 12, 6, 18, 1 );
sPeriods 	= Param( "sEMA Periods", 26, 19, 36, 1 );

fastEMA = EMA( C, fPeriods );
slowEMA = EMA( C, sPeriods );
 
HP = HHV( H, HLperiods );
LP = LLV( L, HLperiods );

ST12 		= ( fastEMA - LP ) / (HP-LP);
ST26 		= ( slowEMA - LP ) / (HP-LP);
StochMACD 	= ( ST12-ST26 ) * 100;
SignalLine 	= EMA( StochMACD, 9);

// Charting //
Plot(StochMACD, "StochMACD", colorBlue, styleLine);
Plot(SignalLine, "SignalLine", colorRed, styleDashed);

The August, September and now December issues I haven't really looked into coding yet. But take one and give it a try (October's looks pretty straightforward). Post your effort here and others will try to help if you have difficulties.

4 Likes