OPEN-SOURCE SCRIPT

FX Market Sessions

已更新
FXマーケットの時間帯ごとに枠で囲むインジケーターです。
60分足以下で有効となります。
版本注释
  • 1分足ではエラーになるので、3分足以上を有効とするよう変更しました
  • 色をいくつか追加しました
版本注释
- Added a feature "Show New High/Low of Its Sessions?"

セッション内で高値安値の更新があったところに背景色をつけられるよう追加しました。
版本注释
  • Added a feature "Selecting the Rectangle Line Style".
  • Changed: "New High/Low Backgrounds is changed to works on realtime only".

版本注释
  • Changed the fixed session times and labels to input
  • Added Fibonacci lines
  • Removed a switch of realtime, always painting in realtime
版本注释
  • Added Opening Range option.
  • Removed New High/Low Background colors option.
  • Removed Fibonacci lines option.

    This Opening Range High and Low is calculated at 30 minutes from the market started.
版本注释
Modified what drawing lines was not well.
版本注释
  • Added an option that set color of each sessions.
  • Added the alerts when session is started and ended.
  • And added some options.
版本注释
Using `box.new()`
版本注释
版本注释
  • Added an option "Opening range's lookback periods"
  • Added alerts "Opening range breakout" (and Its visualization).
版本注释
Modified (added `max_bars_back` in study funcsion)
版本注释
  • Added an option "Extends Forwards"
  • Added an option "Show history"
  • Removed an option "Background colors". If you want no background, set the "Background opacity" to 100.


Example 1
When the "Extends Forwards" is checked.
(and in this case "Show history" is always unchecked.)
快照

Example 2
When the "Show history" is unchecked.
快照
版本注释
Changed the default settings.
  • The "Extends forwards" is unchecked on default.
版本注释
  • Changed to be able to set "Extends" for each section
  • And you can choice "Extends" or "Extends + End line"
  • Removed an option "Show History"
  • Added an option "Opening Range Line Style"
  • Could be displayed on 1 min TF


Example:
The blue one is that selected "Extends + End line".
The red one is that selected "Extends".
快照

版本注释
  • Solved the alert message 'get_posTopAndBottom...'
  • Added an option "Fibonacci lines" (Experimental feature)
  • Moved an option "Opening Range"


Example: Fibonacci lines
快照
版本注释
  • Solved the study error. (Added "max_lines_count")
版本注释
  • Migrated to Pine script v5.
  • Added an option "Progress".
  • Added a changed value on labels.
  • Opening range's style changed.
版本注释
  • Changed the closed icon.
  • Changed to prevent negative values from entering the bracket.
版本注释
Added the "HTF Candles"

Example:
快照
版本注释
Added an options "Display" and "Extend" on the HTF Candles.
You can choose between "Only today", "Only previous day", and "All".
The "Extend" option is only applied when you select "Only previous day".

Example:
快照
版本注释
Added an option "Display" on HTF Candle.
You can choose to display "Close-Open only", "High-Low only", or "Both".
版本注释
Changed the minimum line thickness from 1 to 0.
版本注释
  • Changed the method of calculating the x-coordinate of a box.
  • Removed the HTF (It plan to move on to other indicator)


快照
版本注释
Removed an options 'Closed icon'.
This is not necessary since the box is always displayed until the end time.
版本注释
Added the options "Oscillator mode".

Example:
快照
版本注释
Added alerts that's "Price crossed the session's High/Low after session closed".
版本注释
Changed the option about "Labels".
  • Changed the selection method.
  • Added an option "Day".


Example:
快照
版本注释
Fixed an issue that the 1st candle of session was not wrapped in the box.
快照
版本注释
The calculation of the periods of the Opening-range has been improved.
版本注释
  • Modified the period calculation for Opening-range.
  • Removed the display conditions by timeframe
版本注释
Changed the default value of session time based on "Babypips.com's forex market hours".
版本注释
Fixed drawing issue.
版本注释
  • Added an option "Candle"
  • Removed an option "Filled area"


Example: Candle
快照
版本注释
Added "GMT+430" and "GMT+330" time zones.
版本注释
Added "GMT+530" time zones.
版本注释
- Added one more session
- Changed the history setting to number
- Added an option of the box display style 'Sandwich'
版本注释
Restore the "alert visualized" option.
版本注释
  • Added an option "Bar" in each sessions.


Example:
快照
版本注释
Removed max value of history
版本注释

  • Added an option "Dots" on open and close
  • Added an option "shadowing"
  • fixed bugs
  • code refactoring
版本注释

  • Added "Information table".
  • Opening range design improved.
  • Removed shadowing.
版本注释

  • "information table" improved.
版本注释

  • Bug fixed
  • Added price label to opening range
版本注释
  • Bug fixed.
  • Added an option to box style.
版本注释
Added an option "average period" for the information table.
版本注释
Added an option "include the latest bar in Session end".
ForexfxmarketsessionsTrend AnalysisVolatility

开源脚本

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

想在图表上使用此脚本?


更多:

免责声明