Disliked{quote} Thanks, Phylo! New options make it very easy to use, although I have two things to say:
1. I'm changing GMT value, but the output value is the same every time. Why?
2. ..................Ignored
Original code:
Inserted Code
extern int TimeZoneOfData = 0;
Edited code (post 2014 new build)
Inserted Code
input int TimeZoneOfData = 0; // GMT
Had I coded.
Inserted Code
input int TimeZoneOfData = 0; // The rain in Spain flows swiftly down the drain
Had I not included // GMT
Inserted Code
input int TimeZoneOfData = 0;
- In all instances - TimeZoneOfData - remains unchanged. The // merely allows an alternative name tagging of the underlying code - TimeZoneofData - in the Inputs tab.*
- It should be apparent that in all four above cases the underlying code - TimeZoneOfData - remains unchanged.
- However, as will be shown (note: as per original code file), there is only a declaration of - TimeZoneOfData - and not further supporting code functions in the the remainder of the code.
- The above makes it an empty declaration with absolutely no effect. Its like a steering wheel with no car (automobile). You can play with the steering wheel all you want but you 'ain't going anywhere !'.
* Only works this way with regards declarations in the input section (lines: 26-32). Works differently in the remaining code and the same as for C++: see - https://www.tutorialspoint.com/cplus...p_comments.htm
See below from original file.
Disliked{quote} Thanks, Phylo! New options make it very easy to use, although I have two things to say:
1. ....................
2. My Windows language is not Eng, that's why the fonts are named differently, and that is the reason for the same label type whether or not I choose Bold Label. It simply doesn't catch "Arial Bold" font.Ignored
Update: Option to show yesterday high/low labels or price.
The above option retains the labels - Y's High/Y's Low.
Attached Image
To return the old labels as default find this code (line: 26)
Inserted Code
input yhlx YHLy = a; // Select: Price or Label
Inserted Code
input yhlx YHLy = b; // Select: Price or Label
Attached Image
Attached Image
Attached File(s)
Daily_High_Low v2a.mq4
12 KB
|
297 downloads
TSLA: 30-Dec-22 123.18 // 16-Jun-23 260.54 **111.51%**