cryptolinx

Progressbar

Library "Progressbar"

Feel free to contribute for an extended version. 😊 Still in development.

We hope you enjoy it! 🎉

CRYPTOLINX - jango_blockchained 😊👍

*** MORE EXAMPLE WILL COMING UP SOON ***

Disclaimer:
Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely.

The script is for informational and educational purposes only. Use of the script does not constitute professional and/or financial advice. You alone have the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold cryptolinx TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script.

--

*** A fully customizable progressbar. ***
bar(series, series, series, simple, series, series, simple, simple, simple, simple, simple, simple, simple, simple, series, series, series, series, series, simple, simple, simple, simple, simple, simple, simple)
@version 0.7 dev
--
  Parameters:
    series: line `_arrLine` *requird collect line objects.
    series: label `_arrLabel` *requird An array to collect label objects.
    series: color `_theme` *requird
- Option A: => Background Color; => Text Background Color; => Bar Unfilled Color; Bar Filled Color;
- Option B: => Background Color; => Text Background Color; => Bar Unfilled Color; Bar Filled Color; => Bar Filled Color Gradient]
- Option C: => Background Color; => Text Background Color; => Bar Unfilled Color; Bar Filled Color; Bar Filled Color; Bar Filled Color; ...
    simple: int `_offsetX` *requird Set xloc anchor point offset value, relative to the current bar_index
    series: int `_y` *requird Set yloc anchor point value,
    series: float `_value` *requird Indicated value.
    simple: float `_min` *requird Minimal value to show.
    simple: float `_max` *requird Maximal value to show.
--
    simple: int `_slices` defval Total amounut of slices.
    simple: int `_sliceWidth` defval Width of each slice.
    simple: int `_sliceHeight` defval Height of each slice, in linewidth.
    simple: int `_collapse` defval Collapse between slices, in bars.
    simple: int `_paddingWidth` defval Padding width, left/right.
    simple: int `_paddingHeight`defval Padding height, top/bottom.
    series: string `_textLeft` defval Text left.
    series: string `_textRight` defval Text right.
    series: string `_textTop` defval Text top.
    series: string `_textBottom` defval Text bottom.
    series: string `_tooltip` defval Text tooltip.
    simple: string `_textSize` defval Set text size.
    simple: string `_textPadding` defval Padding between text and progressbar.
    simple: string `_style` defval Linestyle.
    simple: bool `_prefill` defval Option to color bar, if current value is greater than sliceStart xor sliceEnde.
    simple: bool `_mark` defval Option to only color a single bar / position.
    simple: float `_markSize` defval Set a factor to multiply sliceHeight of the marked bar.
    simple: bool `_gradient` defval Option to activate gradient color from _theme array index 4. See _theme description.
--
@return tuple `_offsetX`, `_y`, `fullLength`, `colBarFilled`, `colBarUnfilled` Returns callback data.
--

addDecoration(series, series, series, series, series, series, simple, simple) A fully customizable progressbar.
@version 0.3 dev
--
  Parameters:
    series: line `_arrLabel` *requird Collect line objects.
    series: string `_decor` *requird An array to collect label objects.
    series: int `_offsetX` *requird Set xloc anchor point offset value, relative to the current bar_index
    series: int `_y` *requird Set yloc anchor point value,
    series: int `_fullLength` *requird Set length of progressbar.
    series: color `_color` defval Set color.
    simple: string `_size` defval Set decoration size.
    simple: bool `_pingpong` defval Change output order from top-left, bottom-left, top-right, bottom-right to left, right. It also changes valign to center.
--
  Returns: void
--

getDecorations() A fully customizable progressbar.
@version 0.3 dev
--
  Returns: tuple string , string , string Returns current standard decorations as array.
--
Notes de version: v2
Rebuild:
bar()

Added:
addLabel()
addMarker()
addRange()
addAvg()
addDecoration()
addLoader()

Helper Functions:
__nl()
__isAbove()
__isBelow()
__isLeft()
__isRight()
__getParameter()
__setParameter()
__getIcon()
validatePosition()
unifyPosition()
switchPosition()

MORE EXAMPLE
+ BAR CUSTOMIZER
under the inicator version (Progressbar):
Bibliothèque Pine

Dans le véritable esprit de TradingView, l'auteur a publié ce code Pine en tant que bibliothèque open-source afin que d'autres programmeurs Pine de notre communauté puissent le réutiliser. Bravo à l'auteur ! Vous pouvez utiliser cette bibliothèque à titre privé ou dans d'autres publications open-source, mais la réutilisation de ce code dans une publication est régie par notre Règlement.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser cette bibliothèque?

Copiez le texte dans le presse-papiers et collez-le dans votre script.