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

[amibroker] Basic exploration help



PureBytes Links

Trading Reference Links

Ok, I am running a realtime 3 min chart for a particular indicator 
called CCI(14) and i want alerts that will alert me when a 
particular value is reached. For example:

Buy = CCI(14) <  -200; 
Sell = CCI(14) > 200;

AlertIf( Buy, "SOUND C:\\Windows\\Media\\Ding.wav", "Audio alert", 
1 );
AlertIf( Sell, "SOUND C:\\Windows\\Media\\Ding.wav", "Audio alert", 
2 );
Filter=Buy OR Sell;

Now, according to instructions the Automatick Analysis "Settings" 
should be set to "Periodicity" = 3 min. When I do this the indicator 
works well and I see that the values alerted to match the alert 
signal, however I would like to modify the Automatic Analysis 
formula to include a scan and alert for values which are in a 
different timeframe, while the 3 minute chart I am looking at is 
running.  For example, to determine ROC, MA, or Volume alerts that 
are needed by compiling daily data.  For example;

Buy = V/MA(V,30)*100 > 100; 

I have tried to use TimeframeSet functions in the formula thinking 
that AB would beable to take separate timeframe values and combine 
them into one Buy statment, but nothing seems to appear to work.

Has anyone tried this and had any luck. If so, could you please give 
me an example that would help.

Thank You
MR



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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/