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

[amibroker] Scan automatically add symbols to watchlist if...



PureBytes Links

Trading Reference Links

Hi,

I would like to add symbols automatically to my watchlist if they
havbe a higher volatility.
This is my wrong setup:

Filter=C>0;
Buy=0;
per=20;//Set your time period
Graph0 = StDev(log(C/Ref(C,-1)),per)*sqrt(250)*100;
ret=StDev(log(C/Ref(C,-1)),per)*sqrt(250)*100;//
<=StDev(log(C/Ref(C,-1)),pds)*sqrt(250)*120;

IIf(ret-MA(ret,200)*1.3>0,CategoryAddSymbol("",categoryWatchlist,1),CategoryRemoveSymbol("",categoryWatchlist,1)
);
AddColumn(ret,"STDAbw");
AddColumn(Ref(ret,-200)*1.3, "StdAbw*1,3 -200T");
AddColumn(ret-Ref(raus,-200)*1.3, "diff");

If I use only the add function, all symbols in my database are
entered. If I use this setup the watchlist would be empty.
Can someone help me?

Regards,

supi




------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hphfqpk/M=362343.6886682.7839641.1493532/D=groups/S=1705632198:TM/Y=YAHOO/EXP=1125013152/A=2894350/R=0/SIG=10tj5mr8v/*http://www.globalgiving.com";>Make a difference. Find and fund world-changing projects at GlobalGiving</a>.</font>
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.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/