Your Journey to be a programmer and make your own EA starts here

In this Guide I will explain how to use { EA Creator } and What are the strategies used for each indicator
Note : You can't use this powerful tool without this guide , Have Fun !

### EA Common Settings :

as you know , after reaching your perfect combination you can turn this tool to a complete full-option Expert Advisors , so I will start first to explain the common setting for using it as EA before getting to know the indicators and strategies :

• Profit - Take Profit.

• StopLoss - Stop Loss (it's 250 pips by the default and please don't make it any lower as the multi-frames analysis of the will make the price coming back again to your TP so please allow a min range of 250 pips for price fluctuations )

• AutoLot - Enable or Disable Autolot Function

• Fixed Lots - Lot size, please modify to adapt your capital. ( This in case you turned off Autolot )

• Risk % - ( In case of you turn on Autolot ) How much you want to risk from your capital in every trade ( you will lose this percentage if your trade hit SL )
The lot size is calculated upon 3 things : Deposit, Stop Loss and Risk% The simple explanation for it is : You will lose the Risk Percentage from your deposit each time your trade will hit Stop loss
To give an example for our default trades, our default SL is 250 , default risk% is 25
So for 1000 USD Deposit , the auto calculation will give us 0.1 lot size ,, Why ?
As if 0.1 lot size hit our stop loss which is 250 pip that will equal 250 USD which is 25% from our deposit
So we lose Risk Percentage ( 25 % ) from our deposit ( 1000 USD ) each time our trade hit SL ( 250 pip )
• Decimals : How many numbers after the decimal in lot size
Decimals here refer to lot size which is going to be calculated by the auto lot functions ( not related to your broker whether it's 5 or 4 digits ), so almost always our broker offer a lot step up as low as 0.01 so we can have normally 2 numbers after decimal ( eg: 0.01 or 0.02 or 0.15 etc.. ) but some brokers or pairs have just one number after decimal like 0.1 or 0.2 ( if you don't know what to do leave it to the default which is 2 )
• Maximum Lot : Maximum lot that can be calculated but Autolot Function

• Magic Number - Every pair has to have its unique Magic number and please make sure you increase the magic number by 1000 as the EA uses the range inbetween to assign a unique magic number to every open position { eg : you attached the EA to AUDUSD, EURCAD, USDCHF ,,,,,, AUDUSD will take >>1000, EURCAD >> 2000, USDCHF >> 3000 and so on }.

• Trailing stop:

• You will get 2 parameters to modify Trailing level (which defines how much distance the stop will be from the current price) and Trailing Activation (which defines on what level should the trailing start)

• BreakEven:
• You will get 2 parameters to modify Trailing level (which defines how much distance the stop will be from the current price) and Trailing Activation (which defines on what level should the trailing start)

• Hedging: allow or disable Hedging ( Hedging means that the EA can open another trade in the opposite direction if there's a signal without any interference for the original one so it's a modified unique and safer version of Hedging )
• -- Martingale Settings --

• The EA uses a unique Martingale system, unlike other systems you may used. This Martingale system waits after a number of pips you losing (you can define manually that number) then starts to find a perfect enter also depending on the signals and analysis, so the Martingale will be no more depends on gambling or just make more losing trades as usual.
• Also in the Martingale system you will choose how many trades you want to enter you have an option of 2 trades at the same time, 3 or even 4. You can define different TP and SL for the Martingale trades or use the common parameters of Trailing and BreakEven.
• Martingale: disable or allow Martingale, Martingale up to 4 >> 4 trades at the same time (the Original one and another 3 trades by Martingale)

• Losing to open: number of pips losing in the last opened trade of the specified pair to start looking for another signal to open the next trade >> Not only for the Original trade but also for Martingale trades
Please Understand that the EA will not open another trade after exactly this number of pips but it will start to look for another good enter to open the Martingale trade

• Lots Multiplier: the number here will be multiplied by the Lots size of the previous trade (Original or Martingale)

• Martingale TP: Take Profits of Martingale trades. Set it to 0 if you want to use Trailing and BreakEven settings. But if you don't use neither one of them you have to set Martingale TP, as Martingale trades can't use the common Take Profit or StopLoss

• Martingale Stop Loss: As Above
The system here does Exactly as the ordinary Martingale except in two things

1- after a pre-specified number of losing pips it won't open directly another order like the ordinary one but at this point it will start to look for another signal exactly under the same conditions which allow it to open the original trade so it's more like another good trade under the perfect conditions just with a bigger size
2- that Martingale trade would have its own TP and SL completely separated from the original one so if it tp was set on 10 , once it hit 10 in profit it will close itself and won't do anything for the original trade

