Forum

EA with custom indicators

Hello, I have an indicator here that detects the intersection between to moving averages and then gives an alert on intersection points. could anybody PLEASE tell me how to get these signals from this indicator using an EA i have tried using iCustom, but it return a constant big weird integer

Detect candle color change on heikin ashi

hello, Could any body tell me please how to detect if the new candle have different color than the previous one, i'd like to do this on heikin ashi indicator Thanks in advance

Is there a virtual market for debugging?

Hello, I am having VERY hard times debugging my EAs since i have to wait for market to satisfy certain conditions (which is the trading strategy conditions) to be able to see if the code it working and debug it! is there some kind of virtual market where i can set the pairs prices as i want so that

how to detect when EA is started?

hello everybody, i'd like to detect when the user clicks the "Expert Advisors" button in the MT4 terminal, the Init() funtion only triggers when i attach and advisor to a chart, but i want a certain code to be executed every time the EA is activated using the button mentioned above. i.e. everytime

Placing Orders!!

Hello EveryBody, I am trying to place an order using an EA, but nothing happens, could anybody tell me please where the problem is for(int i0 = 0; i0 < 100; i0++) { if (OrderSelect(i0, SELECT_BY_POS) == true) { if (OrderSymbol() == "EURUSD") { Total++; } } } if (Total == 0) {