Trendline EA Help Guide

11 July 2018, 13:38
Carlos Oliveira
25
2 807

The Trendline EA is a robot that helps you trade using the trendlines drawn on your chart.
You only have to change the description of the trendline to the action that you wish to perform and the robot will do the rest.

Buy on Touch Example

Example of a simple Trendline Buy on Touch

  • Supported Actions:
    • Open Buy/Sell order
    • Close Buy/Sell/All orders
    • Set Lot sizeStop Loss and Take Profit upon opening of order
  • Perform action upon event:
    • Touch
    • Pullback
    • Breakout

Available 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 | AoT | AlertOnTouch (Send an alert whenever price reaches the trendline)
  • AoB | AlertOnBreakout (Send an alert whenever price breaks above or bellow the trendline)
  • AoP | AlertOnPullback (Send an alert whenever price pulls back and touches the trendline)
  • AoFB | AlertOnFalseBreakout (Send an alert whenever price makes a false breakout and returns to the trendline)

Parameters

  • TP: | TakeProfit:
    • Ex: BuyOnTouch TP:200
  • SL: | StopLoss
    • Ex: SellOnBreakout SL:50
  • Volume: | Vol: | V:
    • Ex: ClosePartial vol:0.02

Some usage examples

  1. Ex: Sell 0.05 lots on touch of trendline with stop loss of 20 pips and take profit of 50 pips.

    SoT SL:20 TP:50 Vol:0.05

  2. Ex: Buy default lots on breakout of trendline with stop loss of 100 pips

     BoB SL:100

  3. Ex: Close all Sel orders that touch this trendline

    CaS

  4. Ex: Close only 0.01 lots of order that touches this trendline

    CP vol:0.01

  5. Ex: 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

    Buy 0.05 lots on breakout of trendline with stop loss of 100 and take profit of 100

FAQ

  • How do the actions BuyOnPullback and SellOnPullback work?

R: These actions work like this: 
    • First the EA waits for a candle to cross and close on the other side of a trendline
    • If after the close, any of the following candles comes back and touches the trendline, the EA will open a trade

Buy on Pullback example

 

Sell on Pullback example

 

  • How do the actions SellOnFalseBreakout and BuyOnFalseBreakout work?

The SoFB and BoFB are basically commands that will open an order if price breaks the trendline and then reverses back.

Buy on False Breakout Sell on False Breakout


The "Min distance for False Breakouts" value is used to filter the breakouts. 

For example if the parameter is set to 100 points and the price breaks the trendline and only moves 50 points further and then reverses, the order will not be opened.

Buy on False Breakout example



  • In the Settings, what is the difference between Types of breakouts?

    • 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“.

Buy on Breakout with on close of candle active

Buy on Breakout with on close of candle active

Buy on Breakout with on distance in pips active

Buy on Breakout with on distance in pips active

Any suggestions or issues please don’t hesitate to contact me.







Share it with friends: