fbpx
Tickerly automated trading logo

Tickerly

ADVANCED ALERTS

Swing trading alerts

Swing trading strategies pivot on the ability to swiftly move between long and short positions within a single trade. This dynamic approach, while effective, presents automation challenges with standard alert structures from TradingView, which typically recognize alerts as “open only,” leading to execution issues.

Important : Align your strategy current position before automating!

Most swing trading strategies are constantly in a position, so make sure that when you start automating a strategy, your exchange is in the position your strategy expects. This is done by manually opening the matching position on your exchange, so your strategy can swing from there.

Failing to do this may lead to misalignment in trading positions.

Swing trading alert structure

To navigate this, Tickerly introduces a specialized alert format designed for swing trading:

{
"ticker" : "{{ticker}}",
"action" : "{{strategy.order.action}}",
"quantity" : "{{strategy.order.contracts}}",
"pointer" : "replace with your pointer here"
}

By omitting the prev_position parameter, Tickerly ensures your strategy executes both entry and exit commands without defaulting to “Open only” or “Reduce only” modes. This adjustment is crucial for the seamless operation of swing trading strategies as it switches to simple “buy” and “sell” commands to the exchange.

Automating a swing trading strategy

Adapting to this tailored alert structure is straightforward. Follow the standard setup process, substituting the traditional alert format with this refined structure. Ensure to specify the exchange connection pointer you wish to employ. This minor adjustment empowers your swing trading strategy with the agility it needs for effective automation.

By fine-tuning the alert structure, Tickerly facilitates a more adaptable and efficient execution of swing trading strategies, ensuring traders can leverage their positions with precision and ease.