Converting Indicator to EA I would like to automate a very simple trade plan to an EA using an existing Fibonacci based indicator. The indicator I have at the moment maps the price action into Fibonacci waves, where an initially move in the market is expected to retrace and extend in a predictable fashion. The most common retrace-extension patterns are 61.8% retracement to a 161.8% extension, a 73% retracement to a 127% extension and a 82% retracement to a 118% extension. For example: I am looking to take advantage of something I have observed in the market, that after the 127% extension has been tested in the market, the price sometimes drops to test the 73% retracement before quickly retesting the 127% extension. Essentially the EA must uses the indicator to identify the following criteria: * Establish AB boundary * Price exceeds 124% extension but price does not exceed 145% extension * Enter 7 pips before 73% retracement * Stop 10 pips behind A * Target 7 pips before 127% In order to fully test and tweak the EA, I would like to be any to control the following variables (either by changing the code or having variable inputs in the EA): * The minimum AB boundary size (in pips) * The maximum AB boundary size (in pips) * EMA (only take long trades if you are above x EMA, only take short trades if you are below y EMA) * Number of pips before the SL/Entry/Target * The extension levels I would like two EAs to be produced, one for long trades and one for short. I would need the editable MQL4 files, rather than the EX4 file. This EA would primarily be for testing purposes, with a view to going live with the EA. Therefore, I need this to 100% work with the MQL4 strategy tester.