f4r33x

ReduceSecurityCalls

f4r33x Atualizado   
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)
Notas de Lançamento:
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)
Biblioteca do Pine

No verdadeiro espírito TradingView, o autor publicou este código de Pine como uma biblioteca de código aberto para que outros programadores de Pine de nossa comunidade possam reutilizá-lo. Um brinde ao autor! Você pode usar esta biblioteca em particular ou em outras publicações de código aberto, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Gostaria de usar essa biblioteca?

Copie a seguinte linha e cole-a em seu script.