[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: New highs/lows indicator?



PureBytes Links

Trading Reference Links


Jens,
Try this it is an exploration that will sort by lows and high etc.
Paste in AA window and run as explortion
Dick H.

basis = C; // ema(C, 9);

perf1 = basis / Ref(basis, -1) * 100 - 100;
perf5 = basis / Ref(basis, -5) * 100 - 100;
perf30 = basis / Ref(basis, -30) * 100 - 100;

AddColumn (Close, "Close",1.2);
AddColumn (Ref(Close,-1), "Close-1",1.2);
AddColumn(perf1, "perf1%", 1.2);
AddColumn(perf5, "perf5%", 1.2);
AddColumn(perf30, "perf30%", 1.2);
AddColumn(Volume, "Volume", 1.0);

Filter = 1; // dummy


--- In amibroker@xxxxxxxxxxxxxxx, "meningsloes3003" <hildestal@xxxx> 
wrote:
> 
> 
> I would like to have a simple "new highs/lows indicator".
> But I dont know how to program it.
> Just plotting two lines, one for new lows, and one
> for new highs, as an indicator.
> 
> I suspect this must be done through a scan, in some way,
> I have no idea how to do it.
> Does anyone use this, and have a suggestion?
> 
> Have searched the forum, it seems this subject hasnt been up before.
> I couldnt find it, surprisingly.
> 
> Regards,
> /Jens.





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/