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

Re: [amibroker] Re: SetTradeDelays( 1, 1, 1, 1) Setting



PureBytes Links

Trading Reference Links



Mike has given a good example when you can use SetTradeDelays(0, 0, 0, 0). I just want to add that you can also to that if you only today's open price in your formula.

On Thu, Nov 12, 2009 at 8:30 AM, de_techneut <twistedcharts@xxxxxxxxx> wrote:
 



Hi An0n73,

i would disagree when you state it is not possible to trade a EOD strategy with SetTradeDelays(0, 0, 0, 0).

A way of doing so is closing your trade session 15 minutes early.
This gives you the opportunity to act upon the signal in the last 15 minutes of the trading day.

It would require you to check your signals each day at the same time ( if you do not fully automate the system ) and acting before the actual close of the market.

You might publish your signals to a personal website ( with private login ) enabling you to check the signals on the go and lay in orders with your mobile phone or internet connection at hand.

Doing so implies that one agrees that the market isn't going to do much that last 15 minutes...

However you would be surprised on how much benefit there is in acting this way as markets often "gap" after obvious signals.

Try if this is the case with your system by running it 1,1,1,1 and 0,0,0,0.

Marc


--- In amibroker@xxxxxxxxxxxxxxx, "Mike" <sfclimbers@xxx> wrote:
>
> Hi,
>
> It is probably true that generally EOD systems use trade delays. But, it really depends on how you write your logic, and the type of orders used.
>
> For example; Consider an EOD strategy which enters using limit orders and exits after a fixed holding period. We would not need to use trade delays for such a strategy.
>
> e.g
>
> SetTradeDelays(0, 0, 0, 0);
>
> TargetEntry = 0.95 * Ref(Close, -1);
> Buy = Low <= TargetEntry; // Limit order buy at 5% below previous bar
> BuyPrice = min(Open, TargetEntry);
>
> Bought = ExRemSpan(Buy, 5);
> Sell = Ref(Bought, 5); // N-bar market on close (MOC) exit
> SellPrice = Close;
>
> http://www.interactivebrokers.com/en/trading/orders/limit.php?ib_entity=llc
> http://www.interactivebrokers.com/en/trading/orders/moc.php
>
> Mike
>
> --- In amibroker@xxxxxxxxxxxxxxx, "an0n73" <an0n73@> wrote:
> >
> > Hi all,
> >
> > If you are testing a system and it's using EOD data, the way I see it is that in reality, you would check your system each evening after the close, see if you have a buy signal and then buy on open next morning.
> > Therefore, does this mean that for every system I look at developing, I would need to set SetTradeDelays( 1, 1, 1, 1); ??
> > I can't see how when you are using EOD data, the setting of SetTradeDelays( 0, 0, 0, 0); actually makes any sense in the real world as this is saying that you are buying on the same day you get your buy signal which I'd have thought wouldn't be possible because you wouldn't get your buy signal on the day until the market has closed because you're using EOD data.
> > Is my understanding correct as I'm a little unsure and I've noticed that when I don't have the 1 day delay, my results are a lot better but I'm thinking this is unrealistic?
> >
> > Thanks
> >
>




__._,_.___


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

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

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

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





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___