Forum

MQL5 Custom indicator, error 4806

Hi guys, I wrote a test indicator and every start I got an error message (CopyBuffer 4806 error), I don't know why and hope, You can help me to solve it. The code: int macd_handle_m5, macd_handle_m10; double macd_values_m5[], macd_values_m10[]; int OnInit () { ArraySetAsSeries (macd_values_m5

OBJ_RECTANGLE_LABEL problem

Hi guys, In my project I'm using an OBJ_RECTANGLE_LABEL object to draw a fixed position rectangle. It works fine, but I have a problem. When I open and close positions with my expert advisor, these methods draw arrows and lines on the chart (that's normal). When those objects get my fixed position

Fibonacci Fan problem

Hi guys, Can somebody help me, how can I get the level prices of a OBJ_FIBOFAN object in the current candle? Thank you for your help