mgruner

Support and resistance zones

mgruner 已更新   
Discretionary traders often use support and resistance zones that are based on past price action of the instrument traded.

This simple script is used to plot support and resistance zones for a given instrument. The data for the zones themselves has to be determined by the past price action of the instrument and are not based on the provided data by Tradingview.

The zones input has to come as a string. Each zone consists of a string with: "<low(number)>,<high(number)>,<"S"|"R"|"L">,<"Normal"|"Strong">"" The different zone strings have to be seperated by either new line or space.

An example for the zones input looks like:

3919.25,3919.25,L,Normal
3897.50,3906.50,R,Normal
3891.00,3894.50,S,Strong

I appreciate any feedback.
版本注释:
- fix the start-bar of the boxes
- place labels after the last bar of the chart
版本注释:
-Some more code clean-up
-move start of the zone to start of the day
版本注释:
Allow for optional comments in one zone string, for example "3868.00,3878.00,S,Normal,My-comment_without_space"
版本注释:
Fix label overlay on new bars.
版本注释:
Fix: move Labels on a new bar
版本注释:
Allow for zones boxes to be started some days back and not only today via input parameter.
版本注释:
Adjusted the labels to not be centered, but left.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?