TradingView
boitoki
23. Sept. 2019 13:36

FX Market Sessions 

GBP/JPYOANDA

Beschreibung

FXマーケットの時間帯ごとに枠で囲むインジケーターです。
60分足以下で有効となります。

Versionshinweise

  • 1分足ではエラーになるので、3分足以上を有効とするよう変更しました
  • 色をいくつか追加しました

Versionshinweise

- Added a feature "Show New High/Low of Its Sessions?"

セッション内で高値安値の更新があったところに背景色をつけられるよう追加しました。

Versionshinweise

  • Added a feature "Selecting the Rectangle Line Style".
  • Changed: "New High/Low Backgrounds is changed to works on realtime only".

Versionshinweise

  • Changed the fixed session times and labels to input
  • Added Fibonacci lines
  • Removed a switch of realtime, always painting in realtime

Versionshinweise

  • 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.

Versionshinweise

Modified what drawing lines was not well.

Versionshinweise

  • Added an option that set color of each sessions.
  • Added the alerts when session is started and ended.
  • And added some options.

Versionshinweise

Using `box.new()`

Versionshinweise

Versionshinweise

  • Added an option "Opening range's lookback periods"
  • Added alerts "Opening range breakout" (and Its visualization).

Versionshinweise

Modified (added `max_bars_back` in study funcsion)

Versionshinweise

  • 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.

Versionshinweise

Changed the default settings.
  • The "Extends forwards" is unchecked on default.

Versionshinweise

  • 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".


Versionshinweise

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


Example: Fibonacci lines

Versionshinweise

  • Solved the study error. (Added "max_lines_count")

Versionshinweise

  • Migrated to Pine script v5.
  • Added an option "Progress".
  • Added a changed value on labels.
  • Opening range's style changed.

Versionshinweise

  • Changed the closed icon.
  • Changed to prevent negative values from entering the bracket.

Versionshinweise

Added the "HTF Candles"

Example:

Versionshinweise

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:

Versionshinweise

Added an option "Display" on HTF Candle.
You can choose to display "Close-Open only", "High-Low only", or "Both".

Versionshinweise

Changed the minimum line thickness from 1 to 0.

Versionshinweise

  • Changed the method of calculating the x-coordinate of a box.
  • Removed the HTF (It plan to move on to other indicator)


Versionshinweise

Removed an options 'Closed icon'.
This is not necessary since the box is always displayed until the end time.

Versionshinweise

Added the options "Oscillator mode".

Example:

Versionshinweise

Added alerts that's "Price crossed the session's High/Low after session closed".

Versionshinweise

Changed the option about "Labels".
  • Changed the selection method.
  • Added an option "Day".


Example:

Versionshinweise

Fixed an issue that the 1st candle of session was not wrapped in the box.

Versionshinweise

The calculation of the periods of the Opening-range has been improved.

Versionshinweise

  • Modified the period calculation for Opening-range.
  • Removed the display conditions by timeframe

Versionshinweise

Changed the default value of session time based on "Babypips.com's forex market hours".

Versionshinweise

Fixed drawing issue.

Versionshinweise

  • Added an option "Candle"
  • Removed an option "Filled area"


Example: Candle

Versionshinweise

Added "GMT+430" and "GMT+330" time zones.

Versionshinweise

Added "GMT+530" time zones.

Versionshinweise

- Added one more session
- Changed the history setting to number
- Added an option of the box display style 'Sandwich'

Versionshinweise

Restore the "alert visualized" option.

Versionshinweise

  • Added an option "Bar" in each sessions.


Example:

Versionshinweise

Removed max value of history

Versionshinweise


  • Added an option "Dots" on open and close
  • Added an option "shadowing"
  • fixed bugs
  • code refactoring

Versionshinweise


  • Added "Information table".
  • Opening range design improved.
  • Removed shadowing.

Versionshinweise


  • "information table" improved.

Versionshinweise


  • Bug fixed
  • Added price label to opening range

Versionshinweise

  • Bug fixed.
  • Added an option to box style.

Versionshinweise

Added an option "average period" for the information table.

Versionshinweise

Added an option "include the latest bar in Session end".
Kommentare
xsparro
thanks for being a champ! and share your codes
boitoki
@TiX00E, Thank you!
ShojinRyori
Simply brilliant...
boitoki
@ShojinRyori, Thank you!
Lightwork_
Can you add 'Show Last X'? So that only 1 most recent box shows?

And also can you point please to a line that allows for a box to print the
boitoki
@Lightwork_, Thank you!
To display only the recent one, set History to "No" in the settings.

> And also can you point please to a line that allows for a box to print the
I'm not good at English so I could not understand it. Do you want to print on paper?
Lightwork_
@boitoki, thank you!

For the 'line' I mean the line in CODE that makes the box appear in full size even before session ended.
Very handy.
boitoki
@Lightwork_, ok.
It's in the "f_render_session" function at line 327.
studentspower
boitoki
@studentspower, Thank you!
Mehr