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

NMN Explore Routine for Amibroker (AFL)

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

This is a routine for adding an exploration to your otherwise dull formula. I have programmed this one, so that I can drag and drop my exploration routine whenever I need to check and make sure that some tickers are following my developed Formula. Removing this is also easy:

Right Click -> Delete Indicator -> NMN Explore

There are lot of Formula available online — many of which don’t have any exploration routine built in. This handy routine will add that functionality.

However there are two(2) things required:

  • The formula you want to explore must have the Buy ans Sell signal already set up. [ although it’s easy to build one if you don’t have that available]
  • The formula must also have the ‘Filter’ set up: e.g., Filter = Buy OR Sell

Hope this helps. Well let’s copy this and enjoy!

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN( "NMN Explore" );
AASettings = Status( "action" );
//Filter = ( Buy OR Sell ) ;

if ( AASettings == actionExplore )
{
    // Exploration
	BuySellLetter   = IIf( Buy AND Sell, colorWhite, IIf( Buy, colorDarkGreen, IIf( Sell, colorRed, colorDefault ) ) );
	BuyBG           = IIf( Buy AND Sell, colorViolet, IIf( Buy, colorPaleGreen, colorDefault ) ) ; //IIf( Buy, colorPaleGreen, IIf( Sell, colorDarkRed, colorDefault ) );
	SellBG          = IIf( Buy AND Sell, colorViolet, IIf( Sell, colorDarkRed, colorDefault ) ) ; //IIf( Buy, colorPaleGreen, IIf( Sell, colorDarkRed, colorDefault ) );
    AddColumn( IIf( GroupID( 1 ) == "Z", Ref( C, -10 ), Ref( C, -3 ) ), "Start Price", 3.2, colorBlue, IIf( Sell, colorLavender, colorDefault ), -1 );
    AddColumn( C, "Close", 3.2,
               IIf( Buy AND Sell, colorWhite, IIf( Avg > C, IIf( Buy, colorGreen, colorRed ), IIf( Avg < C, IIf( Sell, colorGreen, colorRed ), colorDefault ) ) ),
               IIf( Buy AND Sell, colorViolet, IIf( Buy, colorPaleGreen, colorDefault ) ),
               -1 );
    AddColumn( Avg, "Avg. Price", 3.2, colorBlue, IIf( Sell, colorLavender, colorDefault ), -1 );
    AddColumn( V, "Total Vol.", 8 ) ;

    AddTextColumn( WriteIf( Buy, "Buy", "" ), "Buy", 1, BuySellLetter,  BuyBG, -1 );
    AddTextColumn( WriteIf( Sell, "Sell", "" ), "Sell", 1,  BuySellLetter, SellBG, -1 );
    AddColumn( round( ROC( Close, 4 )*100 ) / 100, "ROC(4)", 1.2, colorDefault, colorDefault, -1 );
}
_SECTION_END(); // End of "NMN Explore"

2 comments

1. davidalan

thank you

2. WSTBULL

This ‘convert’ system to exploration. So if u have a good trading system but u want to find stock that fit the condition of the system, u can always use this exploration to look for them.

This is Great.
Thanks alot

Leave Comment

Please login here to leave a comment.

Back