Perfect Trend Line (2024)

49

v10.3

Perfect Trend Line (1)

The Perfect Trend Line indicator act as a trend following indicator. It is simply made of 2 lines from highest high and lowest low of 2 different periods, one short and a longer one.

If the price breaches the longest line, it is a sign a of potential trend reversal, while if price is in the cloud made of these 2 lines, it is only a retracement and a potential price rebound in the same direction as the main trend.

Confirmation of trend reversal are highlighted with blue and red dots.

The cloud can be expanded with the SlowPipDisplace and the FastPipDisplace settings which must be set in points/pips values.

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

//PRC_PerfectTrendLine ptl | indicator

//16.10.2017

//Nicolas @ www.prorealcode.com

//Sharing ProRealTime knowledge

//converted from MT4 version (original author mladen)

//enhanced version by Nicolas

// --- settings

//SlowLength = 7 // Slow length

//SlowPipDisplace= 0 // Slow pip displace

//FastLength = 3 // Fast length

//FastPipDisplace= 0 // Fast pip displace

// --- end of settings

thigh1 = Highest[SlowLength](high)+ SlowPipDisplace*pointsize

tlow1= Lowest[SlowLength](low)- SlowPipDisplace*pointsize

thigh2 = Highest[FastLength](high)+ FastPipDisplace*pointsize

tlow2= Lowest[FastLength](low)- FastPipDisplace*pointsize

if barindex>2 then

if Close>line1[1] then

line1 = tlow1

else

line1 = thigh1

endif

if Close>line2[1] then

line2 = tlow2

else

line2 = thigh2

endif

endif

if (Close[0]<line1[0] and Close[0]<line2[0]) then

trend =1

endif

if (Close[0]>line1[0] and Close[0]>line2[0]) then

trend = -1

endif

if (line1[0]>line2[0] or trend[0] =1) then

trena =1

endif

if (line1[0]<line2[0] or trend[0] = -1) then

trena = -1

endif

if trena<>trena[1] then

if trena=1 then

x = max(line1,line2)

r=200

g=20

b=60

else

x = min(line1,line2)

r=30

g=144

b=255

endif

drawtext("●",barindex,x,Dialog,Bold,10) coloured(r,g,b)

endif

drawbarchart(line1,line2,line1,line2) coloured(r,g,b,50)

return line1 coloured(r,g,b,100) style(line,1),line2 coloured(r,g,b,100) style(line,1)

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument.Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments :

How to import ITF files into ProRealTime platform?

Find other exclusive trading pro-tools on Perfect Trend Line (3)

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

Perfect Trend Line (2024)

FAQs

Perfect Trend Line? ›

A straight line must connect two highs in a downtrend. At least three highs or lows should connect the trend line to make it valid. The more times the price touches the trend line, the more valid it is. A trend line break, where the price breaks through the trend line, is another trading technique.

What is the best trend line? ›

A logarithmic trendline is a best-fit curved line that is used when the rate of change in the data increases or decreases quickly and then levels out. A logarithmic trendline can use both negative and positive values.

What is an example of a trend line? ›

An example of a trend line might be a child's height in their first 18 years of life. The height will fluctuate from year to year, but the trend will be in an upward direction.

What is the trend line rule? ›

The answer is very straightforward: During a downtrend, you connect the highs and during an uptrend, you connect the lows to draw a trendline. This has two benefits: you can use the touches to get into trend-following trades and when the trendline breaks we can use the signal to trade reversals.

What is an accurate trend line? ›

Trendline reliability A trendline is most reliable when its R-squared value is at or near 1. When you fit a trendline to your data, Graph automatically calculates its R-squared value. If you want, you can display this value on your chart.

What is a perfect trend line? ›

The line should be sloping in the direction of the trend. Validate the trendline: After drawing the trendline, step back and look at the price chart as a whole. Make sure the trendline makes sense in the context of the overall trend. If the trendline doesn't seem to fit, adjust it as necessary.

What is the best fit trend line? ›

What is Meant by Line of Best Fit? In Statistics, the line of best fit, also known as the trend line which represents the best of the given data points using the straight line on the scatter plot.

How to draw trend lines correctly? ›

Trend lines are drawn above the price in a downtrend. A straight line must connect two lows in an uptrend. A straight line must connect two highs in a downtrend. At least three highs or lows should connect the trend line to make it valid.

What is the standard trend line? ›

The Standard Trend Line: Standard uptrend lines are drawn between higher lows in an uptrend; the standard downtrend line is a line drawn between lower highs in a downtrend.

What is a trend line for beginners? ›

A trend line is a line that connects either the highs (down trend line) or the lows (up trend line) of the bars on a price chart to indicate the general direction of the trend. If the line is drawn off the highs and slopes downwards, it's considered a downtrend line, which indicates a bearish trend.

Do trendlines actually work? ›

Trendlines are a relatively simple tool that can be used to gauge the overall direction of a given asset, but, more importantly, they can also be used by traders to help predict areas of support and resistance.

What is the true trend line indicator? ›

TrueTL is a trendline indicator for Metatrader 4, which draws all trendline automatically. It's different than other auto trendline solutions for MT4: counts the beginning points from the actual timeframe's historical data, and the trendline ending is depending on the last visible pullback level.

What are the three types of trend lines? ›

Various types of trendlines exist, with the most prevalent being categorized as linear, logarithmic, polynomial, power, exponential, and moving average.

What is the main trend line? ›

A trendline is a line drawn over pivot highs or under pivot lows to show the prevailing direction of price. Trendlines are a visual representation of support and resistance in any time frame. They show direction and speed of price, and also describe patterns during periods of price contraction.

What is the best trend chart? ›

For trends over time, the ideal chart types are: Line graphs. Column bar charts. Area charts.

What is the best degree for a trend line? ›

Traders use an angle between 30-45 degrees to assess the strength of a trend. There are technical analysis packages that provide this tool. A higher degree of angle in an upward sloping trendline can be interpreted as demand being higher and resulting in higher prices.

References

Top Articles
Latest Posts
Article information

Author: Twana Towne Ret

Last Updated:

Views: 6002

Rating: 4.3 / 5 (44 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Twana Towne Ret

Birthday: 1994-03-19

Address: Apt. 990 97439 Corwin Motorway, Port Eliseoburgh, NM 99144-2618

Phone: +5958753152963

Job: National Specialist

Hobby: Kayaking, Photography, Skydiving, Embroidery, Leather crafting, Orienteering, Cooking

Introduction: My name is Twana Towne Ret, I am a famous, talented, joyous, perfect, powerful, inquisitive, lovely person who loves writing and wants to share my knowledge and understanding with you.