INVITE-ONLY SCRIPT

Jackrabbit.modulus.Trailing

Updated
This is a full, true, and pure implementation of trailing buy/sell for the Jackrabbit suite and modulus framework.

This module is not a standalone and relies on previous modules to send a signal data in order to function properly. This module acts on buy and sell data from within the indicator on indicator framework that TradingView supports.

This module adds the ability to trail a buying position to its lowest value or if it breaks a retracement percentage (user defined). It also allows trailing a sell position with an user defined retracement. It can managing buy and selling or just buying or selling.

This module does NOT allow accumulation during the trailing process. If a buy signal is received while the module is already trailing a previous position, if the price is lower then the previous position, the current position is used, otherwise it is ignored. The same holds true for selling. Once the position is bought, accumulation will resume as normal for the next position.

The chart displays (for both buying and selling):

The current price, its retracement value, and the original price.

Note that the buy or sell does NOT actually take place until the price action crosses retracement.

The Jackrabbit modulus framework is a plug in play paradigm built to operate through TradingView's indicator on indicatior (IoI) functionality. As such, this script receives a signal line from the previous script in the IoI chain, and evaluates the buy/sell signals appropriate to the current analysis.

This script is by invitation only. To learn more about accessing this script, please see my signature or send me a PM. Thank you.
Release Notes
Updated minimum percentages to allow hundredths of a percentile.
Release Notes
Added selection for historic or live data.
Release Notes
Updated realtime/historic data algorithm for improved accuracy and effeciency.
Release Notes
Added high/low trailing method that trails to higher or lower prices respectively. Trailing values are reset when trade direction reverses, ie, sell signals become buy signals.
Candlestick Analysisioijackrabbittrailingtrailingselltrailing_stoptrailingstoptrailingstoplosstrailingtakeprofit

Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact RobertD7723 for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases, you can find a good open-source alternative for free in our Community Scripts.

Author's instructions

This script is part of a larger framework, please PM me for more details or visit the link in the signature. Thank you.

Want to use this script on a chart?

Warning: please read before requesting access.

Join my Patreon for exclusive access to Jackrabbit TV,

patreon.com/RD3277
Also on:

Disclaimer