theodore / Publications
Forum
EA calls iCustom for each new bar and overwrites the indicator
Hi everyone! I've made an simple indicator that prints the volume of the last 100 bars, inside that bar The same indicator also has a buffer that holds 1 for a long signal and 2 for a short signal. When I call this indicator from inside the EA with the iCustom function to get the long/short values
Array error
Hi everyone! I'm trying to figure out how MQL4 arrays work and I stumbled upon a behavior I don't understand. I want an array to hold some undetermined number of elements so I figure out that I should use SetIndexBuffer to let the platform handle it's size. While I can see the elements printed in
How to print the values of an array on the chart?
Hi everyone I have this array called Percentage[] that calculates the rapport between the volumes of 2 neighboring candles. How can I "print" it on the chart, below the bars? Percentage[i]=DoubleToString(100*double(Volume[i+1])/double(Volume[i]),2) I know how to DRAW_ARROW for an array and