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

Re: So this, too, is impossible?



PureBytes Links

Trading Reference Links

Yarroll

The Metastock EOD System Tester can't handle an entry and exit on the same bar. However it IS
possible to achieve this with Metastock. The multi-stock system tester I use can accommodate a same
day entry and exit, and at prices other than O,H,L,C if required.

To display the equity curve for an intra-bar entry and exit it is necessary to hold over the new
equity value until the following bar. Think about it. The reason for this is that it is impossible
to display both the trade entry equity and the trade exit equity on the same bar with just one
equity line.

A starting point for achieving what you want may be found in previously posted "Trade Binary" and
"Trade Equity" indicators.

Roy

> I've been trying to write a simple daytrading system using daily bars.
> The system goes long at the open when the open crosses above Mov(O,5,S), - I
> checked "enter at the open" in Tester's options. So far, so good. But next,
> I wanted to exit long positions at this very day's close (so "Exit at the
> close" and "0 delay" in Tester's options, and I just copied
> cross(O,Mov(O,5,S)) as an Exit Long rule).
>
> Looks like it's impossible to do? No matter what I try, the system always
> exits this position at NEXT day's close (Entry+1)... Hell, it's not even
> correct, the next day's open doesn't cross above Mov again 2nd day in row,
> it either stays above or crosses back below!   I also tried setting
> Inactivity stop with periods set to 0. No way. Or am I missing something? Is
> there really no way to get in and out on the same bar?
>
> All the best,
> Yarroll
>
>
>