This is a Pine Script library for handling complex numbers without arrays. It contains several utility functions for performing various operations on complex numbers, including converting complex numbers into tuples, getting the real and imaginary parts of a complex number, adding and subtracting complex numbers, computing the conjugate, multiplying and dividing...
Library "MathSpecialFunctionsDiscreteFourierTransform" Method for Complex Discrete Fourier Transform (DFT). dft(inputs, inverse) Complex Discrete Fourier Transform (DFT). Parameters: inputs : float array, pseudo complex array of paired values . inverse : bool, invert the transformation. Returns: float array, pseudo complex array of paired values .
Library "MathComplexEvaluate" TODO: add library description here is_op(char) Check if char is a operator. Parameters: char : string, 1 character string. Returns: bool. operator(op, left, right) operation between left and right values. Parameters: op : string, operator string character. left : float, left value of operation. right : float,...
Library "MathComplexTrignometry" Methods for complex number trignometry operations. sinh(complex) Hyperbolic Sine of complex number. Parameters: complex : float array, complex number. Returns: float array. cosh(complex) Hyperbolic cosine of complex number. Parameters: complex : float array, complex number. Returns: float array. tanh(complex)...
Library "MathComplexExtension" A set of utility functions to handle complex numbers. get_phase(complex_number, in_radians) The phase value of complex number complex_number. Parameters: complex_number : float array, pseudo complex number in the form of a array . in_radians : boolean, value for the type of angle value, default=true, options=(true:...
Library "MathComplexOperator" A set of utility functions to handle complex numbers. conjugate(complex_number) Computes the conjugate of complex_number by reversing the sign of the imaginary part. Parameters: complex_number : float array, pseudo complex number in the form of a array . Returns: float array, pseudo complex number in the form of a array ...
Library "MathComplexArray" Array methods to handle complex number arrays. new(size, initial_complex) Prototype to initialize a array of complex numbers. Parameters: size : size of the array. initial_complex : Complex number to be used as default value, in the form of array . Returns: float array, pseudo complex Array in the form of a array ...
Library "MathComplexCore" Core functions to handle complex numbers. set_real(complex_number, real) Set the real part of complex_number. Parameters: complex_number : float array, pseudo complex number in the form of a array . real : float, value to replace real value of complex_number. Returns: Void, Modifies complex_number. ...
Eng. Tradingview in the free version has a limitation - you can only use three indicators on the chart. Complex Oscillator indicator combines several indicators in one, it is: - RSI - Stochastic - WPR (%R) - Volumes The first three are chosen because their values are in the range |0-100| and one scale can be used for them. The volumes are added because I...