Home  ›  vyn premium  ›  Documentation  ›  vyn premium for Stocks

vyn premium for Stocks

vyn premium for Stocks

vyn premium is not limited to cryptocurrency trading. It also fully supports US stock trading through the integration of TradingView and Alpaca, a commission-free stock brokerage.

This means you can apply the same proven DCA strategy that powers your crypto trading to stocks listed on major US exchanges such as NYSE and NASDAQ.

How it works

The stock trading workflow uses the same vyn premium Pine Script strategy on TradingView, but instead of routing orders to a crypto exchange, alerts are sent to your Alpaca brokerage account via the Blockresearch execution engine (SignalPipe).

Choosing the Execution Platform

In the vyn premium settings on TradingView, select "Blockresearch" from the "Execution Platform" dropdown menu. This tells the strategy to format its alert messages for the Blockresearch SignalPipe webhook system.

Entering your SignalPipe Webhook Pointer

After selecting Blockresearch as your execution platform, you will see a field labeled "Pointer". Paste your unique webhook pointer here. You can find your pointer in the Alpaca Settings page on the Blockresearch dashboard. This pointer is what authenticates your alerts and routes them to your specific Alpaca account.

Setting Order Sizes

For stock trading, order sizes are specified in dollar amounts. The strategy automatically converts dollar amounts to share quantities based on the current market price at the time of execution. Set your Base Order size to the dollar amount you want to invest per initial position.

The DCA System for Stocks

The DCA (Dollar-Cost Averaging) system works identically for stocks as it does for crypto:

  1. Base Order -- When a buy signal fires for a ticker, a market buy order is placed for the configured dollar amount. A corresponding take-profit limit sell order is immediately placed at your configured TP percentage above the average entry price.
  2. Safety Orders -- If a new buy signal fires for the same ticker while a position is already open, a safety order is placed. This averages down your entry price. The existing take-profit order is cancelled and a new one is placed at the updated average entry price plus your TP percentage.
  3. Take Profit -- When the price reaches your take-profit level, the limit sell order fills automatically, closing the position and locking in your profit.

The maximum number of safety orders, volume scaling, and take-profit percentage are all configurable in the vyn premium settings, just like for crypto trading.

This is a static view of a single section. For full search and interactivity visit the docs app. Open interactive docs →