• Overview
  • Reviews (6)
  • Comments (115)
  • What's new

Trendline EA

The FXTT Trendline EA for MT4 is a robot that helps you trade using the trendlines drawn on your chart. It basically allows you to set pending orders using trend lines. Something that Metatrader does not allow you to do by default.

  • Easy to set up
  • Choose default Lot size, Stop Loss and Take Profit
  • Allows action on Touch, Pullback or Breakout of trendline

The usage and configuration of the Expert Advisor is as follows:

  • Load the EA
  • Draw your trendlines on the chart
  • Add Buy or Sell actions to your trendlines
  • If desired, you can configure specific actions per line
  • Let the EA manage the trades

Input Parameters

  • Enabled - This parameter controls if the EA is enabled or not
  • Magic Number - The magic number for all the opened orders.
  • Maximum Slippage (in pips) - The maximum slippage allowed (in pips) for the open orders.
  • Minimum line distance (in pips) - The minimum distance (in pips) that price must be from the line to be considered as a touch.
  • Default Stop Loss (in pips) - The default value to use as a Stop Loss if none is defined on the trendline.
  • Default Take Profit (in pips) - The default value to use as a Take Profit if none is defined on the trendline.
  • UseMoneyManagement - If true, the default lot size will be calculated according to the parameter Risk Percent.
  • Risk Percent (MAX.10%) - The default volume is calculated according to a risk percent of the account balance (If no volume command is present on the trendline).
  • Default Lot Size - The default volume to use (if no volume command is present on the trendline).
  • Type of breakout – For breakout events, how do you prefer the EA to detect a breakout:
    • On close of candle – the order will only be opened after the candle closes after breaking the trendline.
    • On distance in pips – the order will be opened as soon as price breaks the trendlines by the number of pips defined in “Breakout distance in pips“.
  • Breakout distance in pips – Only if the "On distance in pips" option is active, this parameter allows you to define the distance in pips from the trendline for which the EA will consider a breakout.
  • Buy Type – Customize Buy action triggers (when Bid or when Ask touches the trendline)
  • Reentry Type – Allow one or multiple orders per trendline (open new order after closing the previous one)
  • Minimum shift for false breakouts - In order for a false breakout action to be triggered, the price must move past the trendline at least this number of pips
  • Popup Alerts - Show a popup alert whenever price reaches an "Alert" trendline
  • Email Alerts - Send an email alert whenever price reaches an "Alert" trendline
  • Send push notifications - Send a push notification whenever price reaches an "Alert" trendline
  • Sound Alerts - Play a sound alert whenever price reaches an "Alert" trendline
  • Sound file name - The .wav file to play as a sound alert

Keep in mind

  • This EA is a tool that assists in your trading. It does not work without user intervention.
  • Using a robot carries risk. You should test it on a demo account FIRST to understand how it works.

Available Action Commands

  • Buy | BoT | BuyOnTouch
  • Sell | SoT | SellOnTouch
  • BoB | BuyOnBreakout
  • SoB | SellOnBreakout
  • BoPB | BuyOnPullback
  • SoPB | SellOnPullback
  • BoFB | BuyOnFalseBreakout
  • SoFB | SellOnFalseBreakout
  • CaB (Close all Buy orders on touch)
  • CaS (Close all Sell orders on touch)
  • CaO (Close all orders on touch)
  • CP (Close partial volume of order on touch)
  • Alert (Send an alert whenever price reaches the trendline)

Available Action Parameters

  • TakeProfit | TP
  • StopLoss | SL
  • Volume | Vol | V

Usage Examples

  1. Sell 0.05 lots on touch of trendline with stop loss of 20 pips and take profit of 50 pips.
    • Sell SL:20 TP:50 Vol:0.05
  2. Buy default lots on breakout of trendline with stop loss of 100 pips
    • BuyOnBreakout SL:100
  3. Close all Sell orders that touch this trendline
    • CaS
  4. Close only 0.01 lots of order that touches this trendline
    • CP vol:0.01
  5. Buy 0.05 lots on breakout of trendline with stop loss of 100 and take profit of 100
    • BoB SL:100 TP:200 V:0.05
  6. Alert with message "Trendline reached" when price touches the trendline
    • Alert trendline reached
Aitor Romero
Aitor Romero 2019.05.05 20:12 

Great product It is a tool that has become essential in my successful trading. Thanks, Carlos. I will look forward to the new version.

quangbachpr 2019.02.26 17:46 

User didn't leave any comment to the rating

Martin Volk
Martin Volk 2019.01.28 19:45 


testbacon 2018.06.14 08:06 

Amazing EA for the price! There are some things that could be improved upon or added, but at this price, you can't complain! Highly recommended. Don't bother with the demo version, support the developer and fork out the $30. He responds very quickly to questions and fixes bugs in a timely manner.

***EDIT/UPDATE June 14, 2018***: After using it for a while, I have encountered a few bugs, which have unfortunately caused me to lose money. I can't rely on this EA at the moment, so I cannot recommend it in its current state.

david.ekerold 2018.04.06 17:44   

Hello Carlos I cannot download the Trendline Ea which I have paid $30 for as I do not know my password. Please help? david.ekerold@gmail.com

GermanPotato 2017.11.24 12:46 

One of the best tool which i know....

I was looking for a long time such a tool.... :-)


Version 1.120 2018.04.04
Fixed bug where CaO command would close orders on all charts
Added Money management & RiskPercent
Added ability to change the Minimum line distance
Version 1.85 2018.01.16
- Implemented new action: Buy/Sell on False Breakout
- Performance improvements
- Bug fixes
Version 1.70 2017.11.02
- Added feature to allow multiple actions per line.
- Added "ReentryType" option that allows multiple entries per line.
- Added "BuyType" option to choose the detection of BUY actions (on ASK or on BID).
- Added Alert options for Popup, Email, Push Notification and Sound
- Fixed bug where horizontal lines would not trigger the defined actions
- Several minor bug fixes
Version 1.20 2017.08.24
Small bug fixes