Next Lesson is how to setup filter.
I got only one way;
**Create a new formula file. Put these in amibroker include folder renamed it as filter.afl
See image
** edit filter.afl
procedure StdDisplay()
{
SetOption("NoDefaultColumns", True );
AddTextColumn( Name(), "Ticker",1, colorDefault,colorDefault, 50);
AddTextColumn( FullName(), "Fullname",1, colorDefault,colorDefault,250);
AddColumn( DateTime(), "Date", formatDateTime, colorDefault,colorDefault, 80 );
SetSortColumns( 4, -5) ;
}
// 2nd function
procedure Exec_Filter()
{
global Buy;
StdDisplay();
AddTextColumn( writeIf( Buy, "Buy", "Sell" ), "Signal", 1.0, colorDefault,colorDefault,50 );
AddColumn(V/1000000, "Vol(M)", 1.3, colorDefault,colorDefault, 70);
AddColumn(C, "Close", 1.3, colorDefault, colorDefault, 60);
}