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

Re: HOUR/MINUTE?



PureBytes Links

Trading Reference Links

hour()>8 and minute()>30 will plot true only in 30 minutes segments, i.e., on
1min data it will only plot true at 8:31-8:59, again at  9:31-9:59, etc.  The
following should plot true beginning at 8:31 and hold true till market close:
x:=Hour()>=8 AND Minute()>30;
y:=Hour()>=9;
x OR y>0
------------

POMPATIS@xxxxxxx wrote:

> Greetings:
>
> Anyone know the answer to the following:
>
> hour()>8 and minute>30
>
> If the above parameter is written as a trade entry requirement, does MsPro
> 6.52
> read this as
>
> 1) ok to enter after 8:30?
>
> or
>
> 2) ok to enter after 8:30 and only after each subsequent half hour mark?
>
> If 2) is true, how do I program Metastock to read "ok to enter after 8:30",
> without further restrictions?
>
> Any assistance is highly appreciated.
>
> Sincerely,
>
> KM