Leavitt Slope and Leavitt Acceleration Indicators For ThinkOrSwim

@BillW The TOS platform makes me crazy sometimes. But I keep coming back because of this forum and posters like you. The Aroon will work better with the MACD BB. Thanks!
 
Last edited:
@BillW The TOS platform makes me crazy sometimes. But I keep coming back because of this forum and posters like you. Using the Aroon eliminated 75% of my false signals. You are the best!
I do use different Aroon settings for different time frames 7 minute is 25 15 and 30min are 8
 
@MerryDay
What is the difference between Leavitt Slope & TTM Squeeze (SqueezePro) ?
They look quite similar.
Leavitt Slope seems better than TTM Squeeze in presenting the overall trend.
TTM Squeeze is more sensitive to price changes.
 
@MerryDay
What is the difference between Leavitt Slope & TTM Squeeze (SqueezePro) ?
They look quite similar.
Leavitt Slope seems better than TTM Squeeze in presenting the overall trend.
TTM Squeeze is more sensitive to price changes.

The histogram portions that look similar in both Studies are based on the Inertia() Study but I haven't checked to see if the settings are the same... The rest of both Studies is different...
 
Hello,

I have gone through the all the comments but am not sure if I am missing something for the Bull Begin/End verticle lines? I consider myself still a novice when it comes to the indicator game and am still getting a feel for what would work out for my style. However, I feel like on my chart they are lagging. Could I get another set of eyes to help me see what's could be wrong?


This is the code that is for that section for the Verticle Lines. I was pretty sure that copied and pasted it directly in, so it shouldn't have been edited in any way.

AddVerticalLine(show_vertical_lines and trendState[1] != 1 and trendState == 1, "Bull End", GlobalColor("LabelRed"));
AddVerticalLine(show_vertical_lines and trendState[1] != 2 and trendState == 2, "Bull Begin", GlobalColor("LabelGreen"));
 
@PapaTinnnnn
I agree this study does not appear to provide anything constructive to your chart.
As I stated in the 1st post, it was something I was attempting to play with.
I found that I couldn't make it work w/ my strategies.
 
Leavitt Convolution Slope w Bollinger Bands
Code:
#
# TD Ameritrade IP Company, Inc. (c) 2020-2021
#

declare lower;

input price = close;
input length = 49;

def lProjection = reference TimeSeriesForecast(price = price, length = length, "bar plus" = 1);
def convolutionLength = Floor(Sqrt(length));

plot LeavittConvolutionSlope = reference LinearRegressionSlope(price = lProjection, length = convolutionLength);
plot ZeroLine = 0;

LeavittConvolutionSlope.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);
LeavittConvolutionSlope.DefineColor("Summer", Color.GREEN);
LeavittConvolutionSlope.DefineColor("Fall", Color.RED);
LeavittConvolutionSlope.DefineColor("Spring", Color.LIGHT_GREEN);
LeavittConvolutionSlope.DefineColor("Winter", Color.DARK_RED);
LeavittConvolutionSlope.AssignValueColor(if LeavittConvolutionSlope >= LeavittConvolutionSlope[1] and LeavittConvolutionSlope > 0 then LeavittConvolutionSlope.Color("Summer") else if LeavittConvolutionSlope < LeavittConvolutionSlope[1] and LeavittConvolutionSlope > 0 then LeavittConvolutionSlope.Color("Fall") else if LeavittConvolutionSlope < LeavittConvolutionSlope[1] and LeavittConvolutionSlope < 0 then LeavittConvolutionSlope.Color("Winter") else LeavittConvolutionSlope.Color("Spring"));
ZeroLine.SetDefaultColor(GetColor(7));
def LCS = LeavittConvolutionSlope;

input Num_Dev_Dn = -2.0;
input Num_Dev_up = 2.0;
input averageType = AverageType.Simple;

def sDev = stdev(data = LCS, 20);

plot MidLine = MovingAverage(averageType, LCS, 20);
plot Ldev2 = MidLine + -2 * sDev;
plot Udev2 = MidLine + 2* sDev;
plot Ldev1 = MidLine + -1 * sDev;
plot Udev1 = MidLine + 1* sDev;



#vw.setdefaultColor(color.yellow);
Udev1.SetDefaultColor(Color.violet);
Udev2.SetDefaultColor(Color.Plum);
Udev1.SetPaintingStrategy(PaintingStrategy.DASHES);
Udev2.SetPaintingStrategy(PaintingStrategy.DASHES);
Udev1.SetLineWeight(1);
Udev2.SetLineWeight(1);
Ldev1.SetDefaultColor(Color.Violet);
Ldev2.SetDefaultColor(Color.Plum);
Ldev1.SetPaintingStrategy(PaintingStrategy.DASHES);
Ldev2.SetPaintingStrategy(PaintingStrategy.DASHES);
Ldev1.SetLineWeight(1);
Ldev2.SetLineWeight(1);
Thank you very much for your ongoing contributions, Henry. 🙏🏽
 

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

Thread starter Similar threads Forum Replies Date
J007RMC Leavitt Projection Indicator for ThinkorSwim Indicators 12
C MA Slope Scan For ThinkOrSwim Indicators 33

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
401 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top