Hi, I've written a piece of code that creates a linear regression object on the chart based recent swings. I then need to use the values from the upper and lower channel in my trade criteria. When I run it in visual backtest mode, everything works fine. When I turn off the visual mode, it stops
Hi all, I'm hoping this is a simple question. I am writing an EA that gets indicator values from multiple currencies. The problem I face is that the handle is created, the values copied to a buffer correctly for the first market in the loop but when it moves onto the next market, the handle is not
Hi everyone, I have an EA that I have written that works perfectly 99% of the time. Occasionally though, it will just not process a block of code. When this happens, it almost always follows a change in indicator, the most recent example is a flip in the PSAR value. I know that it is not executing