Join our fan page
- Views:
- 16068
- Rating:
- Published:
- 2019.01.18 00:55
- Updated:
- 2024.02.11 23:25
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The Predator EA trades with two strategies ,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ
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).
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).
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).
- Strategy - Choose between 2 strategies (Strategy1,Strategy2).
- Lots - Lots size (values: 0.01-10).
- Lots size Exponent (values: 1.01-2).
- MaximumRisk - maximum risk from total margin in %, (values: 0.01 - 0.3).
- If "MaximumRisk =0" then "Lot=constant"
- DecreaseFactor - decrease from total margin if you lose a trade.
- Stop_Loss - Stop Loss (values: 10-100).
- MagicNumber - Magic number (values: 1-100000).
- TakeProfit - Take Profit (values: 10-100).
- FastMA - Fast Moving Average (values: 1-20).
- SlowMA - Slow Moving Average (values: 50-200).
- Distance-Distance between two averages (values: 10-60).
- Mom_Sell-Momentum_Sell trtrigger(values: 0.1-5).
- Mom_Buy-Momentum_Buy trtrigger(values: 0.1-5).
- Max_Trades(1-12).
- -----------------------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).
- ///////////////////////////////////////////////////////
![Draw vertical lines at time](https://c.mql5.com/i/code/indicator.png)
A simple indicator to draw vertical lines at specified time in the settings.
![BrainTrendSignalAlerts indicator for MetaTrader 4.](https://c.mql5.com/i/code/indicator.png)
Software is the modifying indicator base on BrainTrend2SigALERTS by BrainTrading Inc. with Signal and Alert, email alert and option to display trader info and signal. Hopefully useful for fellow traders.
![Pure Price Action+push notifications](https://c.mql5.com/i/code/expert.png)
Pure Price Action EA trades with "Price Action" strategy,has Trailing Stop Loss &Take Profit works best on 1H time frame major forex pairs and stocks NASDAQ.
![Day Trading](https://c.mql5.com/i/code/expert.png)
"Day Trading" EA Trades with Day Trading strategy,has Trailing Stop Loss &Take Profit works on 1D time frame major forex pairs and stocks NASDAQ.