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

Re: Limiting system to one trade per day



PureBytes Links

Trading Reference Links

iamken had another suggestion for me:

> Try this example for buys.  Do the opposite for sells.
> 
>   {In this example, the open is only
>     considerered a gap down open if open is below
>      the low of yesterday's closing bar.}
> 
> gapDOWNopen:=Hour()<Ref(Hour(),-1) AND
>                             O<Ref(L,-1);
> BuyTrigger:=Cross(Stoch(5,3),20) AND
>                     BarsSince(gapDOWNopen)<
>                     BarsSince(Ref(Cross(Stoch(5,3),20),-1));
> BuyTrigger

For which, many thanks.

(Sorry to eat up bandwidth with these, but these ideas
were much too helpful to go unacknowledged.)

Owen