Try:
extern color HLine = C'32,32,32';
Also, Symbol() returns the name of the currency pair, on whose chart the indicator is attached, so something like:
if ( Symbol() == "GBPUSD" )
would make more sense.
Japanese Candlestick Charting Techniques - Steve Nison 15 replies
Scalping techniques on 1 Min chart 26 replies
Support & Resistance trailing stop ea and exits techniques 0 replies
Statistics for charting/TA techniques ? 0 replies
Trading Techniques 0 replies
DislikedI'm not sure if it's possible to have a script call or activate an indicator, as such (perhaps others could advise?). However, it's definitely possible to have a script or indicator perform its main function(s) only between any specified hours, or during a time period that you've coded it to do so. Hence it effectively puts itself to sleep, and then awakens itself, at whatever times you specify.
It's easy enough to determine whether the markets (i.e. MT4) are open by having the script/indicator check the time of the last tick against your computer's...Ignored
DislikedWhat can I do, if this updating problem occurs with my offline charts?Ignored
DislikedCould you point me in the right direction to where I can learn this from the help functions in MT4?Ignored
DislikedThat was most kind of you Mr H. The first one had just what I was looking for but I will still look to see how it is coded.
I would have searched FF but didn't have a clue as to what to search for! I searched the net for 'How to draw a line' etc but only got chart work. Tried 'programming ...draw a line' but mostly same result.
Many thanks
KolinIgnored
DislikedHi Guys
I'm in the process of closing my esignal account and just using MT4 charts. I can get everything I need in terms of indicators but there is one area I'm struggling with:
1. Is there a way of loading Pivot Point info without manually drawing horizontal lines?
Can anyone help?
Thanks in advance
MarkIgnored