OPEN-SOURCE SCRIPT

Initial Balance

מעודכן
This script calculates and draws the initial balance price levels which can be really interesting for intraday activities.

Note: Obviously, you need to wait for the calculation period to finish in order to see your daily levels

The tool includes the following options
  • Customization of the session used to calculate the initial balance (default 0930-1030)
  • Show/Hide the calculation period (as a background color)
  • Show/Hide extra levels (report the IBH-IBL delta above and under the IB area)
  • Show/Hide intermediate levels (displays 50% price levels in the IB and extra areas)
  • Show labels (Display levels names as well as their price on corresponding lines)
    Levels names:
    - IBH (Initial Balance High)
    - IBH (Initial Balance Low)
    - IBM (Initial Balance Middle)
    - IBH x2
    - IBL x2
  • Default colors are green for high levels, red for low levels, and orange for intermediate levels
  • Extend levels (extends the current levels to left/right/both/none sides of the chart)


הערות שחרור
Note : Must be used under 30min timeframe (included)

  • max_bars_back parameter added
  • Tiny bug counting an unnecessary candle above 1m charts

הערות שחרור
Updates
  • default High and Low colors are now inverted
  • 3rd H/L levels added
  • High/Low delta of the initial balance is now displayed next to the IBM level
הערות שחרור
Updates:

  • The IB area is now colored to keep an easy view of a potential current trend formed through previous days (can be disabled)
  • Line style for main/extended/intermediate levels can be modified
הערות שחרור
Update

  • IB of previous days is disabled by default
  • IB calculation period background disabled by default
הערות שחרור
Update

  • Labels size can be modified in options
הערות שחרור
Update:

A few weeks ago, I wanted to have an quick synthesis of the current initial balance size compared to previous days, so I implemented a screener comparing the current IB delta with Min/Max/Avg delta of the 20 previous sessions to easily determine a Small/Medium/Huge status.
balanceCandlestick Analysisdaytradinginitialinitialbalanceintraday

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?

כתב ויתור