Friends 1
Geester
Added topic Accurate Price Axis Text Positioning On Chart
Hello, I am trying to come up with a robust solution to position text objects above/below price. Obviously, I have my price bar's high and low values but, I want to be able to have a high and low "offset" so that a user defined value can be provided
Geester
Added topic FileFindFirst returns large negative number?
long searchHandle= FileFindFirst (_subFolder+ "\\*" ,fileFirst); Hi, The above code is occasionally returning a large negative number like -1905372416. This is fooling my code that tests as follows:- if (searchHandle!= INVALID_HANDLE ) As
Geester
Added topic Problem with iCustom
Hello, Please see below for a sample of the code called:- double CTdiUtils::_volHigh( int shift, bool reset= false , bool force= false )   {    double volHigh= NULL ;    if (_volHighValue== NULL || force || reset)
Geester
Added topic Calculating True Risk/Reward Ratio?
Hi, I am trying to understand the risk/reward ratio over a series of trades. To keep things simple, using my custom indicator , I might get 50 signals/trades and each trade uses a stop loss of 10 pips.  25 of the trades make some kind of pip
Geester
Added topic delete invalid pointer message, debugging with preset?
Hi, I posted a similar topic yesterday and actioned a suggestion from Nicholi. However, when debugging again today, I got numerous instances of the "delete invalid pointer " message in the Experts tab, after the debugger inadvertently failed to stop
Geester
Added topic delete invalid pointer message when debugging
Hi, I've noticed that when debugging an indicator in MT4, I'm seeing a series of "delete invalid pointer " messages in the terminal's expert tab. In the indicator, every new object that I create is specifically deleted using "delete objName", prior
Geester
Added topic Terminate Indicator from inside OnCalculate?
Hi there, I have a password validation class that uses the AccountInfoInteger(ACCOUNT_LOGIN) to compare with an encrypted input parameter (loosely based on https://www.mql5.com/en/code/15534 ). This call is made in the OnInit function in the
Geester
Added topic Variables being re-initialised after DeInit?
Hi there, Following a similar pattern I've used in an EA, I have the following code at the top of an Indicator .mq4 file: ... //--- #include <gwDeltaCache.mqh> //--- CDeltaCache *DeltaCache; bool isInitialLoad= true ; ... However, when I do
Geester
Added topic Buy/Sell Volume Approximation?
Hi there, Is there an accepted "formula" to approximate buy/sell volume on historic bars? I thought that using price action on the bar, you could perhaps apportion part of the bar's volume based on the distance of close from the high as selling, and
Geester
Added topic Detect Bar Size/Resolution?
Hi, I've attached a couple of images. One is where I have the bars small and one where the bars are larger. If I drag on the time axis on the chart window, going left makes the bars smaller, going right makes them bigger. In the images, there is an
Geester
Added topic Debugging Indicators
Hi, When debugging EA's, you have the handy-dandy Expert tab to send Print() output to. Is there an equivalent way to easily output values when debugging indicators? Cheers and thanks
Geester
Added topic Chart "freezes" when debugging
Hi All, I'm trying to debug an indicator and when stepping through the code I want to check the output on the chart. When I select the debug-created chart to adjust it, the cursor starts spinning and the UI freezes. I've done this countless times
Geester
Added topic Add drawing objects in Indicator
Hi All, I've created an EA and added drawing objects using the standard library . In a custom indicator, can you still draw on the main window using the standard library or can you only use the index buffers to draw on the chart?  I've created
Geester
Added topic My Bad Maths :(
Hi All, I wonder if someone can put me on the right track for something that should and probably is very straightforward. However, my maths is not good so, here it is. I'm trying to take the close of two different bars and see whether the difference
Geester
Added topic Problem with iCustom or Indicator restriction?
Hi All, I am trying to run an indicator using iCustom. The indicator has 8 values in the data window. When I iterate around a loop and output the values of buffers 0-7 to variables, from a number of the buffers, I just get back a value
Geester
Added topic Trend strength indicator - cumulative buy/sell pressure.
Hi all, I've been working on an EA that determines trend highs/lows according to a set of conditions. What I'd now like to do is confirm the cumulative buying or selling pressure on the current timeframe and be able to detect the same on the higher
Geester
Added topic Custom Indicators & Timeframes
Hi there, I'd like to create an indicator that runs on a different timeframe to the chart on which it is applied. This is so I can compare certain results from a slower timeframe against those of the primary chart's timeframe. The indicator I have in
Geester
Added topic Best approach to UI in MT4
Hi there, I've been working on my first EA over the last few months and it's now working well :) As is inevitable, I'd like to add some ways of interacting with the EA that is not really covered by the properties dialogue. These would be inputs to
Geester
Added topic Persist data/object between timeframe/input changes?
Hi, I have a process that only occurs once and when it does, it dispatches notifications in the usual "standard" ways (email, push etc). However, if I change time-frame/input-vars, as the triggering situation is "recalculated", my EA will re- send
123