INVITE-ONLY SCRIPT

QaSH Linear Regression + SuperTrend

Updated
This script uses linear regression and standard deviation measurements to trigger entries and calculate placement of TP and SL prices. A larger linear regression line will provide the market trend, while a smaller linear regression line will look for pullback entries within the larger trend. Up to 10 orders can run in parallel as a form of pyramiding in and out of a position. The supertrend is used as an additional filter for trend confirmation.
Trend following and mean reversion entries can be used per your preference. Several other entry filters are available for confirmation.

The stoplosses can be moved to breakeven during a trade, and an alert will be sent that includes the exact order ID that needs to be moved, and to what price. This is an advanced feature that is very powerful when used with a capable automation service.
Release Notes
added max drawdown input
Release Notes
added placeholder for syminfo.mintick in alert messages. This will be used for limit loops in an automation service
Release Notes
Added support for % risk of equity position sizing
Release Notes
minor fix for plots on the chart not updating when they should
Release Notes
added placeholder in alert messages for closing all positions
Release Notes
minor typo fixes
Release Notes
added some placeholders in alert messages
pyramidingsupertrendTrend Analysis

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 ParabolicValue 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

message me

Want to use this script on a chart?

Warning: please read before requesting access.

Also on:

Disclaimer