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

[amibroker] Question about stop triggering during ETH whilst maintaining RTH indicators



PureBytes Links

Trading Reference Links

Hi all,

I'm testing a system for futures which uses a 30 minute timeframe to 
identify setups and enter trades during normal trading hours (RTH) 
and then hold the trades for multiple days if not stopped out. I 
would like the system to allow stop triggering during the Night 
session (ETH) based on the calculated stop price at the closing bar 
of the day session (i.e. the stop price is not updated during the ETH 
session). The stops have been implemented manually with looping code 
to initiate the sell commands.

To simulate this, if I run a backtest in 24 hour mode with all data 
shown, then all the system indicators and entry setups are calculated 
over the full 24 hours which is not the intention of the system (they 
should only be calculated over the RTH data).

Does anyone have any suggestions on how to get around this?

Many thanks, any help is very much appreciated.

Angus




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