To give an example :
*****We opened a buy trade in GBPUSD at 1.4100 with TP 10 and SL 250 and we have enabled Martingale up to 2 ( this means the EA only allowed to open a single Martingale trade to become the sum of all opened trades 2 trades ( the original and the martingale) )  and the settings for Martingale are : Losing to open = 30 , TP=10, SL=250 ( I set them here to be the same as the original one but I could make them different as tp=20 and sl=100 )
****unfortunately GBPUSD comes down to 1.4070 so we are now in loss = -30 Pips and that the number we set in settings
*** The Martingale system here will be enabled but not to opened immediately another trade but just to give the green color to the EA to open another trade in the same pair in the same direction and bigger in lot size according to settigns
** If there was already a signal from the EA at 1.4070 it will open another buy trade but it may be wait until a level like 1.3950 where it finds another perfect signal according to our strategy
* The Martingale trade will be opened for example at 1.3950 >> if it hit 10 pips in profit at 1.3960 it will be closed and the original trade would be still opened normally without any intervention
In This Model , The Martingale is much more safer than the ordinary gambling model which blow up ur account randomly but still Any Martingale system has its risks and you should use it carefully

---- other options ----

• Write your own comment :
• Display Corner: The side of display info
• Max Slippages
• Trading Start Time : it's in 24 hours format , make it 0 to allow non-stopped 24 hours trading
• Trading Stop Time : as above

-- News Filter --
• Source News – Choose news source whether Investing.com or Dailyfx.com
• Low News – Activate Low news.
• Supend before low – For How many minutes you want the EA to be suspended before the low news
• Suspend after low - For How many minutes you want the EA to be suspended after the low news
• Medium News - Activate medium news.
• Supend before med  -
• Supend after med  -
• High News - Activate high news.
• Supend before high  -
• Supend after high  -
• NFP News - Activate Non-farm Payrolls' news
• Supend before NFP  -
• Supend before NFP -
• Draw News Lines - Draw the news on the chart as lines
• Low Color – The color of low news.
• Med Color - The color of medium news.
• High Color - The color of high news.
• Time Zone ( GMT + ) - Broker's Time Zone

### Indicators & Strategies :

- Each indicator contains six copies of it in the setting ( Except MACD only 3 } , the magical idea behind this that you can combine different signals from the same indicator but with different settings and different time frame
- For Example : you like using Stochastic you can combine your default setting Stochastoc ( 5.3.3 ) from timeframes 5 min and 1 hour and another 2 stochastic from the same timeframes but with different parameters , Imagine how accurate can you reach with different combination now !
- Moreover, each indicator has an Enabling/Disabling switch so you can just with one click turn on or off any indicators
- I'm not going to explain the mechanism of each indicator as this is not a guide for how to trade , do your homework about every indicator to know better about it , however I will try my best to give you hints about how to modify it easily and about my experience as much as I can
- You also must understand that some indicator help you to catch the established trend as MACD with Trending Strategy and the other help to detect when the price going to to reverse as Stochastic or MACD with Reversal Strategy so choose wisely which indicators you want to combine not by luck ( actually luck is going to work too with such easy tool xD )

**The Current list of Indicators now which are continuously expanding :

1. Candles Pattern
2. Stochastic Oscillator
3. MACD
4. Trending Moving Average
5. Moving Averages
6. RSI
8. CCI
9. SAR Parabolic
10. Bollinger bands
1-Candles Pattern :

Strategy > it makes buy or sell order when the pre-specified Candle pattern is formed

2- Stochastic Oscillator :

Strategy >> Stochastic is one of the most powerful yet most simple indicator you can ever use , the strategy used here is you sell when the Signal/Main line reach above certain levels and you buy when reach below certain level

Settings >>

Buy below : default is 20 ( the lower you go , the more accurate you get like 15 or 10 however you also will get less trades )
Sell above : default 80 ( the higher you go , the more accurate you get like 85 or 90 however you also will get less trades )
Time Frame:
K Period:
D Period:
Slowing:
Moving Average Method:
Price Field :
Mode: ( usually Signal > more accurate and less trades , Main > less accurate more trades )
Shift: ( 0 >> means this bar , the current readings , 1 >> the previous bar ie: the reading in the past of the previous bar and so on... )

3- MACD:

Strategy >> MACD by it self is strict that's why I only put 3 of it as no value of more added as too much and U will get nearly no trades by that much
There are 2 trades added and you can  change between them freely

