OPEN-SOURCE SCRIPT

Strat Assistant Alerts and Highs/Lows

업데이트됨
Strat Assistant FTC Only
----------------------------
█ OVERVIEW
This script is intended to highlight/draw lines for the prior high/low of 30, 60, day, week, month, quarter, as well as create the alerts for when these thresholds get crossed


Input
----------
  • The script has inputs for every time frame plotted - 30, 60, day, week, month, quarter. All of the following items below can be "modified"
  • is the high line active? (for the corresponding time frame, will plot the line yes or no - by default only the DAY is displayed)
  • is the low line active? (for the corresponding time frame, will plot the line yes or no - by default only the DAY is displayed))
  • The high line color - modify the color of the corresponding time frame high line to your liking
  • The low line color - modify the color of the corresponding time frame low line to your liking
    ['*] The time frame line width - make some lines wider than others for easier distinction


Output
----------
  • Lines for each corresponding time frame activated in the selected color and width.
  • Custom alerts - open a stock, select the Alerts button at the top, click the condition as the name of this script. The next drop down will show you all the corresponding alerts you can set for the current price crossing above the prior timelines high or below the prior timelines low (the bracket number [1] is just for sorting purposes).


Best Practices
----------
  • What's not mapped? - Style (you can't drive this by an input, by default day is dashed, the rest are a solid line)
  • What's not mapped? - Price on the Y axis. I'm still trying to figure this out, not sure you can do it. I can add a label, just gets cluttered fast
  • Played with this a little bit using crypto, but obviously I can't test out all these alerts without a lot of things moving. Please do your due diligence.
  • I know a million people are going to want a million things. I can create more alerts coming soon, for now I wanted to start with this. Please and comments or suggestions or feedback and I'll see what I can do. I can create labels (for price) randomly, but it will clutter the screen. Or I can create one big box or table with prices shown.

릴리즈 노트
Updates: Add in 5/15 timeframes as well as add {{close}} price to alert. Clean up comments (copy and paste).
릴리즈 노트
Update: FIx a few bug, and modify the DAY logic. If the day is "closed" it will be the prior /last bar. Makes sense to set alerts for the prior bar if it is 'closed', otherwise have to wait for the market to open.
릴리즈 노트
Update: fix a few bugs, add additional labels that can be turned off via configs (default on), label text can always be configured/changed. The label color will match the line color.
릴리즈 노트
Update: Change to allow for the label to be pushed further right based on an "offset"/input variable. Can be modified.
릴리즈 노트
Update: fixing an issue where the widths aren't updating correctly.
릴리즈 노트
Update: Fix a coding bug where the alert message was showing the wrong text
릴리즈 노트
Update: adding the price value to the label to show the $ amount
릴리즈 노트
Update: Added input for price as per request some don't like it.
Trend Analysis

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?


또한 다음에서도:

면책사항