• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 7:33pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 7:33pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Automatic session boxes indicator 68 replies

Horizontal lines with color change and price boxes 2 replies

Indicator with tick boxes on main chart window 2 replies

Russian Doll - Boxes within boxes price action 6 replies

Anyone have a H/L sessions indi that uses lines instead of boxes? 2 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 213
Attachments: Daily Boxes/Lines indicator
Exit Attachments
Tags: Daily Boxes/Lines indicator
Cancel

Daily Boxes/Lines indicator

  • Last Post
  •  
  • 1 23Page 456 28
  • 1 3Page 45 28
  •  
  • Post #61
  • Quote
  • May 29, 2011 12:56am May 29, 2011 12:56am
  •  brucewhain
  • | Joined Aug 2006 | Status: brucewhain | 242 Posts
Hanover, Am not attempting box breakouts these days but am glad to see there's an indicator that will work right if should decide to try it again. This was always a problem.

Am still using Plot_News, maybe one of your longest steady, uh... customers? ... and if I ever go live on the $150 account (opened 2009) will try and make good on it. (Have been threatening for the past few weeks and ((still)) feel this is inevitable now.)
 
 
  • Post #62
  • Quote
  • May 29, 2011 4:45pm May 29, 2011 4:45pm
  •  alifari
  • Joined Mar 2009 | Status: Member | 1,259 Posts
Quoting hanover
Disliked
Try the attached, starting with the default parameters. This should produce something like the first screenshot.
Ignored
David,

Thanks a lot for your help. really appreciate it.

Alifari
The purpose of knowledge is action, not knowledge
 
 
  • Post #63
  • Quote
  • Jun 1, 2011 9:33am Jun 1, 2011 9:33am
  •  TheSnowman
  • | Commercial Member | Joined Aug 2008 | 410 Posts
Edited post # 1 and formatted as PDF file
Attached File(s)
File Type: pdf Daily Boxes by hanover.pdf   542 KB | 5,624 downloads
Canadian by birth Australian by choice
 
 
  • Post #64
  • Quote
  • Jun 3, 2011 10:44am Jun 3, 2011 10:44am
  •  hanover
  • Joined Sep 2006 | Status: ... | 8,092 Posts
This has become a frequently asked question. Here is the answer:

You need to attach the indicator 3 times (once for each session), with the parameters set something like this:

First instance - Tokyo session
StartHours=0.0
EndHours=7.0
ExtendHours=7.0
UniqueID=1
LineColor=Green
Properties=H
TextProperties=
SymbolProperties=


Second instance - London session
StartHours=7.0
EndHours=15.0
ExtendHours=15.0
UniqueID=2
LineColor=Red
Properties=H
TextProperties=
SymbolProperties=


Third instance - New York session
StartHours=12.0
EndHours=20.0
ExtendHours=20.0
UniqueID=3
LineColor=Blue
Properties=H
TextProperties=
SymbolProperties=



Those are the only parameters that need to be changed. The others can be left at their starting defaults. The above settings generate the screenshot below.

The above settings work for GoMarkets MT4 and assume local times of 9am thru 4pm for each session. You will likely need to shift the StartHours, EndHours and ExtendHours, to align these correctly with your br0ker's MT4 times. Be sure to have the EndHours and ExtendHours set to the same value.

Setting Properties to H plots twin horizontal lines. If you want boxes plotted, set Properties to B (for unfilled boxes) or F (for filled boxes). You can make the BoxColor a different color to the LineColor.

Make sure that each instance of the indicator has a different UniqueID setting, otherwise the object naming will become confused and the results will be unpredictable.

If you want the number of pips (the range for each session) to be displayed above each session high, leave the TextProperties at its default value:

TextProperties=Arial,9,Silver,4,7

See post #1 for more information.

David
Attached Image (click to enlarge)
Click to Enlarge

Name: plotting sessions.jpg
Size: 52 KB
 
1
  • Post #65
  • Quote
  • Jun 3, 2011 10:47am Jun 3, 2011 10:47am
  •  hanover
  • Joined Sep 2006 | Status: ... | 8,092 Posts
Quoting TheSnowman
Disliked
Edited post # 1 and formatted as PDF file
Ignored
Thanks.
 
1
  • Post #66
  • Quote
  • Jun 3, 2011 12:01pm Jun 3, 2011 12:01pm
  •  sami29uk
  • | Joined Jun 2010 | Status: Member | 256 Posts
