PureBytes Links
Trading Reference Links
|
> The question is what time is 0370??
Obviously that's an invalid time. That's why you should never optimize
directly for time. Try this, or something like it, instead, using the
CalcTime function.
Input: MinAfter(0);
Var: MyTime(Calctime(Sess1StartTime,MinAfter));
If Time = MyTime then begin.....
The MyTime variable is the RTH open plus the number of minutes specified
in the MinAfter input. Use MyTime, or whatever name you want, instead of
whatever input you were using for your start time. The MinAfter input
can be optimized. MinAfter(-30) would be a half hour before the RTH
open. MinAfter(60) would be an hour after the RTH open. You can read
more about the CalcTime function in the help.
--
Dennis
To unsubscribe from this group, send an email to:
realtraders-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|