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

Re: [amibroker] Code Help



PureBytes Links

Trading Reference Links

try this
Buy= cross(TimeFrameGetPrice( "L", inDaily, -1 ),O);
sell=cross(O, TimeFrameGetPrice( "H", inDaily, -1 ));


On Mon, 01 Nov 2004 09:24:06 -0000, iascool <sai20_2000@xxxxxxxxx> wrote:
> 
> 
> hi
> I update AB intraday manually thru excel.
> I intend to find the stocks at the opening bell ,which
> 1)Open above previos days high and ( Action-Short)
> 2)Open below previos days low      (Action-Long)
> Following is the code i have tried to write but unaware how to write
> it in intraday format
> 
> TimeFrameSet(in5Minute);
> Buy= Open<LLV(L,-1);
> Sell=Open>HHV(H,-1);
> TimeFrameRestore();
> AlertIf(Buy,"sound c:\Media\Notify.WAV","Audio alert",1);
> AlertIf(Sell,"sound C:\Media Notify.WAV","Audio alert",2);
> 
> At present  iam not getting any signals , can any one correct and
> advise me pls.
> 
> Regards
> 
> 
> 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
> 
> 
> 
> 
> 


-- 
Cheers
Graham
http://e-wire.net.au/~eb_kavan/


------------------------ 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/