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

Scan New High and New Low for Amibroker (AFL)

Copy & Paste Friendly
// Scan New High and New Low
YMWD   = ParamList("Choose scan by", "Day|Week|Month", 1);
Wk   = Param("Week High", 52, 1, 52);
Mth  = Param("Month High", 12, 1, 12);
Days = Param("Day High", 260, 1, 260);

if (YMWD == "Week")
{
  x = Wk;
  Days = 5*wk;
} 
else
if (YMWD == "Month")
{
  x = Mth;
  Days = 20*Mth;
}
else
{
  x = Days;
}


Buy = High > Ref(HHV(High,Days),-1);
Sell = Low  < Ref(LLV(Low,Days),-1);

Filter  = (Buy OR Sell);

AddTextColumn(FullName(), "Security", 1.0, colorDefault, colorDefault,200);
AddTextColumn( WriteIf(Buy, "HIGH", WriteIf(Sell, "LOW", "")), 
                "Break "+x+" "+YMWD+" ", 

              1.0, colorDefault, colorDefault,100);

Back