PINE LIBRARY

peterzorve-library

Updated
Library "library"

is_bullish_engulfing()

is_bearish_engulfing()

is_hammer(fib_level)
  Parameters:
    fib_level (float)

is_shooting_star(fib_level)
  Parameters:
    fib_level (float)

is_hammer_and_star(fib_level)
  Parameters:
    fib_level (float)

is_star_and_hammer(fib_level)
  Parameters:
    fib_level (float)

is_dogi(dogi_body_ratio)
  Parameters:
    dogi_body_ratio (float)

is_bear_bear_bullish_engulf()

is_atr_stoploss_takeprofit(atr_multiplier, atr_length, reward_ratio)
  Parameters:
    atr_multiplier (float)
    atr_length (simple int)
    reward_ratio (float)

is_fixed_stoploss_takeprofit(stoploss_pips, reward_ratio)
  Parameters:
    stoploss_pips (float)
    reward_ratio (float)

is_step_trailing_stoploss(stoploss_pips)
  Parameters:
    stoploss_pips (float)

is_atr_trailing_stoploss(atr_multiplier, break_even_pip)
  Parameters:
    atr_multiplier (float)
    break_even_pip (int)

is_pull_back_strategy(length)
  Parameters:
    length (simple int)

is_trade_statistics(condition, entrypoint, stoploss, takeprofit)
  Parameters:
    condition (bool)
    entrypoint (float)
    stoploss (float)
    takeprofit (float)

is_table_of_statistics(win_trades, lost_trades, even_trades, pips_won, pips_lost)
  Parameters:
    win_trades (int)
    lost_trades (int)
    even_trades (int)
    pips_won (float)
    pips_lost (float)

is_pine_info(lotsize, stoploss, takeprofit)
  Parameters:
    lotsize (float)
    stoploss (float)
    takeprofit (float)

is_support_and_resistance_strategy(look_back, look_forward)
  Parameters:
    look_back (int)
    look_forward (int)

is_choral_strategy(smoothing_period, constant_d)
  Parameters:
    smoothing_period (int)
    constant_d (float)

is_bollinger_band_strategy(length, dev_entry, dev_stoploss, dev_takeprofit)
  Parameters:
    length (int)
    dev_entry (simple float)
    dev_stoploss (simple float)
    dev_takeprofit (simple float)
Release Notes
v2
Release Notes
v3
Release Notes
v4

Added:
is_update_takeprofit(takeprofit)
  Parameters:
    takeprofit (float)
Release Notes
v5
MATHstringstechindicator

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