PureBytes Links
Trading Reference Links
|
Hi.
The ES futures opens for the new trading day at 4:30 and closes at
4:15 on the next day.
How can I translate this in MSFL?
enhour:=21;
enmin:=15;
start:=hour()>sthour or hour()=sthour and minute()>=stmin;
end:=hour()<enhour or hour()=enhour and minute()<=enmin;
start:=start and alert(start=0,2);
end:=end=0 and alert(end,2);
start-end
The above formula give the signals for the start and end although
something must be wrong with it since if I change the enmin to 20 he
stops plotting the end signal.
Also, I cannot make a "flag" using that formula. I'm certain that the
problem is with the time variables since we have the end hour lower
than the start hour but I can't see how to resolve it.
Regards,
Fernando
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/equismetastock/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:equismetastock-digest@xxxxxxxxxxxxxxx
mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|