Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

Macd Secrets - expert for MetaTrader 4

Views:
18882
Rating:
(15)
Published:
2019.04.28 01:18
Updated:
2023.12.26 22:47
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Macd Secrets EA uses 3 different time frames  to find a trend,has Trailing Stop Loss &Take Profit works with all time frame major forex pairs and stocks NASDAQ.

Try it on demo first.

This EA trades only with the price of open candle!

If you do not want to trade with increasing lot size when you lose  a trade set:"IncreaseFactor=0"

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: 1-100).
  • Stop Loss In Money(in current currency) (values: 1-100).
  • ------------------------------------------------------------------------------------
  • Exit=Enable Exit strategy (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).
  • MagicNumber - Magic number (values: 1-100000).
  • TakeProfit - Take Profit (values: 50-200).
  • 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).
  • UseEquityStop -  (values: true).
  • TotalEquityRisk- (values: 0.01-5).
  • Max_Trades(1-5).  
  • 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).
  • ////////////////////////////////////////////////////////////


      You need to optimize this EA once  a week and use the exact same  inputs from above .

      You can use it as  hedging grid EA or a single trade EA.


        Different Signals Counting from indicator into EA via iCustom Different Signals Counting from indicator into EA via iCustom

        If you make your own EA with iCustom from any indicator, but you don't know which signals from indicator via iCustom work? This EA help you.

        Manual Hedging Manual Hedging

        Manual Hedging EA is an advanced hedging system.to trade manualy, each time you press the "Start" button, a sequence of trades begins ,When the market goes against you by certain number of pips, you open an opposite trade by a trade with slightly bigger lot size.

        Using the Williams AO and AC Indicators Using the Williams AO and AC Indicators

        This EA uses modified Williams Awesome Oscillator (AO) and Accelerator Oscillator (AC) indicators for trade entry.

        Grid expert Grid expert

        This ea designed based on Grid sterategy .