ZetaTrader
ZetaTrader
Friends

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

ZetaTrader
Added topic Examples for coding a graphical user interface the MQL4 way?
I'm looking to add a graphical user interface to an expert advisor (think: a panel with buttons). As I'm not experienced with that in the MQL4 language I'd like to check out an existing expert advisor / indicator that is coded in a proper way to
ZetaTrader
Added topic Best way to share data between indicators (.csv vs. array)
I'm attempting to solve an issue but I'd like to have an opinion which solution is more efficient/appropriate in the MQL4 way of thinking. I wrote an indicator that, once a minute, reads a website and extracts a certain value. It will then write that
ZetaTrader
Added topic Identify selected object
I'd like to identify a trend line when clicked. The chart would then display additional info & lines related to it, so that the chart isn't too clustered in the normal state. I know how to do the rest, but Is there a way to get the object's name
ZetaTrader
Added topic Slippage defined in index points
I have managed to read this thread: https://www.mql5.com/en/forum/138912 and not know how slippage for the OrderSend() function is defined in index points since it's about currency pairs in there. For example: with my broker I am able to trade 2
ZetaTrader
Added topic Return my custom class from a function (copy constructor not found).
I'd like to return my custom Candle class (inheriting from CObject) from a function . The compiler will complain: "object of 'Candle' cannot be returned, copy constructor 'Candle::Candle(const Candle &)' not found. How can I implement this copy
ZetaTrader
Added topic Perform actions when changing the zoom factor.
Is there any way to perform actions on the change of the chart window's zoom factor?  I can get the current chart scale and repaint the indicator/EA but it will only do that on the next tick after changing the chart scale. I guess my method
ZetaTrader
Added topic Can I make OBJ_TREND line a member/property of a class?
I've got a subclass of CObject, which will plot a trend line on the chart. At some point the end point of the line has to be changed (I know how to do that part). However, I have to find the line object, which up until now, I did by looping over all
ZetaTrader
Added topic Custom CObject subclasses holding references to an instance of the other's class
I've created 2 custom classes that need to be able to hold a reference to an instance of the other's class. They've been created with the MQL4 class template. I broke them down to the basics. Candle class: #include <Arrays/ArrayObj.mqh>
ZetaTrader
Added topic MT4 leaving out ticks while performing my onTick calculations.
I wrote an indicator that performs a lot of calculations on each tick. When comparing the performance to another computer running MT4 it occurred to me that the version running my indicator will leave out ticks when there very quick sequences of
ZetaTrader
Added topic MT4 unresponsive when drag & dropping indicator to a chart (templates with same indicators work though...)
Hello, since today I'm not able to drag and drop indicators inside the MT4 window to a chart. The indicator will not show up, that symbol window will freeze, all other windows keep updating but MT4 is completely unresponsive. Nothing on my system has
ZetaTrader
Added topic Dealing with a simple dynamic array
Hello, I'm struggling with MQ4L's arrays trying to achieve what I'd call a pretty simple operation in other languages. Any advice on this greatly appreciated! I've got a dynamic array that will be altered in the onCalculate() function of my
ZetaTrader
Added topic How to always refer to M1 Time[] array, even when viewing a higher timeframe?
My indicator is supposed to draw lines from and to bars in the M1 timeframe, which it does fine using the Time[] arrays etc. However, I'd like to view the same lines when switching to a higher timeframe, say, M5. Instead, my indicator will deinit and
ZetaTrader
Added topic How to loop over chart objects?
I've created an indicator that will plot horizontal lines on each tick. On each tick, I'd like to find the line that is closest to the current price in order do other things (plot vertical line between those 2 points, know how to do that.) I figured
ZetaTrader
Added topic How to check whether M1 candle is from today?
My indicator plots lines in the M1 timeframe, which works fine. However, I like to color all lines starting from today's M1 candles with a different color. Is there a standard function or an easy way to check whether a candle I'm looping over is from
ZetaTrader
Registered at MQL5.community