logo ValorList Server: 🟢 WS: 🟢

Documentation ValorList

Welcome to the documentation of the ValorList TradingView Connector

We are under heavy development

In the future you will be able to use the ValorList TradingView Connector with the following features:

  • Connect tradingview to the ValorList platform.
  • Create and manage your own ValorList accounts.
  • Create and manage your own positions.
  • Connect with 120+ exchanges directly to TradingView.

Basic Alert TV Alert message

When you create a strategy, ValorList will generate the alert text you will copy to the new Alert that you will create in TradingView.

Strategy Variables in TradingView

strategy.position_sizereturns the value of the same keyword in Pine, i.e., the size of the current position
strategy.order.actionreturns the string “buy” or “sell” for the executed order
strategy.order.contractsreturn the number of contracts of the executed order
strategy.order.pricereturns the price at which the order was executed.
strategy.order.idreturns the ID of the executed order (the string used as the first parameter in one of the function calls generating orders: strategy.entry, strategy.exit or strategy.order).
strategy.order.idreturns the ID of the executed order (the string used as the first parameter in one of the function calls generating orders: strategy.entry, strategy.exit or strategy.order).
strategy.order.commentreturns the comment of the executed order (the string used in the comment parameter in one of the function calls generating orders: strategy.entry, strategy.exit or strategy.order). If no comment is specified, then the value of strategy.order.id will be used.
strategy.order.alert_messagereturns the value of the alert_message parameter which can be used in the strategy’s Pine code when calling one of the functions used to place orders: strategy.entry, strategy.exit or strategy.order. This feature is only supported in Pine v4.
strategy.market_positionreturns the current position of the strategy in string form: “long”, “flat”, or “short”.
strategy.market_position_sizereturns the size of the current position as an absolute value, i.e. a non-negative number.
strategy.prev_market_positionreturns the size of the current position as an absolute value, i.e. a non-negative number.
strategy.prev_market_position_sizereturns the size of the previous position as an absolute value, i.e. a non-negative number.