PINE LIBRARY
已更新

capital_management

341
Library "capital_management"
TODO: add library description here

Volume_calculation(precent_risk, order_entry_price, stop_loss_price)
  TODO: Volume calculation function by placing orders with fiven % risk
  Parameters:
    precent_risk (float)
    order_entry_price (float)
    stop_loss_price (float)
  Returns: stop_loss_price: Price that place stop loss order
版本注释
v2

Added:
order_volume(percent_risk, order_entry_price, stop_loss_price)
  : Function to calculate order volume according to given risk percent
  Parameters:
    percent_risk (float)
    order_entry_price (float)
    stop_loss_price (float)
  Returns: stop_loss_price: Price that place stop loss order

calculate_takeprofit_price(entry_price, stop_loss_price, risk_reward)
  : Function to calculate take profit price according to given risk:rewark ratio
  Parameters:
    entry_price (float)
    stop_loss_price (float)
    risk_reward (float)
  Returns: Return take profit value according to given risk:reward ratio

Removed:
Volume_calculation(precent_risk, order_entry_price, stop_loss_price)
  TODO: Volume calculation function by placing orders with fiven % risk

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。