MQL4 - automated forex trading   /  

Forum

How to find the OHLC of a specific trading time range?

Back to topics list To post a new topic, please log in or register

avatar
1
ELLIPTIC 2006.07.13 22:56 
Is it possible for me to get the open, high, low, and close, for a specific trading timeframe of my choosing?

For instance, if I want to know what the OHLC is, for the 6 trading hours between 4am and 9am, is there a code that can do this?

I was thinking that I could load up the last day of 1hour bars, and from there, specify which bars I wanted to use as my trading range for my OHLC calculation.

Although I wasn't sure if I'd have to specify within the code to use only the current day's 1hr bars, and some of the previous day's 1hr bars.

Any suggestions?

Trading Tactics on Forex

Trading Tactics on Forex

The article will help a beginning trader to develop trading tactics on FOREX.


avatar
Moderator
5198
stringo 2006.07.14 11:29 
Back to topics list  

To add comments, please log in or register