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

[amibroker] Re: Trading during 10 and 3



PureBytes Links

Trading Reference Links

Thank you for the reply. 

What if I am already short? I will need to Cover(purchase).



--- In amibroker@xxxxxxxxxxxxxxx, "Steve Dugas" <sjdugas@xxx> wrote:
>
> Hi - Sounds like the TimeNum() function is what you want, you could 
add it 
> as a trade condition, something like...
> 
> MyTime = TimeNum();
> Buy = Cross( RSI( 14 ), 30 ) AND MyTime >= 100000 AND MyTime <= 
143000;
> Sell = Cross( 70, RSI( 14 ) ) OR MyTime == 144500;
> 
> Steve
> 
> ----- Original Message ----- 
> From: "McGuyVr70" <driek@xxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Wednesday, January 14, 2009 11:17 PM
> Subject: [amibroker] Trading during 10 and 3
> 
> 
> >I want to backtest a system, lets say it'a MA system. When 
backtesting
> > it I want to wait until 10am before entering into a position and 
only
> > enter a position if it is signaled after 10. I also want to close 
all
> > open positions at 2:45.
> >
> > Could someone please direct me to where I could find more 
information
> > on coding these time restrictions? I am not sure what to search 
for.
> >
> > Thanks for any help.
> > Dan
> >
> >
> > ------------------------------------
> >
> > **** IMPORTANT ****
> > This group is for the discussion between users only.
> > This is *NOT* technical support channel.
> >
> > *********************
> > TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail 
directly to
> > SUPPORT {at} amibroker.com
> > *********************
> >
> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > http://www.amibroker.com/devlog/
> >
> > For other support material please check also:
> > http://www.amibroker.com/support.html
> >
> > *********************************
> > Yahoo! Groups Links
> >
> >
> >
> >
>



------------------------------------

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com
*********************

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

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