• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 3:21pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 3:21pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Merge Sunday Daily bar with Monday in MT4 ? 1 reply

How to Calculate only on new Bar? 3 replies

Sunday gap trading: brokers opening at 5pm EST Sunday? 10 replies

Avoid Sunday bars... 1 reply

2hr Sunday Bar on Daily chart! 5 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
Tags: Calculate own daily bar to avoid Sunday bar
Cancel

Calculate own daily bar to avoid Sunday bar

  • Post #1
  • Quote
  • First Post: Edited 9:04pm Nov 24, 2010 10:20am | Edited 9:04pm
  •  MikeFT
  • | Joined Dec 2009 | Status: Member | 109 Posts
Hello Folks,

I'm trying to achieve something in programming MT4, but don't really know how to approach it yet.

I would like to trade off the daily bars, but don't feel comfortable having a Sunday bar. For me personally the Forex week starts on Monday and ends Friday.

So what I would like to do is to calculate my own open, close, high and low for a daily bar, no matter which time zone a Broker has set.

Example: Broker shows two hours of data on Sunday (2 H1 bars).
I want to take these two hours plus the next day -2 hours (22hours) to calculate my own daily bar.
Same with the rest of the week 2 hours from last day and only 22 from following day

So far I think I have to do something like that.
Get the data off of 1H time frame.
1st candle on Sunday open = day open
last candle (-2) of next day = day close
store all 1H highs/lows of 1st to last bar in variables, calculate the high and low.

Anybody any input? Did somebody already approach something like that.

Thanks.
MikeFT
  • Platform Tech
  • /
  • Calculate own daily bar to avoid Sunday bar
  • Reply to Thread
0 traders viewing now
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023