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

[EquisMetaStock Group] Re: Highlight Specific Time Periods?



PureBytes Links

Trading Reference Links

Harold, for your Expert ribbon/highlight, try referencing the time-
frame filter formula found at
http://www.metastocktools.com/#metastock :


===========
Time filter
===========
---8<----------------------------------

{Intraday time filter
Plots +1 signal within user-input time period
http://www.metastocktools.com }

StHour:=Input("start Hour",0,23,8);
StMin:=Input("start Minute",0,59,0);
EnHour:=Input("end Hour",0,23,17);
EnMin:=Input("end Minute",0,59,0);

start:=Hour()>StHour
OR Hour()=StHour AND Minute()>=StMin;
end:=Hour()<EnHour
OR Hour()=EnHour AND Minute()<=EnMin;

start AND (end OR (start AND Alert(start=0,2)))

---8<----------------------------------


jose '-)

http://www.metastocktools.com





--- In equismetastock@xxxxxxxxxxxxxxx, "hcour" <hcour@xxx> wrote:
>
> Can I do this in MS: On an hourly FX chart I'd like to have a
> highlight for different time periods, for example everyday 8am-5pm
> in green, and so on. Could this be done w/an Expert?
> 
> Thanks,
> Harold







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> 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/