Hello Hanover, i dont know how to put these in the indicator, sorry im not a programmer.

thank u

sami


Quoting hanover
Disliked
This has become a frequently asked question. Here is the answer:

You need to attach the indicator 3 times (once for each session), with the parameters set something like this:

First instance - Tokyo session
StartHours=0.0
EndHours=7.0
ExtendHours=7.0
UniqueID=1
LineColor=Green
Properties=H
TextProperties=
SymbolProperties=


Second instance - London session
StartHours=7.0
EndHours=15.0
ExtendHours=15.0
UniqueID=2
LineColor=Red
Properties=H
TextProperties=
SymbolProperties=


[b]Third...
Ignored
 
 
  • Post #67
  • Quote
  • Jun 3, 2011 1:35pm Jun 3, 2011 1:35pm
  •  aapkae
  • | Membership Revoked | Joined Jun 2011 | 14 Posts
Is it possible to make the indicator ignore weekly closes?
 
 
  • Post #68
  • Quote
  • Jun 3, 2011 1:42pm Jun 3, 2011 1:42pm
  •  Shabs19
  • Joined Aug 2006 | Status: Member | 3,547 Posts
All I can say is, this is the Best Box/Line Indicator I have seen. Very easy to use, all explained in the first post - if you care to read it.

Thanks Hanover.
Follow the Money
 
 
  • Post #69
  • Quote
  • Jun 3, 2011 6:36pm Jun 3, 2011 6:36pm
  •  hanover
  • Joined Sep 2006 | Status: ... | 8,092 Posts
Quoting sami29uk
Disliked
Hello Hanover, i dont know how to put these in the indicator, sorry im not a programmer.

thank u

sami
Ignored
Sami,

By instances, I mean that you must attach the same indicator 3 times to your chart.

By parameters, I mean the settings on the Input tab, when you attach the indicator.

See the screenshot below.

David
Attached Image (click to enlarge)
Click to Enlarge

Name: sami1.jpg
Size: 135 KB
 
 
  • Post #70
  • Quote
  • Edited 6:50pm Jun 3, 2011 6:40pm | Edited 6:50pm
  •  hanover
  • Joined Sep 2006 | Status: ... | 8,092 Posts
Quoting aapkae
Disliked
Is it possible to make the indicator ignore weekly closes?
Ignored
It depends what you mean exactly by "weekly closes", but I believe the answer is yes. You can use the DaysOfWeek setting to specify on which days of the week you want lines, boxes or symbols plotted, and you can use the StartHours, EndHours and ExtendHours to shift the lines/boxes/symbols to an earlier or later day,
e.g.
StartHours=7.0 means 7am on the current day
StartHours=31.0 means 7am the following day (7+24 hours)
StartHours=–17.0 means 7am the previous day (7–24 = –17)

If you need a different settings for different days, simply attach the same indicator multiple times, with a different UnqiueID for each instance. For example, if you want lines plotted at 7pm on Monday thru Thursday, but at 9pm on Friday:

Instance #1:
StartHours=19.0
DaysOfWeek=Mon,Tue,Wed,Thu
UniqueID=1

Instance #2:
StartHours=21.0
DaysOfWeek=Fri
UniqueID=2

See post #1 for full instructions, and feel welcome to experiment with the settings.
 
 
  • Post #71
  • Quote
  • Jun 3, 2011 6:48pm Jun 3, 2011 6:48pm
  •  hanover
  • Joined Sep 2006 | Status: ... | 8,092 Posts
Quoting Shabs19
Disliked
All I can say is, this is the Best Box/Line Indicator I have seen. Very easy to use, all explained in the first post - if you care to read it.

Thanks Hanover.
Ignored
Shabs,

Thanks.

It started out small and simple, but then people ask for more and more options to be added...... you know the story.

David
 
 
  • Post #72
  • Quote
  • Jun 3, 2011 6:58pm Jun 3, 2011 6:58pm
  •  forexhard
  • | Commercial Member | Joined May 2011 | 1,900 Posts
