PINE LIBRARY
Telah dikemas kini

calculate_quantity

61
Library "calculate_quantity"
calcualate quantity for each kind of a chart

calculate_position(entry_level, lowest_low, rr)
  Parameters:
    entry_level (float)
    lowest_low (float)
    rr (int)
Nota Keluaran
v2

Added:
calculate_position_by_direction(entry_level, stop_level, rr, direction)
  Parameters:
    entry_level (float)
    stop_level (float)
    rr (int)
    direction (string)
Nota Keluaran
v3

Removed:
calculate_position(entry_level, lowest_low, rr)
Nota Keluaran
v4

Added:
get_take_profit_price(direction, entry_price, stop_price, rr)
  Parameters:
    direction (series Direction)
    entry_price (float)
    stop_price (float)
    rr (int)

calculate_futures_qty(direction, entry_price, stop_price, multiplier)
  Parameters:
    direction (series Direction)
    entry_price (float)
    stop_price (float)
    multiplier (float)

calculate_qty(type, direction, entry_price, stop_price, multiplier)
  Parameters:
    type (series ChartType)
    direction (series Direction)
    entry_price (float)
    stop_price (float)
    multiplier (int)

Removed:
calculate_position_by_direction(entry_level, stop_level, rr, direction)
Nota Keluaran
v5

Updated:
calculate_qty(direction, entry_price, stop_price)
  Parameters:
    direction (series Direction)
    entry_price (float)
    stop_price (float)
Nota Keluaran
v6
Nota Keluaran
v7
Nota Keluaran
v8
Nota Keluaran
v9
Nota Keluaran
v10
Nota Keluaran
v11

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.