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.
Gerçek TradingView ruhuyla, yazar bu Pine kodunu açık kaynaklı bir kütüphane olarak yayınladı, böylece topluluğumuzdaki diğer Pine programcıları onu yeniden kullanabilir. Yazar çok yaşa! Bu kütüphaneyi özel olarak veya diğer açık kaynaklı yayınlarda kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanılması Ev kuralları tarafından yönetilir.
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.