• Trending : This strategy helps you to catch the start of the move or trend , it based on you will buy when the Signal line cross a specific level going upwards ( 0 by default ) and you can filter that move by a one more condition which is the level of Histogram when that cross happens ( 0.00015 by default ) the higher you set that Histogram level the more powerful moves you catch but the much more less trades you get ,,,,, And for Sell orders it's the opposite as you will sell when the signal line cross downwards a specific level ( 0 by default ) and this Histogram level will usually the same level as buying but in negative ( - 0.00015 by default )
• Reversal : This strategy helps you to catch the end of trends and to know when the price will change its direction and reverse , you will buy when the Signal line crossover the Histogram level from above to be below it and you can filter that again by the level of Histogram but this time it will be in negative for buying orders ( - 0.0002 by default ) the lower you set your histogram level ie : - 0.005 the more accurate you get ,,,,,, And for Sell orders you will sell when the Signal line crossover the Histogram level from below to be above it and you can filter that again by the level of Histogram but this time it will be in positive for selling orders (  0.0002 by default ) the higher you set your histogram level ie : 0.005 the more accurate you get

-Time Frame
-Fast EMA
-Slow EMA
-Signal Period
-Applied Price
-MACD Strategy : You have to choose either Trending Strategy or Reversal Strategy ( Some setting of the following will only get into effect when you choose Trending Strategy and the other will only get into the effect when choose Reversal
-Buy if MACD Signal above (Trending)
-Sell if MACD Signal below (Trending)
-Buy if MACD Histogram above (Trending)
-Sell if MACD Histogram below (Usually in negative)(Trending)
-Buy if MACD Histogram below (Usually in negative) (Reversal)

-Sell if MACD Histogram above (Reversal)

4- Trending Moving Average
Strategy : But order will be placed when the Price it trending above this MA, Sell order will be placed when the Price is trending below this line
It's usually a Big number as it's used only for define the Trend not an exact entry position so it should be combined with another Indicator

Settings >>

-TimeFrame
-Period
-Shift
-Method of MA
-Applied Price

5- Moving Averages :

Strategy >> Buy order will be placed when the Fast MA crosses above the Slow MA , Sell order will be placed when the Fast MA crosses below the Slow MA

Settings >>

-Fast MA Timeframe
-Slow MA Timeframe
-Fast MA Period
-Slow MA Period
-MA Fast Shift
-MA Slow Shift
-Fast MA Method
-Slow MA Method
-Fast MA Applied Price
-Slow MA Applied Price

6- RSI

Strategy >> it's much similar to that of Stochastic , you sell when the Signal line reach above certain levels and you buy when reach below certain level

Settings >>

-RSI Timeframe
-RSI Period
-RSI Applied Price
-RSI Shift
-Buy If RSI below : 30 by default ( the lower u set , the more accurate you get )
-Sell If RSI above : 70 by default ( the higher u set , the more accurate you get )

Strategy >> it's one the of the well-known indicators which help you to catch the established trend , you are going to Buy OR Sell If Main ADX line cross above specific level , this just to primitive but it makes the indicators so permissive to bee added to other indicators so I added 2 condition if you want to use it as a Standalone indicator or even with others ,,,, if you enable the dedicated option in the settings , you will buy not only when the main line cross that level but also D+ line has to be over D- line, and also for selling D- has to be above D+

Settings >>

-D+ must be above D- to buy : ( True or False )
-D- must be above D+ to sell ( True or False )

8- CCI

Strategy >> Works with the same strategy as Stochastic and RSI , you sell when the Signal line reach above certain levels and you buy when reach below certain level

Settings >>

-CCI Timeframe
-CCI Period
-CCI Applied Price
-CCI Shift
-Buy If CCI below this level: -100 by default  ( Usually in negative )
-Sell If CCI above this level: 100 by default

9- SAR Parabolic

Strategy >> Buy order will be placed when SAR dots crossover the price to be below it AND Sell order will be placed when SAR dots crossover the price to be above it

Settings >>

SAR Timeframe
SAR Step : 0.02 by default
SAR Maximum : 0.2 by default
SAR Shift

10- Bollinger Bands

Strategy >> Buy orders will be place when the bar open above the lower border or line of the bands and then close below it , Sell orders will be place when the bar open below the upper border or line of the band then close above it

Settings >>

-BB Timerframe
-BB Period
-BB Deviation
-Bands Shift : This is shift of the bands it self
-BB Applied Price
-Shift : This is shift for the reading of the Bands ( 0 means the reading on the current bar , 1 means the previous bar and so on.... )

If you have any questions or there are any indicator you want to use but not included in the tool or you have any suggestion I will love to hear from you guys !
Have fun and enjoy being a programmer !

Share it with friends: