| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Script to draw line at 50% of candle https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5264 |
Page 2 of 2 |
| Author: | SteveHopwood [ Fri Feb 09, 2018 2:01 pm ] |
| Post subject: | Script to draw line at 50% of candle |
Attached is a version of your script that shows you how to add line widths, styles and colours in ways that enable you to offer inputs that users cannot get wrong. ENUM_LINE_STYLE is one of the enumeration available inside Empty4. Look a few lines further up and you can see how to create your own custom enums. You can be as complex as you want. You can create externs for line sizes, styles and colours for each individual time frame. You can have externs to offer the option to show more than one time frame e.g extern bool ShowH4 = true; extern bool ShowH1 = true; extern bool ShowM30 = true; You can combine all the time frames into an array so that you only need to iterate around an array loop when the script is deciding whether to draw a line or not for the particular time frame. Play around and have some fun. |
|
| Author: | GT3RS [ Mon Feb 12, 2018 10:19 am ] |
| Post subject: | Script to draw line at 50% of candle |
Many thanks Steve! I'll have a go!!! |
|
| Author: | GT3RS [ Thu Mar 29, 2018 12:11 pm ] |
| Post subject: | Script to draw line at 50% of candle |
Well............... It's been a while, and I have tried to make sense of this several times. COMPLETELY without success!! You coders are a different breed! REALLY!!! Would love to learn how to do this, but I'm starting from a point of absolutely ZERO knowledge, so would need an awful lot of hand holding........ Or maybe there just aren't enough synapses firing............. |
|
| Author: | SteveHopwood [ Thu Mar 29, 2018 3:32 pm ] |
| Post subject: | Script to draw line at 50% of candle |
I take it that you did not manage what you described in this post http://www.stevehopwoodforex.com/phpBB3 ... 00#p159600? |
|
| All times are UTC | Page 2 of 2 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|