Forum

#include stops indicator from running

I have written the header file and compiled the exe file in /experts/include folder. The function accessed via the include works when placed in line with main code. The indicator code compiles with no errors. When I run the indicator it runs init() (sets up separate window with levels etc), but

ArrayCopyRates blows out CPU usage and hangs terminal

I am running this piece of code at the beginning of start() in an indicator on a 1H chart to ensure that M5 data is available for calculations. If its not available from the broker then it should return and wait for the next tick. I find that for most currency pairs this prevents the system from

Control Trading Times of a locked EA

I have an EA that I bought that after forward testing shows that it performs better at different times in the market. I can't get inside the EA to control the timing of trade operations . Can anyone suggest a way to allow the EA to continue running so that its signals are not disturbed, but switch