Join our fan page
Candle Trailing Stop - expert for MetaTrader 4
- Views:
- 18439
- Rating:
- Published:
- 2019.01.08 02:05
- Updated:
- 2024.02.07 02:13
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
"Candle Trailing Stop" EA trades with 3 MA's and uses candels for Trailing Stop Loss &Take Profit works best on 4H 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).
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).
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).
- tick=If "tick"=false-every tick\If "tick"=true -open prices (values:true/false).
- Lots - Lots size (values: 0.01-1).
- Lots size Exponent (values: 1.01-2).
- IncreaseFactor -how much to increase lots from total margin if you lose a trade (values: 0.001-0.1).
- Stop_Loss - Stop Loss (values: 30-500). /set value 600 for Multiple Trades
- MagicNumber - Magic number (values: 1-100000).
- TakeProfit - Take Profit (values: 50-200). /set value 600 for Multiple Trades
- FastMA - Fast Moving Average (values: 1-20).
- SlowMA - Slow Moving Average (values: 50-200).
- Mom_Sell-Momentum_Sell trigger(values: 0.1-5).
- Mom_Buy-Momentum_Buy trigger(values: 0.1-5).
- ---------------------CONTROL DRAW DOWN-----------------------------
- UseEquityStop - (values: true).
- TotalEquityRisk- (values: 0.01-20).
- -------------------------------------------------------------------------------
- Max_Trades(1-12).
- FractalNum= Number Of High And Low(values: 1-10).
- ----------------IF YOU USE ONLY 1 TRADE:-----------------------
- /////////////////////////////////////////////////////////////////////
- USETRAILINGSTOP-If use trailing stop (values:true/false).
- WHENTOTRAIL-When to trail (values: 40-100).
- TRAILAMOUNT-Trail amount (values: 40-100).
- Distance From Candle -Distance From Candle (values: 1-100).
- USECANDELTRAIL=If use trailing stop (values:true/false).
- X=2-number of candles (values: 1-100).
- USEMOVETOBREAKEVEN-Enable " break even " (values: true/false).
- WHENTOMOVETOBE-When to move break even (values: 1-30).
- PIPSTOMOVESL=30-How much pips to move stop loss (values: 1-30).
- ////////////////////////////////////////////////////////////////////////
"Macd Power" trades with 2 " Macd " indicators has virtual Stop Loss & Take Profit works on 4H & 1D time frames major forex pairs and stocks NASDAQ.
Hedg System"Hedg System" EA trades with hedging strategy two trades at any given time: Buy and Sell ,works best on 1D time frames major forex pairs .
"Aouto Adjusting" modified EA trades with 3 MA's and uses candels for Trailing Stop Loss &Take Profit and has aouto adjusting lot, works best on 4H time frames major forex pairs and stocks NASDAQ.
Aroon EAEA that use Aroon indicator