VonnyFX

VonnyPublicLibrary

VonnyFX Aggiornato   
Library "VonnyPublicLibrary"
A collection functions commonly used within my scripts

EntryBull(float, float)
  Calculate when a bullish condition occurs. (When you have two variables)
  Parameters:
    float: Enter first variable
    float: Enter second variable
  Returns: True the first bar of your bullish condition

EntryBear(float, float)
  Calculate when a bearish condition occurs. (When you have two variables)
  Parameters:
    float: Enter first variable
    float: Enter second variable
  Returns: True the first bar of your bearish condition

LowestPivot(bool, bool, bool, float, float)
  Calculate the low of your bearish condition
  Parameters:
    bool: bullish condition
    bool: bearish condition
    bool: candle buffer to prevent the script from crashing. Since were working with a Dynamic Length
    float: Enter what you want to see the low off? Low of the bar OR Close of the bar
    float: Enter what you want to see the low off? Low of the bar OR Open of the bar..... might seem pointless but some times the Lowest open is lower then the Lowest Close
  Returns: Lowest point of your sell condition when ever your buy condition is triggered


HighestPivot(bool, bool, bool, float, float)
  Calculate the high of your bullish condition
  Parameters:
    bool: bullish condition
    bool: bearish condition
    bool: candle buffer to prevent the script from crashing. Since were working with a Dynamic Length
    float: Enter what you want to see the high off? High of the bar OR Close of the bar
    float: Enter what you want to see the high off? High of the bar OR Open of the bar..... might seem pointless but some times the Highest open is Higher then the Highest Close
  Returns: Highest point of your buy condition when ever your sell condition is triggered


lookBack(bool, bool)
  Calculate how many bars since your bullish condition and bearish condition.
  Parameters:
    bool: enter bullish condition
    bool: enter bearish condition
  Returns: How many bars elapsed since the most recent condition. Bullish or bearish
Note di rilascio:
minor changes
Note di rilascio:
v3
Note di rilascio:
v4
Note di rilascio:
v5
Note di rilascio:
v6
Note di rilascio:
v7
Note di rilascio:
v8
Note di rilascio:
v9
Note di rilascio:
v10
Note di rilascio:
v11
Note di rilascio:
v12
Note di rilascio:
v13

Libreria Pine

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzare questa libreria in privato o all'interno di altre pubblicazioni open-source, ma il riutilizzo del codice è subordinato al rispetto del Regolamento.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questa libreria?

Copia il testo ed incollalo nel tuo script.