Forum

Build 1940 - Bars() returns zero - Error 4401 - Requested history not found

I'm currently using build 1940 of Metatrader 5. I was having major problems with a custom indicator in some earlier builds due to the Bars() function seeming to 'lock up' for some time, after which it would return zero when there are actually >0 bars on the requested symbol/timeframe. This issue

Custom Indicator - Histogram on main chart inside rectangular area defined with click/drag of mouse

Hi there. I want to write myself a custom indicator which displays a histogram on the main chart that uses price/time parameters defined by clicking and dragging a rectangular area on the chart. The user would click and drag an area of interest on the chart, and when the mouse button is released

Metatrader 5 - Single position per account/financial instrument

Hi everyone. I'm switching brokers and have an opportunity to migrate to Metatrader 5. After much Googling, I discovered a heap of information talking about the fact that Metatrader 5 only allows a single position per account/financial instrument. This included the article 'ORDERS, POSITIONS AND