Guide
How does the Joker Trailing TP Bot strategy work ?
The Joker Trailing TP Bot is a strategy that aims to maximize profits by allowing open trades to run as long as the price moves favorably, whilst minimizing losses by setting a trailing take profit which secures earnings. This technique differs from a simple take profit order in that once the initial take profit target is reached, a trailing take profit is activated which moves in one direction – upwards for long positions – with the asset's price.
The TradingView script provided defines the parameters and conditions for entering long and short positions based on simple moving averages (SMA). It utilizes a trailing take profit percentage, initially set as a stop order once the price surpasses the pre-determined take profit level.
- For long trades, it sets a stop order at a price lower than the peaked value, moving up with each new high but never downward.
- For short trades, the stop order is set at a price higher than the minimum value, moving down with each new low but never upward.
If the market price then reverses and passes through the stop order level, the trade is closed, thereby locking in profits that are higher than the initial take profit target. The bot employs simple moving averages to signal entry points and uses the trailing mechanism to adjust take profit levels dynamically in a way that captures potential profit while protecting from downturns.