Join our fan page
- Views:
- 15453
- Rating:
- Published:
- 2018.11.30 09:27
- Updated:
- 2024.02.29 00:09
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
This Martingale EA trades with "Demarker" indicator, it is considered relatively safe because it takes a single trade at a time(if you set"max trades"=1).
has Trailing Stop Loss &Take Profit works on all time frames major forex pairs and stocks NASDAQ.
If we lose a trade then the EA will take a new trade with a multiplied lot size,the EA has a special formula for calculating lot size.
USEMOVETOBREAKEVEN system functions like a stop loss
But a one-time function with a smaller value than the subsequent Stop Loss value to lock minimal profit and avoid loss if the price goes against you.
If you have reached a certain value of pips with the direction of the trade -
- WHENTOMOVETOBE - When to move break even (values: 10-100).
So how many pips would you like to move the stop loss above the price line of the open trade-
- PIPSTOMOVESL - How much pips to move stop loss (values: 10-100).
Try it on demo first.
This EA trades only with the price of open candle!
Trade volume of a position depends on previous trading results.
It provides the possibility to limit the maximum risk (in % of deposit) of the trade.
If you want to trade with constant lotsize say:0.01 lot ,you need to set "MaximumRisk =0" and "DecreaseFactor=0"
Or else you will have a calculation of Percent (%) of deposit and MaximumRisk.
Inputs
- Use_TP_In_Money- Use Take Profit In Money (values:true/false).
- TP_In_Money- Take Profit In Money (values: 10-100).
- Use_TP_In_percent- Use Take Profit In Percent (values:true/false).
- TP_In_Percent- Take Profit In Percent (values: 10-100).
- ------------[Money Trailing Stop For Multiple Trades]----------------------
- Enable_Trailing-Enable_Trailing with money (values:true/false).
- Take Profit In Money (in current currency) (values: 25-200).
- Stop Loss In Money(in current currency) (values: 1-20).
- --------------------------------------------------------------------------------------
- Exit= Close trades if the trend is against you and control draw dwon (values:true/false).
- Multiply= Multiply for Martingale (values: 1-4).
- Lots - Lots size (values: 0.01-1).
- Double_Lotsize=set to true if you want to just double every lotsize,
- Lot_Size_Increment=Additional orders will increase by this amount
- Stop_Loss=Stop Loss pips distance
- Take_Profit=Take Profit pips distance
- period=Demarker period (values: 1-50).
- MagicNumber - Magic number (values: 1-100000).
- ----------------"Timeset"--------------------------------
- Start=Start hour (values: 0-24).
- End= End hour (values:0-24).
- ------------------------------------------------------------
- Maximum_loss= Maximum allowed loss (values: 1-500).
- WaitTime=Wait time for loss in minutes (values: 1-360).
- Max_Trades= (values: 1-10).
- IF YOU USE ONLY 1 TRADE:
- //////////////////////////////////////////////////
- TrailingStop-set a value from 40 to 100 to activate trailing stop loss & take profit, "0" will not activate trailing stop loss.
- Enable "Break Even" -(values:true/false).
- When move "Break Even"- (values: 5-30).
- How much pips move- "Break Even" (values:5-30).
- ///////////////////////////////////////////////////////
![Color MACD](https://c.mql5.com/i/code/indicator.png)
MACD indicator, red color mean bullish, blue color mean bearish.
![Price_Action](https://c.mql5.com/i/code/expert.png)
Price_ActionEA trades with "PRICE ACTION" strategy has Trailing Stop Loss &Take Profit works on all time frames major forex pairs and stocks NASDAQ.
![Ichimoku](https://c.mql5.com/i/code/expert.png)
Ichimoku EA trades with "Ichimoku " and "Parabolic" indicators,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.
![Stochastic](https://c.mql5.com/i/code/expert.png)
Stochastic EA trades with two "Stochastic " indicators has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ .