PINE LIBRARY
Atualizado

amibroker

Library "amibroker"
This library consists of functions from amibroker that doesn't exist on tradingview pinescript. The example of these are the ExRem and Flip.
In the example below, I used ExRem to remove the excessive buy and sell signals. Meanwhile, I used the Flip to highlight the bg color when there is an open position.

exrem(series1, series2) Removes excessive signals. Pinescript version of ExRem in Amibroker (amibroker.com/guide/afl/exrem.html)
  Parameters:
    series1: boolean
    series2: boolean
  Returns: boolean

flip(series1, series2) works as a flip/flop device or "latch". Pinescript version of Flip in Amibroker: (amibroker.com/guide/afl/flip.html)
  Parameters:
    series1: boolan
    series2: boolean
  Returns: boolean.
Notas de Lançamento
v2 changes:
  • [* (FIXED) - there is a bug that consecutively occurs every bar on the first few signals.]

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.