kaigouthro

ColorArray

kaigouthro Güncellendi   
Library "ColorArray"
Simple color array gradient tool.

makeGradient(size, _col1, _col2, _col3, _col4, _col5) Color Gradient Array from 5 colors.
  Parameters:
    size: : default 10
    _col1: : default #ff0000
    _col2: : default #ffff00
    _col3: : default #00ff00
    _col4: : default #00ffff
    _col5: : default #0000ff
  Returns: array of colors to specified size.
Sürüm Notları:
v2

Big update: no Limitation on color number now. anywhere from 2-10 is automatic, any more than 10 colors, Input an array.

backwards compatible with old version.

Enjoy!

Updated:
makeGradient()
Sürüm Notları:
v3

HSV gradient UPGRADE.. MUCH nicer fades.
Sürüm Notları:
v4
Bump library imports, removed demo from code for faster loading, also, hsl option mode (for larger arrays or fewer colors suggested..)

Updated:
makeGradient()
Sürüm Notları:
v5

bumped import to latest
Sürüm Notları:
v6

special tool for double gradients based off of being above/below threshold.
neutral point, first level, second level, then when it' peaks at ath or atl.

Added:
fade(_src, _mid, _colsin, _th, _thmax)
  Multiple Color Fader (Negative Limit, Negative strong, Negative mild, neutral, Positive mild, Positive strong, Positive limit)
  Parameters:
    _src: (float ) input value to follow
    _mid: (float ) midpoint ( 0 for osc)
    _colsin: (color ) colors to generate the fades
    _th: (float ) 0-1,threshold to first level
    _thmax: (float ) 0-1,threshold to second level
  Returns: color output
Sürüm Notları:
v7

Fixed problem on Fade, added Focus, Give itt a try :)

Updated:
fade(_source, _mid, _colsin, _th, _thmax)
  Multiple Color Fader (Negative Limit, Negative strong, Negative mild, neutral, Positive mild, Positive strong, Positive limit)
  Parameters:
    _source: (float ) input value to follow
    _mid: (float ) midpoint ( 0 for osc)
    _colsin: (color ) colors to generate the fades
    _th: (float ) 0-1,threshold to first level
    _thmax: (float ) 0-1,threshold to second level
  Returns: color output
Pine kitaplığı

Gerçek TradingView ruhuyla yazar, topluluğumuzdaki diğer Pine programcılarının yeniden kullanabilmesi için bu Pine kodunu açık kaynaklı bir kitaplık olarak yayınladı. Yazarın eline sağlık! Bu kitaplığı özel olarak veya diğer açık kaynaklı yayınlarda kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Kullanım Koşulları tarafından yönetilir.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.

Bu kütüphaneyi kullanmak ister misiniz?

Metni panoya kopyalayın ve komut dosyanıza yapıştırın.