Forum

my EA closes my order one bar after

Hi, I'm testing my EA on the strategy tester . If I place a sell order, and the current bar reverses immediately, then my stoploss is triggered on the next bar,even if my stoploss is 100000. My code is

Downloaded and compiled indicator, how do i access it programatically.

Hi, I downloaded the AverageSizeBar indicator. And I'm able to attach it manually from the trading screen. But how do I add it programatically. Like iBands shows up in the context menu when i type it out

CCHart and attach function

Hi, I'm a total newbie to mql5. And started playing with it. Basically I want to modify the color of the price chart via the CCHart class. It compiles with no errors or warnings. But it crashes as soon as I run the program This is my code, it seems to crash on my attach function . If I leave that