david
david
Friends

Add friends via their profile or user search and you will be able to see if they are online

david
Added topic trying to understand the suignal line component of the standard MACD.mql4 code
Hello forum, I was looking at the standard MACD.mql4 code using  the MetaEditor, as I try to learn to code by example. It all seemed straight forward  for the calculation of the ExtMacdBuffer, but I am confused as to how
david
Added topic copying custom indicators to a new MT4 installation question
Hello Forum Each time I try and check the properties of a custom indicator on my chart, the MT4 pltform freezes and needs to be closed via the task manager. I thought this might be an issue with one indicator but it happens no matter which indciator
david
Added topic Looking for good explanation of smoothing and weighting
Hello Forum, I've read countless articles on indicators, but am struggling to understand how smoothing or weighting works with respect to moving averages. Before I try and code what I want, I would like to understand the maths. Could anyone point me
david
Added topic data set: what happens when each new bar updates?
Hello forum would someone mind pointing me to the appropriate reference that explains what  happens to the data set when new bars are formed. If a finite amount of information is stored by the platform,does data just get overwritten with each
david
Added topic hoping to hear actual experiences, have you suceded or failed using a tablet to access MT4 via remote, example VPS
Hello Forum. I am just wondering as technology has improved and got quicker, whether anyone has been able to use effectively a Tablet (android or ipad) to trade in real time. There seems to be plenty of information to say that technically this is all
david
Added topic labelling issue with code and scaling question
Hello forum, I put this indicator together to allow me to mark some local times on my charts that I have interest in. Seems to work fine except for the labelling. The lines draw where they should, but only 3 of the 6 labels work the way I hoped and I
david
Added topic not sure why channel indicator not drawing for past bars
Hello forum, hope you might help with this quick question I have tried to create from scratch a simple indicator that draws a channel for the high or low values of a specified period of bars. Yes I know there are versions of this available, but
david
Added topic moving average on another indicator question
Hello forum After applying a moving average to another indicator in the separate chart window and seeing the value of this. I now want to calculate the value of that moving average of the other indicator to use in an idea I am working on. But I need
david
Added topic 2 simple questions but do not know the answers
Hope someone might clarify these 2 quick questions for me: What is the difference between the Bid price and Close[i] during the current bar? And also I had a blank chart with a single 20 Period Exponential Applied to Close Moving Average on it. The
david
Added topic need some help to clarify when objects update
Hi forum, had it recently pointed out to me by one of our esteemed moderators (THANK YOU RAPTOR) That I writing my code such that my indicators were updating every tick . Have just found the time to start looking at this and hopefully re writing some
david
Added topic not sure why my indicator vertical line is not repeating
Hello Forum I have tried to make an indicator which simply puts a vertical line on my chart at the same time every day I have got the indicator to draw a line at the right time, but the line is not repeating or visible on different time frames, and
david
Added topic question about chart bar coloring
Hello forum, I was investigating how it might be possible to change the color of a bar on a chart for a certain condition. (The condition for the point of this post could be anything.....) Found a previous post.   https://forum.mql4.com/10704
david
Added topic hoping someone might explain my error with frcatal indicator construction
Hello Forum, I am attempting to put together an indicator that draws a horizontal line of fixed length  to the right of current price action at the level of the most recent high and low fractals, and also draws trendlines through the 2 most
david
Added topic When is a candle high not the high, low not the low?
Hello Forum, hope someone might help me clear up a little confusion. Was trading manually yesterday and noticed that on occasions certain candles appeared to have a different final appearance than I would have expected. Specifically and I will use
david
Added topic not sure how to determine a shift value for this situation?
Hello Forum, I am wondering if there is a neat way I can define the following. I want to express a condition such as (using the diagram below) if the black moving average has been above the green bollinger bands more recently than it has been below
david
Added topic not sure how to reference previous buffer value
Hello Forum Wondering if someone might explain to me, or point me to the right part of the documentation ( I am not sure what topic to look under) how I go about achieving the following. I have attached a simple indicator that draws up arrows when
david
Added topic How do I delete buffer arrows at end of zero bar?
Hello forum, I am not quite sure of the right wording for this question. I have made an indicator that draws arrows on my chart during the current (0) bar for certain conditions. This is what I want it to do. But I am wondering if it is possible to
david
Added topic is there a wingding code for a simple flat horizontal short line
Hello Forum I want my indicator buffers to show the historic levels that a certain set of conditions have occurred. In the past I have just used arrows (DRAW_ARROW and an appropriate wingding code ) to show the bar in which the conditions occurred
david
Added topic indicator updating question
Hello Forum, I have the following question which has shown up a BIG gap in my base understanding of how and when indicators update. Why is comparing indicator values for bars 0 to 1, different to comparing indicator values bars i to (i+1), in the
david
Added topic quick question about Indicator Counted
Hello Forum, I am trying to understand the concept of Indicator Counted and as a consequence, how to distinguish between when indicators recalculate during the current bar OR not !! ( I hope I am looking at the right part of the documentation) I've