Gann Fan – EA MetaTrader 4

“Gann Fan” EA draws Gann FanΒ  on chart and trades with its trend,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

Try it on demo first.

You choose how to trade: only with the price of open candle or every tick !

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

I combined together a simple EA with two moving averages and Gann Fan,

The Gann FanΒ do not work on test mode,

The optimization tests can be performed only with moving averages,

In live trading only, Gann FanΒ and moving averages will work together,

During tests, the EAΒ  only draws the Gann FanΒ on the screen inΒ  visual mode without considering it in the creation of trades,

You need to perform back test with “open prices only” option,

The Gann FanΒ will function as a filter .

In this situation the probability of winning trades increases.

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-300).
  • Stop Loss In Money(in current currency)Β (values: 1-20).
  • ————————————————————————————
  • Gann FanΒ length (bars)(values: 10-100).
  • Gann FanΒ color.
  • tick=If “tick”=false-every tickIf “tick”=true -open pricesΒ  (values:true/false).
  • Exit= Close trades if the trend is against you and control draw dwon (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).Β 
  • 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).
  • UseEquityStopΒ –Β  (values: true).
  • TotalEquityRisk- (values: 0.01-5).
  • 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).
  • ///////////////////////////////////////////////////////////
  Get trend - EA MetaTrader 5

    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.


    πŸ“ˆ ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks