Some technical details

At this point, once the conditions are matching and the arrow appears, the buffer will return a different value (usually the price value). At the same time, the EA will recognize a mismatch between zero or empty value and buffer value and will open an order accordingly.

You can double check this procedure by running a visual backtesting: on the top-left corner of the chart, you will see the returned value of the indicator (check the screenshots attached).

Last but not least, in order to enable your custom indicator, make sure you use the following MagicNumber: 20151119, otherwise the custom indicator will be disabled.

Final consideration

Some custom indicators are very complex and will not run with this EA, but will be very useful when you have simple indicators with BUY and SELL buffers. At least you can try for free, and if it does not work, you just spent your time and not your money!

Some inputs

TradeComment - this is the only value that the broker will see;

MagicNumber - magic 0 is for managing manual trades, other values are to manage different EA's on the same pair;

MaxSpread - max spread allowed, checked before the order is placed;

Slippage - max slippage allowed, checked before the order is placed;

MM_mode

0=Fixed Lot

1= % Equity

2= % Balance;

FixedLot - only for mode 0;

MaxRisk - risk percentage;

Minlot/Maxlot - lots allowed. These values will work even with automated MM;

Max_Trades_Total - max total trades allowed;

Max_Trades_Sell - max total short trades allowed;

Max_Trades_Buy - max total long trades allowed;

Close_At_Opposite_Custom_Indicator_Signal - close if an opposite signal from the indicator is given;

Close_At_Opposite_MA_Cross - close if an opposite signal from the MA cross is given;

Close_At_Opposite_Stochastic_Cross - close if an opposite signal from the Stochastic cross is given;

Max_Doubling_Times - if higher than zero, a martingale will be enabled. After a loss, the lots will be increased;

Safety_Pips_From_Last_Openprice_Closed_Trade - if higher than zero, the EA will check the last opened order value (and now closed) and the distance (pips) between that value and current Bid. This will prevent the EA to open a new trade;

Breakeven - if higher than zero will move the SL to zero after X pips;

PipsToLockIn - pips (from open price) to lock in with the breakeven function;

Use_Hour_Trade - filter trades by time range;

Close_Outside_Trading_Time - close all the trades if the time is over;

Custom_Indicator_Name - put the file name of the custom indicator;

Reverse_signal - try this function if the standard settings of the custom indicator does not work;

Buy_Buffer - buffer for buying, which could be Arrow Up or Trend Up etc.;

Sell_Buffer - buffer for selling, which could be Arrow Down or Trend Down etc.;