| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Daily open line incorporating weekly open line https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5345 |
Page 1 of 1 |
| Author: | GT3RS [ Sun Dec 17, 2017 9:32 am ] |
| Post subject: | Daily open line incorporating weekly open line |
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 |
|
| Author: | SteveHopwood [ Sun Dec 17, 2017 11:39 am ] |
| Post subject: | Daily open line incorporating weekly open line |
Anybody prepared to make the mod needs the .mq4 source code; they can do nothing with the .ex4 file. |
|
| Author: | GT3RS [ Sun Dec 17, 2017 2:03 pm ] |
| Post subject: | Daily open line incorporating weekly open line |
Damn!! I knew I'd got them mixed up!! Here it is!! |
|
| Author: | renexxxx [ Sun Dec 17, 2017 9:25 pm ] |
| Post subject: | Daily open line incorporating weekly open line |
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. |
|
| Author: | SteveHopwood [ Sun Dec 17, 2017 9:30 pm ] |
| Post subject: | Daily open line incorporating weekly open line |
It is usually quicker and easier to do that. |
|
| Author: | dydynamic [ Sun Dec 17, 2017 9:57 pm ] |
| Post subject: | Daily open line incorporating weekly open line |
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: |
|
| Author: | GT3RS [ Tue Dec 19, 2017 4:04 am ] |
| Post subject: | Daily open line incorporating weekly open line |
This is absolutely perfect Rene. Many thanks. EXACTLY what I wanted!!! |
|
| Author: | The_Snowman [ Tue Jan 02, 2018 7:17 pm ] |
| Post subject: | Daily open line incorporating weekly open line |
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. |
|
| Author: | SteveHopwood [ Tue Jan 02, 2018 7:59 pm ] |
| Post subject: | Daily open line incorporating weekly open line |
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. |
|
| Author: | renexxxx [ Tue Jan 02, 2018 10:13 pm ] |
| Post subject: | Daily open line incorporating weekly open line |
I have tried to address Snowmans's concern -- see this post for the updated code. |
|
| All times are UTC | Page 1 of 1 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|