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

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Programmers - I need your help 7 replies

Lawgirl H1 daily lineboxes OC alert indicator 1 reply

Calling all Programmers - I need your help 2 replies

Programmers: Simple SendMail Line. Please Help 15 replies

Programmers I'm stumped Help Me Please !! 5 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 7
Attachments: Attention Programmers please - need your help- DAILY Lineboxes
Exit Attachments

Attention Programmers please - need your help- DAILY Lineboxes

  • Post #1
  • Quote
  • First Post: Jun 3, 2011 5:47am Jun 3, 2011 5:47am
  •  sami29uk
  • | Joined Jun 2010 | Status: Member | 256 Posts
Hi, can u help please i have a indicator called daily lineboxes, it draws the daily line from 2300 to 600 hrs of broker, and calulcates the range the price has moved.

i want someone to prorgam this to actually give me new daily linebox readings for the different sessions (tokyo, london, New york).

i'll post an example, what i want so u know what i am requesting, it will help me and others.

please program this for me, i know some good programmer can do this. sorry i'm not a prgrammer.

thank u in advance

sam
Attached Image (click to enlarge)
Click to Enlarge

Name: NEW DAILY LINEBOXES - how it shud be.jpg
Size: 104 KB
Attached File
File Type: mq4 Daily LinesBoxes.mq4   66 KB | 245 downloads
  • Post #2
  • Quote
  • Jun 3, 2011 10:51am Jun 3, 2011 10:51am
  •  hanover
  • Joined Sep 2006 | Status: ... | 8,090 Posts
Sami,

Answer can be found here. No programming is required.

David
 
 
  • Post #3
  • Quote
  • Jun 3, 2011 11:38am Jun 3, 2011 11:38am
  •  sami29uk
  • | Joined Jun 2010 | Status: Member | 256 Posts
Quoting hanover
Disliked
Sami,

Answer can be found here. No programming is required.

David
Ignored
Hanover u r brilliant, thank u, thank u, thank u....
 
 
  • Post #4
  • Quote
  • Jun 3, 2011 11:53am Jun 3, 2011 11:53am
  •  sami29uk
  • | Joined Jun 2010 | Status: Member | 256 Posts
Sorry Hanover, but i dont know how to put the parameter into the indicator, im not a programmer.

thank u

sami

Quoting hanover
Disliked
Sami,

Answer can be found here. No programming is required.

David
Ignored
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.
 
 
  • Post #5
  • Quote
  • Jun 3, 2011 1:54pm Jun 3, 2011 1:54pm
  •  Shabs19
  • Joined Aug 2006 | Status: Member | 2,971 Posts | Invisible
You give up too easily Sami,
open the inputs tab of the indicator and put in your settings you require.
You must put this indicator on your chart 3 times, each indicator must have a different Unique ID number - that will then allow it work.
You can change colours of lines, thickness, start & end of lines to be calculated and the how far the lines extend into the future.
You can shade the boxes etc. etc. Options are endless.

I think you are after 3 separate indicators, one for each session. You can easily do that if you know how to use the built in metaeditor in MT4, from the original indicator that Hanover has kindly programmed.
Follow the Money
 
 
  • Post #6
  • Quote
  • Jun 3, 2011 6:29pm Jun 3, 2011 6:29pm
  •  sami29uk
  • | Joined Jun 2010 | Status: Member | 256 Posts
thanks shabs, i'll play with settings,

sami
 
 
  • Post #7
  • Quote
  • Jun 3, 2011 6:59pm Jun 3, 2011 6:59pm
  •  sami29uk
  • | Joined Jun 2010 | Status: Member | 256 Posts
please check these, if they are ok

thank you

sami
Attached Image (click to enlarge)
Click to Enlarge

Name: dailyboxes.jpg
Size: 105 KB
Attached Files
File Type: mq4 Daily LinesBoxes TOKYO.mq4   93 KB | 219 downloads
File Type: mq4 Daily LinesBoxes NEW YORK.mq4   93 KB | 228 downloads
File Type: mq4 Daily LinesBoxes LONDON.mq4   93 KB | 212 downloads
 
 
  • Post #8
  • Quote
  • Jun 4, 2011 1:02pm Jun 4, 2011 1:02pm
  •  sami29uk
  • | Joined Jun 2010 | Status: Member | 256 Posts
hello, ok, first hurdle out of the way i.e. we got the sessions identified (yesss!!, excellent dude), next thing is this if refer to the picture i posted originally, if u note the price in each session tends to go away from the daily lines, but the dailylines remain where they are, how can we adjust or program this so if price tend to leave the daily box line but the daily line box does not adjust with price, it remains where it is...if you see the illustration that explains it all.

please comment, how we can make this happen.

thank u

sami
 
 
  • Post #9
  • Quote
  • Jun 4, 2011 1:03pm Jun 4, 2011 1:03pm
  •  sami29uk
  • | Joined Jun 2010 | Status: Member | 256 Posts
see below illustration
Attached Image (click to enlarge)
Click to Enlarge

Name: NEW DAILY LINEBOXES - how it shud be.jpg
Size: 104 KB
 
 
  • Post #10
  • Quote
  • Jun 4, 2011 5:48pm Jun 4, 2011 5:48pm
  •  hanover
  • Joined Sep 2006 | Status: ... | 8,090 Posts
Quoting sami29uk
Disliked
please check these, if they are ok

thank you

sami
Ignored
You don't need three different versions of the indicator. Just attach the same indicator three times with different settings, like I illustrated in post #69 here.


Quoting sami29uk
Disliked
hello, ok, first hurdle out of the way i.e. we got the sessions identified (yesss!!, excellent dude), next thing is this if refer to the picture i posted originally, if u note the price in each session tends to go away from the daily lines, but the dailylines remain where they are, how can we adjust or program this so if price tend to leave the daily box line but the daily line box does not adjust with price, it remains where it is...if you see the illustration that explains it all.

please comment, how we can make this happen.

thank u

sami...
Ignored
Sami,

It seems that I misunderstood your request, and I think that you should try to find another indicator. The 'Daily Lines Boxes' indicator is designed to box the high and low reached during a given prior time interval. Apparently it is not suitable for what you need.

As stated near the end of post #1 of the other thread, the indicator is available for FREE and is posted on a 'take it or leave it' basis.

David
 
 
  • Post #11
  • Quote
  • Last Post: Jun 7, 2011 4:44am Jun 7, 2011 4:44am
  •  hanover
  • Joined Sep 2006 | Status: ... | 8,090 Posts
Quoting sami29uk
Disliked
hello, ok, first hurdle out of the way i.e. we got the sessions identified (yesss!!, excellent dude), next thing is this if refer to the picture i posted originally, if u note the price in each session tends to go away from the daily lines, but the dailylines remain where they are, how can we adjust or program this so if price tend to leave the daily box line but the daily line box does not adjust with price, it remains where it is...if you see the illustration that explains it all.

please comment, how we can make this happen.

thank u

sami...
Ignored
Sami,

Sorry to brush aside your request, but I think I finally understand what you mean now. Your screenshot with all of the lines painted everywhere confused me.

I've attempted fixed the indy so that the horizontal lines in the current session keep pace with the price movement --- more information here. I assume that is what you were asking for.

David
 
 
  • Platform Tech
  • /
  • Attention Programmers please - need your help- DAILY Lineboxes
  • 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 / ©2022