TradingView
temmuzss
Jun 18, 2021 10:10 PM

sadosi trends and barrier 

Bitcoin / TetherUSBinance

Description

This indicator should be used for give ideas.

what they can do?
  • draw up and down trend lines
  • draw support and resistance lines
  • to inform about the current price
  • signal for high and low prices


how can?
By analyzing the prices in the 3 selected periods, 3 highs and 3 lows prices are marked. With the marked points, trend and resistance lines are drawn. The current price is analyzed and useful calculations displayed in the info box. Finaly adding moving averages. After all these transactions, the trend and resistances become easily visible on the chart.

You can fine-tune the angle of the trend using high and low extensions

you can catch different trend lines by changing the high and low trend points

By changing the periods, you can set position the trend lines more accurately.

When the price is too low or too high, the information box will warn you by change color.

The trend lines to be created are for the purpose of giving an idea and convenience. It can be used on all timeframes, including horizontal trends.
Comments
Parimal_S
thanks
UnknownUnicorn27110487
great code man. can you please add price to S/R levels. it will be easy to see S/R in numbers. also will be good if it will calculate the fibo levels too. thank you, wish u all the best.
WazzaMort
excellent thanks!
MarvinMore
purpose of (p1 ,p2 and p3) swing points?
temmuzss
@marvelousakuma11, drawing different trend lines. may be now u dont need but u will need change 1-3 , 1-2 or 2-3.
Script can not make a perfect choice. so I left the final choice to the user.
canbabacan
How can i thank you! i was looking for this :D
temmuzss
@canbabacan, hopefully it benefits for you. Please report any imperfect things.
More