Daily open line incorporating weekly open line

Post Reply
GT3RS
Trader
Posts: 198
Joined: Fri Dec 23, 2011 1:58 pm

Daily open line incorporating weekly open line

Post by GT3RS »

Hi,

I'd really appreciate it if someone could mod this indi so that it extends Monday's open line through to the Friday close.

Would also be great if Monday's open line could be changed to different colour/type/thickness.

Many thanks in advance if someone is able to help!

Rob
You do not have the required permissions to view the files attached to this post.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Daily open line incorporating weekly open line

Post by SteveHopwood »

GT3RS » Sun Dec 17, 2017 9:32 am wrote:Hi,

I'd really appreciate it if someone could mod this indi so that it extends Monday's open line through to the Friday close.

Would also be great if Monday's open line could be changed to different colour/type/thickness.

Many thanks in advance if someone is able to help!

Rob
Anybody prepared to make the mod needs the .mq4 source code; they can do nothing with the .ex4 file.

:xm:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
GT3RS
Trader
Posts: 198
Joined: Fri Dec 23, 2011 1:58 pm

Daily open line incorporating weekly open line

Post by GT3RS »

Damn!! I knew I'd got them mixed up!!

Here it is!!
You do not have the required permissions to view the files attached to this post.
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

Daily open line incorporating weekly open line

Post by renexxxx »

Have a look at the attached code and see if this works for you. I haven't tested this on a br0ker that has Sunday candles, so not sure if this would work there (in fact it probably won't). I rewrote the indi from scratch, so didn't need your mq4 file.

Cheers... R.

Edit: I made a tiny alteration to the code ... and now it will probably work on br0kers with Sunday candles. However, I don't care, as my broker (Global Prime) does not have Sunday candles.

Edit: Changed the code to use the Weekly Open for the Monday Open ... This hopefully addresses Snowman's concern. However ... the weekly open is not always the same as the daily open at the beginning of the week. It should be, but it isn't. Therefore, sometimes the yellow weekly open line is slightly higher or lower than the daily open line of the first day of the week.
You do not have the required permissions to view the files attached to this post.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Daily open line incorporating weekly open line

Post by SteveHopwood »

renexxxx » Sun Dec 17, 2017 9:25 pm wrote:I rewrote the indi from scratch, so didn't need your mq4 file.
It is usually quicker and easier to do that. :lol: :lol: :lol: I do not call your average indi a Crap Custom Abortion because they are beautifully crafted. :lol:

:xm:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
User avatar
dydynamic
Trader
Posts: 293
Joined: Fri Feb 28, 2014 4:19 pm

Daily open line incorporating weekly open line

Post by dydynamic »

renexxxx » Sun Dec 17, 2017 9:25 pm wrote:Have a look at the attached code and see if this works for you. I haven't tested this on a br0ker that has Sunday candles, so not sure if this would work there (in fact it probably won't). I rewrote the indi from scratch, so didn't need your mq4 file.

Cheers... R.
Hi,
I checked out your code, it was masterfully done...
Excellent piece of code....
Thank you for your work here and this extends to all the other wonderful and excellent coders in this forum that is my forex haven...... :hi:
GT3RS
Trader
Posts: 198
Joined: Fri Dec 23, 2011 1:58 pm

Daily open line incorporating weekly open line

Post by GT3RS »

This is absolutely perfect Rene.

Many thanks.

EXACTLY what I wanted!!! :yahoo: :yahoo: :yahoo:
The_Snowman
Trader
Posts: 395
Joined: Sun Nov 27, 2011 8:24 am
Location: Australia

Daily open line incorporating weekly open line

Post by The_Snowman »

Not quite perfect, struggled the last 2 weeks when there was no Monday trading; not sure if that is something of a concern or worth fixing. Other than that, works great, very useful, thanks.
2018-01-03_5-11-45.png
You do not have the required permissions to view the files attached to this post.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Daily open line incorporating weekly open line

Post by SteveHopwood »

The_Snowman » Tue Jan 02, 2018 7:17 pm wrote:Not quite perfect, struggled the last 2 weeks when there was no Monday trading; not sure if that is something of a concern or worth fixing. Other than that, works great, very useful, thanks.
You can always try drawing the lines yourself - it is not rocket science.

Your post marks you down as an idiot. Your best interests here are served by staying quiet for a while.

:xm:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

Daily open line incorporating weekly open line

Post by renexxxx »

I have tried to address Snowmans's concern -- see this post for the updated code.
Post Reply

Return to “Indicators”