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 ....
Find Out More Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

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

Customize Market Review for Amibroker (AFL)

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

Customize the default quickly market review function of Amibroker.

Please change the parameters for review periods and the change percent desired.

For feedback or further customize requests, please send me email to manhuynhminh@gmail.com or maneyman1123@gmail.com

Indicator / Formula

Copy & Paste Friendly
//Custom name: CUSTOMIZE MARKET REVIEW
//Modified by: Maney Man
//Update: 2017/07/25
//Version: 1.2
//Comments or Update Request: manhuynhminh@gmail.com or maneyman1123@gmail.com
//==================================================================================

 
/**************************************************
                CUSTOMIZE MARKET REVIEW
***************************************************/

_SECTION_BEGIN( "Review" ); 
SetChartBkColor( colorWhite );

////PARAMETER SETTINGS
//////Time Periods
TP_Review = Param ("TP_Review", 20, 1, 100, 1 );

//////Minimum change percent during a time period unit
MinChangePerTP = Param ("Minimum Change Percent per Time Period", 1, -10000, 10000, 1 );

////CALCULATION
pre_C = Ref( C, -TP_Review );
diff = C / pre_C * 100 - 100 ;

////CONDITIONS
//////Volume
Cv = V > 5000; //liquidity
//////%Change
Condc = diff >= ( MinChangePerTP * TP_Review );

////ACTIONS
Filter = Cv AND Condc ;

AddColumn( pre_C, "Pre. price", 1.2 );
AddColumn( C, "Price", 1.2, textcolor = IIf( diff > 0, colorGreen, colorRed ) );
AddColumn( diff, "%Change", 1.2, textcolor = IIf( diff > 0, colorGreen, colorRed ) );
AddColumn( V, "Volume", 1.2 );

_SECTION_END();

0 comments

Leave Comment

Please login here to leave a comment.

Back