powerbucker
powerbucker
Friends

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

powerbucker
Added topic Global variables definition
Hello, I have global variables in an include file, defined like this include.mqh double variable1 = 5 ; then I use this include for different indicators, eas and scripts. script 1 #include <include.mqh> indicator 1 #include <include.mqh>
powerbucker
Added topic MT5 Charts freeze - How can I find the problem ?
Hi,  I have MT5 open with 5 or 6 charts. I use an expert advisor and various custom indicators . The charts move automatically, each tick is refreshed. But there comes a time, some chart stops, the ticks do not update, as if the market were
powerbucker
Added topic Generic funcion to iterate
Hi, I use the loop for all open charts a lot of times on my code. So I'm repeating the code a lot. Is there any way to create a generic function to iterate the charts, and do something variable? Something like this void sample() {
powerbucker
Added topic Error getting iBarShift when opening MT5
Hi, the first time the indicator is executed when opening MT5, it fails to get iBarShift function, the second or third time the event OnCalculate is executed, it works OK int OnCalculate ( const int rates_total
powerbucker
Added topic Convert any datetime to UTC - MQL5
Hi,  Is it possible to convert any date on a specific zone to UTC? For example if I have 10/10/2021 in the 'Europe/London' zone, how could change it to UTC (taking into account the daylight saving)? In javascript there is momentjs library, but I
powerbucker
Added topic Indicator that resets suddenly
Hi I have programmed an indicator to mark the high and low of the previous day, the weekly and the ADR. The indicator works, but suddenly it initializes and starts making the highs from the current candlestick. I am not able to understand why it does
powerbucker
Added topic WebRequest cookies problem ... I think
Hi, I am trying to retrieve the calendar from the investing website to show on MT5. void test() {    string cookie= NULL ,headers;    char post[],result[];    int res;    int timeout= 5000 ;    string
powerbucker
Added topic ADR Indicator for MT5
Hi, I'm developing this indicator, an ADR for MT5. The algorithm is, get the sum of daily range high and low from last N days (14 in my sample), begining from yesterday, and divide it into N periods (14). Getting the average. I don't know which is
powerbucker
Added topic OnCalculate event doubt
Hi, I am developing an indicator and I don't understand the OnCalculate event at all. From what I can see, this indicator runs every time there is a new tick on the chart. So, I calculate for all candles the indicator (I limit it to 1000 candles) for
powerbucker
Added topic Get hi/lo yesterday of a specific candle
HI, could you help me with this? I need for every candle in OnCalculate event, to know the high and low of yesterday, relative to this candle. If I use this         double highestY = iHigh ( Symbol ()
powerbucker
Added topic Futures exchange data broker
Hi, I need futures exchange data to use a volume profile indicator on MT5. I've only found a broker with futures data, but this broker gives the DAX data delayed on the demo account . Do you know if exists another broker that provides futures data on
powerbucker
Added topic Multicolored candles MQL5
Hi, is possible to draw with an indicator, candles with more than one color? Like this Is so, any piece of sample code? Thank you
powerbucker
Added topic Get multiple volume and send alert
Hi, I need to develop an expert on MT5 that each 5 minute candle collects the volume of various currencies and if there is an increase in volume, launch an alert. I have no idea how to start it, any help? A base template with a sample would be a
powerbucker
Registered at MQL5.community