PINE LIBRARY
Mis à jour

srcCalc

1 596
Library "srcCalc"
Provides functions for converting input strings 'open','high','low','close','hl2','hlc3','ohlc4','hlcc4' to corresponding source values.

get_src(src)
  Converts string to source float value
  Parameters:
    src: String to use (`close` is used if no argument is supplied).
  Returns: Returns the float value of the string
Notes de version
v2

Added:
return_bool(op, left_val, right_val)
  Evaluates a conditional expression of 2 values given a string of the conditional operator.
  Parameters:
    op: Conditional operator string to use. (options: '>','>=','==','<=','<','!=')(default: '==')
    left_val: Left value of expression. (default: float 0.0)
    right_val: Right value of expression. (default: float 0.0)
  Returns: Returns the boolean value of conditional expression

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.