The options are just right. Great looking indi, Hanover. Very user friendly. Any steps beyond this would be to make it into a full fledged EA. (And I'm not just saying this because I want one! LOL)

Can I marry you?....
To improve is to change. To perfect, is to change often.
 
 
  • Post #73
  • Quote
  • Jun 4, 2011 1:40am Jun 4, 2011 1:40am
  •  hanover
  • Joined Sep 2006 | Status: ... | 8,092 Posts
Quoting forexhard
Disliked
Can I marry you?....
Ignored
Not sure that I'd be willing to take a chance on that.
 
 
  • Post #74
  • Quote
  • Jun 6, 2011 9:17pm Jun 6, 2011 9:17pm
  •  forexhard
  • | Commercial Member | Joined May 2011 | 1,900 Posts
Hanover, thought you might like to see this. I took this just now on IBFX. Your indi isn't keeping up with the current bar in this pic.
Attached Image
To improve is to change. To perfect, is to change often.
 
 
  • Post #75
  • Quote
  • Jun 6, 2011 9:23pm Jun 6, 2011 9:23pm
  •  forexhard
  • | Commercial Member | Joined May 2011 | 1,900 Posts
It finally snapped back into place, but it took 3 or 4 minutes.

Hope this helps in some way. I paid a lot for this code, you know!
Attached Image
To improve is to change. To perfect, is to change often.
 
 
  • Post #76
  • Quote
  • Jun 7, 2011 4:30am Jun 7, 2011 4:30am
  •  hanover
  • Joined Sep 2006 | Status: ... | 8,092 Posts
Quoting forexhard
Disliked
Hanover, thought you might like to see this. I took this just now on IBFX. Your indi isn't keeping up with the current bar in this pic.
Ignored
I think I've fixed this --- thanks for letting me know. I've posted an updated version of the indy in post #1.

You will need to set RefreshEveryXMins to 0, to ensure that (all of) the lines get re-plotted every tick (which may slow computer performance). Or you could set it to 1, which means that the lines will be refreshed and re-plotted only at the first tick of each new minute.

Quoting forexhard
Disliked
It finally snapped back into place, but it took 3 or 4 minutes.

Hope this helps in some way. I paid a lot for this code, you know!
Ignored
You get what you pay for!
 
 
  • Post #77
  • Quote
  • Jun 7, 2011 10:56am Jun 7, 2011 10:56am
  •  forexhard
  • | Commercial Member | Joined May 2011 | 1,900 Posts
Appreciate the quick reply. I'm sure it'll be fine.
To improve is to change. To perfect, is to change often.
 
 
  • Post #78
  • Quote
  • Edited 11:16am Jun 11, 2011 11:00am | Edited 11:16am
  •  fx13
  • | Joined Dec 2009 | Status: Hunting | 394 Posts
Hi,

Great indicators.

Checking again & seem we can't box 22:00-00:00 or box candles from 2 different days. like 22:00-1:00

13
Brokers are angels
 
 
  • Post #79
  • Quote
  • Jun 11, 2011 1:41pm Jun 11, 2011 1:41pm
  •  hanover
  • Joined Sep 2006 | Status: ... | 8,092 Posts
Quoting fx13
Disliked
Hi,

Great indicators.

Checking again & seem we can't box 22:00-00:00 or box candles from 2 different days. like 22:00-1:00

13
Ignored
22:00-0:00
StartHours = 22
EndHours/ExtendHours = 24

22:00-1:00
StartHours = 22
EndHours/ExtendHours = 25

Works fine for me, what version of MT4 / br0ker / Windows are you running? Mine is GoMarkets MT4 build 402; Win XP Home SP2.
 
 
  • Post #80
  • Quote
  • Jun 12, 2011 4:06am Jun 12, 2011 4:06am
  •  fx13
  • | Joined Dec 2009 | Status: Hunting | 394 Posts
Quoting hanover
Disliked
22:00-0:00
StartHours = 22
EndHours/ExtendHours = 24

22:00-1:00
StartHours = 22
EndHours/ExtendHours = 25

Works fine for me, what version of MT4 / br0ker / Windows are you running? Mine is GoMarkets MT4 build 402; Win XP Home SP2.
Ignored
Thanks I was not aware of 24 -25 tip. I used instead 00 & 01 in hours. Nice.

Great job
13
Brokers are angels
 
 
  • Platform Tech
  • /
  • Daily Boxes/Lines indicator
  • Reply to Thread
    • 1 23Page 456 28
    • 1 3Page 45 28
0 traders viewing now
  • More
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