TradingView
mgruner
2022年9月17日晚上8點12分

Support and resistance zones 

E-mini S&P 500 Futures (Dec 2022)CME

描述

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.
評論
ChrisTinaBruceSD
Thank You. I had developed a similar zone indicator but I had to manually add the upper & lower limits. Awais would be proud. 💋
mgruner
@ChrisTinaBruceSD, Not sure about this. I think he charges for the indicator in Ninja Trader. 😉
vinikumar72
How to add this doesn't show any support or resistence line on my chart।what to do
mgruner
@vinikumar72, thank you for your feedback. As written above the zones have to be provided by the user, they are not calculated based on Tradingview data.
更多