Library "MarketAnalysis" A collection of frequently used market analysis functions in my scripts.
bullFibRet(priceLow, priceHigh, fibLevel) Calculates a bullish fibonacci retracement value. Parameters: priceLow (float): (float) The lowest price point. priceHigh (float): (float) The highest price point. fibLevel (float): (float) The fibonacci level to calculate. Returns: The fibonacci value of the given retracement level.
bearFibRet(priceLow, priceHigh, fibLevel) Calculates a bearish fibonacci retracement value. Parameters: priceLow (float): (float) The lowest price point. priceHigh (float): (float) The highest price point. fibLevel (float): (float) The fibonacci level to calculate. Returns: The fibonacci value of the given retracement level.
bullFibExt(priceLow, priceHigh, thirdPivot, fibLevel) Calculates a bullish fibonacci extension value. Parameters: priceLow (float): (float) The lowest price point. priceHigh (float): (float) The highest price point. thirdPivot (float): (float) The third price point. fibLevel (float): (float) The fibonacci level to calculate. Returns: The fibonacci value of the given extension level.
bearFibExt(priceLow, priceHigh, thirdPivot, fibLevel) Calculates a bearish fibonacci extension value. Parameters: priceLow (float): (float) The lowest price point. priceHigh (float): (float) The highest price point. thirdPivot (float): (float) The third price point. fibLevel (float): (float) The fibonacci level to calculate. Returns: The fibonacci value of the given extension level.
Biblioteca Pine
En el verdadero espíritu TradingView, el autor ha publicado este código Pine como una biblioteca de código abierto para que otros programadores Pine de nuestra comunidad puedan reutilizarlo. ¡Un brindis por el autor! Puede utilizar esta biblioteca de forma privada o en otras publicaciones de código abierto, pero la reutilización de este código en publicaciones se rige por Normas de la casa.
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
En el verdadero espíritu TradingView, el autor ha publicado este código Pine como una biblioteca de código abierto para que otros programadores Pine de nuestra comunidad puedan reutilizarlo. ¡Un brindis por el autor! Puede utilizar esta biblioteca de forma privada o en otras publicaciones de código abierto, pero la reutilización de este código en publicaciones se rige por Normas de la casa.
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.