Specification
New BB MA Martingale EA
Requirements
l Bollinger Band-- Default Settings (Value 20, Deviation 2, Shift 0)
l Moving Average (EMA 4 with Deviation Negative 4 (-4)
Sell Signal
1. Happens when EMA 4 crosses above the Mid BB line
As soon as this happens, enter two sell trades
a. Trade A with default TP of 20 pips.
b. Trade B with big TP e.g 100 pips
Once Tp for Trade A above is hit, open another set of two sell trades
a) Trade A with 20 pips TP
b) Trade B with big tp at the same level as the above trade
Keep selling until trend changes.
The first “Trade B” with big TP will have a default TP of 100 pips. All other “Trade B” will have their tp at the same level. That means this trade in the second set of trades will have 80 pips tp, and 60 pips tp in the third set and 40 pip tp in the fourth set...and continue like that.
Money Management,
In case we sell and price goes against us, don’t do anything yet. Wait for a buy signal and start buying, two trades at a time. “Trade A” tp 20 pips, and “Trade B” based on the 100 pips tp. At this time we have buy trades, in the direction of the trend, and a sell trend running in loss.
We will manage the sell trade with martingale. Calculate the distance between the first sell trade and the current last price. Anytime we have a bullish retracement by 15%, we will sell with martingale. The sell trade should have a tp such that when it hits, all open trades close. That includes the sell trades that were open. If price continues to go up, continue adding trades until we have another 15% retracement.
If we sell and price goes down, keep opening new trades. Until we get to the 100 pips tp where all sell trades will close and we wait for next signal. In case price does not get to the 100 TP level, we will introduce buy trades to help exit all trades, when market changes direction. Consider the distance between the first “Trade B”, with big tp and current price. Whenever market retraces by 15%, open a buy in such a way as to exit any sell in loss, and close all trades, both the ones in profit and loss. The overall exit should be at a profit. (We can zoom I explain this well)
Buy Signal
Happens when EMA 4 crosses below the Mid BB line
As soon as this happens, enter two buy trades
a. Trade A with default TP of 20 pips.
b. Trade B with big tp eg 100 pips
Once Tp for Trade A above is hit, open another set of two buy trades
a) Trade A with 20 pips TP
b) Trade B with big tp, same level as the 100 pis above
Keep buying until trend changes.
Money Management,
In case we buy and price goes against us, don’t do anything yet. Wait for a sell signal and start selling, two trades at a time.Trade A tp 20 pips, and Trade B based on the 100 pips tp. At this time we have sell trades, in the direction of the trend, and a buy trade running in loss.
We will manage the buy trade with martingale. Calculate the distance between the first buy trade and the last price. Anytime we have a bullish retracement by 15%, we will buy with martingale. The sell trade should have a tp such that when it hits, all open trades close. That includes the buy and sell trades that were open. If price continues to go down again, continue adding trades until we have another 15% retracement.
If we buy and price goes up, keep opening new trades. Consider the distance between the first 2 nd trade, with big tp and current price. Whenever market retraces by 15%, open a sell in such a way as to exit any sells in loss, and close all trades, both the ones in profit and loss. The overall exit should be at a profit. (We can zoom I explain this well)
Other Factors to Consider
If we have an open trade, e.g a sell, and we get another sell signal before the first one hit’s tp, ignore the signals. Only one trade following the trend is open at a time.
Inputs
Moving Average--------------------------------------------------- EMA/SMA/ etc
MA Period------------------------------------------------------------4
MA Deviation-------------------------------------------------------- -4
Lot Size--------------------------------------------------------------- 0.01
Reversal exit %------------------------------15%
Trade 1 TP------------------------------------------20
Trade 2 TP------------------------------------------100
Money TP (USD)----------------------------------50---(This means if floating profit gets to this, close all trades)
Max Currency Loss-------------------------------------------------0
Basket Loss-----------------------------------------------------------0
Reversal Trades Distance-----------------------------------------0
Add other necessary inputs.
Inputs Guide
Basket TP------EA should be able to calculate net total amount of money in profit from all open trades, of all the open currencies with a trade. If the net total amount get’s to this level (floating profit), close all trades including those in loss and start again.
Max Currency loss-----This is the maximum loss one currency can have. EA will close trade after that loss and start again
Basket Loss--------------This refers to the total floating loss. If it gets to this level, close all trades even the ones in profit and start again.
Reversal Trades Distance-----Refers to minimum distance between two reversal trades. That is, if th we get a reversal signal on M30, then it fails, and the we get another reversal signal, EA will ignore the new signal if it is X pips close to the already opened reversal signal. X will be this input in pips.
Other things to Include
Expiry Date:----------------Default, 2023
3 Account Numbers-----------Default 00 (When 00, it can trade any account)
Include the Name of EA on the Chart, on the top right side in Orange
-----------------------------------------------
---- + One Forex Robot +----
---------eabungana@gmail.com-----
-------------------------------------------------
Below the name of the EA add (In white and smaller font than font size of the name) as shown below
----------------------------------------------------------
² Account No:
² Balance:
² Equity
² Floating
-----------------------------------------------------------
² Spread
² Leverage
----------------------------------------------------------
² Trend TP
² Currency SL
² Basket TP
² Basket SL
------------------------------------------------------------