Tools for Drawing Trend Lines Using Shortcut Keys

Tools for Drawing Trend Lines Using Shortcut Keys

Indicator Overview

Tool for Drawing Lines Using Shortcut Keys and Mouse

This indicator allows users to draw trend lines and other graphic objects using keyboard shortcuts and mouse actions. For example, pressing 'T' switches to trendline drawing mode, enabling the user to draw with the mouse.

Similarly, horizontal lines, vertical lines, parallel channels, and Fibonacci retracements can be drawn quickly using keyboard and mouse.

Additionally, pressing 'P' displays a palette on the chart for easy switching of line colors and thickness.

【Example of palette display】

Example of palette display

How to Draw Trend Lines

To draw a trend line, align the cursor to the starting point, press and hold 'T', move the mouse to the endpoint, and press another key to finalize the line.

【Example of drawing a trend line】

Example of drawing a trend line

How to Draw Horizontal Lines and Other Objects

Press and hold 'H' to draw a horizontal line at the desired level, then press another key to finalize the line's position. Similarly, by pressing assigned shortcut keys (default values are referred below), move the mouse, and press another key at the endpoint to create graphic objects on the chart.

【Example of drawing a horizontal line】

Example of drawing a horizontal line

How to Use the Palette

The palette allows for the selection of line colors and styles, and can also modify the settings of already drawn lines.

The top row of the palette labeled 'COLOR' (Image①) allows for switching line colors by clicking. The middle left labeled 'RAY' (Image②) toggles the extension of lines in MT5 ('L' for left-side starting point, 'R' for right-side endpoint, with 'ON' extending and 'OFF' not extending). In MT4, 'ON' extends only the right side (endpoint), and 'OFF' does not extend.

The middle right labeled 'BACK' (Image③) sets the line display position behind or in front of the candlesticks ('ON' to display behind, 'OFF' to display in front).

The lower left 'WIDTH' (Image④) adjusts line thickness, and the lower right 'STYLE' (Image⑤) sets the line type.

Note: In MT4 and MT5, selecting any line thickness other than '1' defaults the line type to 'Solid' (solid line).

【Palette Example】 Palette Example

※ This indicator is only compatible with TitanFX's Windows versions of MT5 and MT4.

Indicator Terms of Use

Only those who agree to all the following items may use the indicators distributed on this website (https://research.titanfx.com):

1.The indicators and related descriptions are based on various data believed to be reliable, but their accuracy and completeness are not guaranteed.

2.The data displayed by the indicators do not guarantee your investment results. Also, the displayed content may vary due to market conditions and communication environments.

3.Please make investment decisions using indicators at your own risk. We are not responsible for any disadvantages or damages arising from the use of indicators.

4.Specifications of the indicators are subject to change without notice. Changes will be announced on the indicator description pages, etc.

5.Indicators should only be used by customers who have downloaded them. Transferring or selling the indicators to third parties is prohibited.

Settings for the Indicator

Inputs (MT5) and Parameter Inputs (MT4)

Variable NameDescriptionDefault
Palette colorSpecifies the background color of the palette.White
Text colorSpecifies the color of the text within the palette.Black
Selected colorSpecifies the color of the frame around the selected color.Lime
Color 01〜10Specifies each color in the palette.各色
Shortcut key PaletteSpecifies the key to toggle the palette's visibility.P
Shortcut key Horizontal lineSpecifies the key to switch to the horizontal line tool.H
Shortcut key Vertical lineSpecifies the key to switch to the vertical line tool.V
Shortcut key Trend lineSpecifies the key to switch to the trend line tool.T
Shortcut key Equidstant ChannelSpecifies the key to switch to the parallel channel line tool.E
Equidstant Channel width(pips)Specifies the default width of the parallel channel when drawn.50
Shortcut key Fibonacci retracementSpecifies the key to switch to the Fibonacci retracement tool.F
Line Color(Fibonacci retracement)Specifies the color of each level line in Fibonacci retracement.Yellow
Line Style(Fibonacci retracement)Specifies the line type for drawing Fibonacci retracement levels.Dot
Fibonacci Level 1〜9Specifies the percentage levels for Fibonacci retracement.Various Levels

Colors (MT5) and Color Settings (MT4)

This indicator does not use this tab.