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.

You do not have the required permissions to view the files attached to this post.
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.