f4r33x

ReduceSecurityCalls

f4r33x Aggiornato   
Library "ReduceSecurityCalls"
This library allows you to reduce the number of request.security calls to 1 per symbol per timeframe. Script provides example how to use it with request.security and possible optimisation applied to htf data call.
This data can be used to calculate everything you need and more than that (for example you can calculate 4 emas with one function call on mat_out).

ParseSource(mat_outs, o)
  Should be used inside request.security call. Optimise your calls using timeframe.change when htf data parsing! Supports up to 5 expressions (results of expressions must be float or int)
  Parameters:
    mat_outs: Matrix to be used as outputs, first value is newest
    o: Please use parametres in the order they specified (o should be 1st, h should be 2nd etc..)
  Returns: outs array, due to weird limitations do not try this :matrix_out = matrix.copy(ParseSource)
Note di rilascio:
v2 fix some issues

Updated:
ParseSource(mat_outs, o)
  Parsedata function, should be used inside request.security call. Optimise your calls using timeframe.change when htf data parsing! Supports up to 5 expressions (results of expressions must be float or int)
  Parameters:
    mat_outs: deprecated
    o: Please use parametres in the order they specified (o should be 1st, h should be 2nd etc..)
  Returns: outs matrix (pine is weird, so now woks as intended)
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.