Forum

Indicator values calculates after several ticks

Hi, I am sure I am doing something wrong, but I did my research and couldn't find the answer. Well, it is my first time creating an indicator, and I am confused with the results; the idea on my indicator is simple: I check the candle to see if it is bullish and closing above the high of the previous

Metadrader handling weirdly data read from different time frame

Hi, I was optimizing an EA and noticed that with the same parameters, I had different results. I wanted to explain my case and benefit from your experience to move on with this. I firmly believe a limitation in how metatrader handles threads and loads data. For a week, I did my investigations. It is

Using Indicator Data from other timeframes

Hi, I am building an indicator to display several visual objects on the graph. I have a problem getting the high and low defined by ZigZag from a higher timeframe. My indicator will not use a buffer to save data, I want it to plot objects on the chart and will do the object plotting on

How to track Added and removed Orders or Position in an EA

Hello folks, Seeking your help, I am trying to build a simple function in one of my EA to have a comprehensive list of orders pending execution and current running positions. One solution is to create a list where every 5 seconds, I scan orders and positions opened by ma ea, store them in a