Join our fan page
- Views:
- 14918
- Rating:
- Published:
- 2019.02.16 04:25
- Updated:
- 2025.04.02 16:43
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
"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.
- 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"
- 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.
- 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-0.9).
- Mom_Buy-Momentum_Buy trigger(values: 0.1-0.9).
- ---------------------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).
- 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 should optimize this EA every few months and use the exact same inputs from above .
-You can use it as hedging grid EA or a single trade EA.
-How to perform back test:https://bit.ly/2CD7XWD

A higher period Bollinger band strategy used for trading reversals

Linear Regression Channel EA draws "Linear Regression Channel" on chart and trades with its trend,has Trailing Stop Loss &Take Profit works best on all time frames major forex pairs and stocks NASDAQ.

Instead of having to analyze each pair individually, you can see at a glance what are the most promising pairs according to your own criteria.

"Andrews Pitchfork" EA draws Andrews Pitchfork on chart and trades with its trend,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.