PINE LIBRARY

amibroker

Updated
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.
Release Notes
v2 changes:
  • [* (FIXED) - there is a bug that consecutively occurs every bar on the first few signals.]
amibrokerarraysdisplay

Pine library

In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House rules.

Disclaimer