yooo this ones even better. John Carter is the Goat... finally figured out what TTM stands for... To The Moon!
@rico932k114 жыл бұрын
So much value in one video. Thank you!
@TOSIndicators4 жыл бұрын
Thanks Justin! Glad you liked it.
@WiReDApe2 жыл бұрын
That flipping abandoned baby. Gets me every time.
@anthonyortiz135910 ай бұрын
Could the exit strategy be defined at when price hits 2 ATR? If so, how would I adjust the code to achieve that. Extremely helpful. Thank you!
@TOSIndicators10 ай бұрын
Yep! Your exitBullishTrade and exitBearishTrade variables would need to be modified to check if they are greater than or less than the 2 ATR value (and you can use an indicator like the Keltner Channels) to make that process easier. Something like high >= KeltnerChannels(factor = 2.0).upper_band and vice versa for the opposite side. You might find this tutorial to be helpful in familiarizing yourself with the KC code: kzbin.info/www/bejne/gonMiGmtg6qBn9U
@anthonyortiz135910 ай бұрын
Appreciate the prompt reply. Subscribing 🤙🏻
@sachin.bhagat4 жыл бұрын
Great video. Thank you so much!
@TOSIndicators4 жыл бұрын
Thanks Sachin! Glad you enjoyed it.
@bizcochodulce Жыл бұрын
Thanks for the video! Is there any way to combine different time frames? I mean, to backtest a strategy that execute the buy order at the one hour chart (the cross between 9EMA and 20EMA) only if the daily chart is above the 200 MA. (Just an example). Thanks in advance
@adc96404 жыл бұрын
Very clearly explained! Can you apply similar backtesting to option trading as well?
@TOSIndicators4 жыл бұрын
I'm not sure of a way to use the strategy component to backtest options in TOS, but you can use the thinkback feature in the "Analyze" tab to get EOD historical option pricing.
@15minoffame Жыл бұрын
Excellent video as always. The only thing I wish you would add are labels showing W, L, % Gain/Loss and Avg Days in trade but maybe that's for another day. (1/4/23)
@TOSIndicators Жыл бұрын
Hi Tuan, thank you! Glad you liked it. We actually have a tutorial showing you how to add the trade stat labels in the squeeze course here (Module 13) - www.tosindicators.com/squeeze-course
@fabianflores-jasso40574 жыл бұрын
This is a superb video, thank you so much! I have a question. I have been trying to customize my own strategies, and they work best when I include extended hours when I back test them with the Float P/L. However, when I try to actually create the strategy to open and close orders in papermoney, I cant get it to work because market orders only work during Day, and not Extended hours. Is there a way to tweak the script or settings so that it buys/exits at ask/bid prices during extended hours? Thank you very much.
@TOSIndicators4 жыл бұрын
Hi Fabian - Are you using the Automated Triggers to do this? I have seen that my alerts have more "glitches" with any trades for after hours (with equities). The only easy trick that I've found is to make sure that you have extended hours turned on for the actual chart. On the contrary, for some of these backtests, we've created a variable to only trade during cash session, to avoid not only those glitches, but noise signals. Hope that helps, and thank you for the support!
@fabianflores-jasso40574 жыл бұрын
@@TOSIndicators I´m not sure what automated triggers are (looked for it on google and didn't find anything coherent). I tried what you mentioned in your previous reply, and it worked better. I have yet another question though. I automated real trading with paper money for ma strategy, several stocks that complied with that strategy triggered and exited as expected (some won, some lost). The problem I found was that they only executed one entry/exit cycle, and even though more entry signals appear continuously, no buy or sell is triggered. I used GTC and 1st triggers all expecting it would iterate the entry/exits signals as it would do in the chart strategy and accumulate profits or losses, but it doesn't work. How can I make to iterate the entries and exits? What am I doing wrong? Thanks again
@neuvocastezero18382 жыл бұрын
Looks great, but for some reason, there are no order entries when I try it, regardless of what time frame selected or variables input. There are no code errors, and I even made an indicator to verify the the bear and bull signals are being triggered. Thanks though.
@TOSIndicators2 жыл бұрын
You can download the TTM Squeeze Backtester directly from our website (tosindicators.com/backtesters/ttm-squeeze-backtester), and compare with your version to see where your code is different. I just tested on my end on a daily chart of SPY going back 5 years, and saw entries/exits plotting as expected.
@anetapiotrowska6554 жыл бұрын
Hi, such a great video! Really valuable information. How about including Bollinger Bands and the option when BB are inside Keltner Channels and then you enter the trade. How would the code look like?
@TOSIndicators4 жыл бұрын
Glad you liked it! To integrate the Bollinger Bands, you should be able to use the built-in indicator, and reference that directly using the BB's plots. Here's a link to the tlc doc for the Bollinger Bands, with the available plots (you can also find the Keltner Channels here): tlc.thinkorswim.com/center/reference/Tech-Indicators/studies-library/A-B/BollingerBands
@badbolly19833 жыл бұрын
TTM_Squeeze by definition is the composite indicator that tells you when BB are inside Keltner or not.
@okeyhomeykid4 жыл бұрын
Hey, great video! I have a question about exiting from the trades. When I run the strategy the SELL_TO_CLOSE price of 1.03 * entryPrice() is sometimes outside the price range for the given exit time, and this affects the P/L . Would it make more sense to have the exit price be the closing price for the exit time interval? Thanks.
@TOSIndicators4 жыл бұрын
You should be able to solve that by using the boolean condition parameters of the "AddOrder()" function, to check whether price has hit your target (ie. close >= 1.03*entryPrice()). Here's a link on the TOS documentation on the AddOrder() function. tlc.thinkorswim.com/center/reference/thinkScript/Functions/Others/AddOrder
@RonWikso5 жыл бұрын
Great video. Thank you so much for all your efforts on this! I do have a couple of questions, though. The title says that you're backtesting the Squeeze Pro but it looks to me like you're using the regular TTM Squeeze that's available free in TOS. Is that right? Do you have anything that backtests the Squeeze Pro? Have you done it for day trading futures? Thank you!
@TOSIndicators5 жыл бұрын
Hi Ron, Per JC, the Squeeze Pro is a group of settings that have backtested better than the original TTM_Squeeze. You can use the above backtester to try and find settings of your own, that work best for whichever ticker you are looking at. Hope that helps! If you have specific questions regarding settings, feel free to e-mail us at contact@tosindicators.com and we can share what we've found to be the best settings.
@seriousaf49393 жыл бұрын
Can you set up TOS to trade for you? So lets say you have a good percentage strategy. can you set TOS to actually make the buys and sells for that strategy?
@TOSIndicators3 жыл бұрын
Here's an overview of the automated trading possible with TOS: tosindicators.com/indicators/automated-trading
@ALEXSHUNCAI4 жыл бұрын
Hi TOS, Thank you for this great presentation, I tried to look deep into the code, I found the following may have caused some errors: Addorder(ordertype.sell_TO_CLOSE, high>=entryprice() + entryprice()*0.03,entryprice()+entryprice()*0.03,100); if you read the report, the difference between the buy_open and sell_close price isn't 3%, tried a few reports and see if the things can add up, but actually not. Could you explain to me why is that? again, great presentation, I like it.
@TOSIndicators4 жыл бұрын
Hi Alex - the strategies in TOS should be treated as rough backtests to help you gauge on a quick level whether or not your strategy is profitable. If you do find some of those discrepancies, you can dial in closer to each trade to see what may be causing the errors (chart bubbles are awesome debugging tools), and then start to build in fixes for that code.
@markhoffman23095 жыл бұрын
Excellent!
@TOSIndicators5 жыл бұрын
Thanks Mark!
@richardaron50955 жыл бұрын
Is this for options or can it be used for day trading?
@TOSIndicators5 жыл бұрын
You can use the squeeze for both day-trading, along with swing trading with options. If you have more specific questions, you can e-mail us at contact@tosindicators.com
@kevinjablonski82423 жыл бұрын
I'm using TOS' built-in TTM_squeeze, does it need to be modified to work? I'm getting different values than you do.
@TOSIndicators3 жыл бұрын
I don't believe so - only place where we modify the squeeze is in the Squeeze Course. For this tutorial, it should be using the baseline TTM_Squeeze built-in study. You can also download the final version of the code here to compare side by side with your own: tosindicators.com/indicators/ttm-squeeze-backtester
@H_Doggy_Dogg5 жыл бұрын
Awesome video, was wondering if you could make an indicator similar to The "ready aim fire" that John Carter uses. Thanks!!
@TOSIndicators5 жыл бұрын
Hi Harley, Try applying the built-in study, "FW_FisherTransformer" on your charts. FYI - that indicator was also created by David, and is available for free with your TOS account. You can then try adjusting the settings to see which entries better fit your trading style. Hope that helps!
@H_Doggy_Dogg5 жыл бұрын
Thanks for the reply, could you assist me with best settings for swing trading?
@H_Doggy_Dogg5 жыл бұрын
@@TOSIndicators I just checked out that transformer indicator. It looks like a multiple timeframe oscillator. There are no buy sell signals, as in the "ready, aim, fire" indicator. was wondering if you could create something similar to the market cycle indicator, where the indicator or the line under the price action changed colors based on the ready condition, then the aim condition, then finally a fire indicator arrow that alerts you to get in. I could set that up in a daily and a 30min chart and watch the charts. of course you would have to differentiate between the major buy signals and the Minor buy signals of course....idk I hope you can do something similar cuz that indicator is way too expensive. Thanks 😊
@TOSIndicators5 жыл бұрын
@@H_Doggy_Dogg Hi Harley - send us an e-mail at contact@tosindicators.com and we can share some screenshots there.
@khuptoung13004 жыл бұрын
could you do moving average multi-timeFrame indicator ?
@ericrose69794 жыл бұрын
are you able to use this method but instead of using the squeezy can you use the PPS indicator?
@TOSIndicators4 жыл бұрын
Hi Eric - you should be able to use the concepts from this video & plug in the PPS indicator instead, to build a similar backtester.
@ericrose69794 жыл бұрын
@@TOSIndicators honestly I don't think its possible with the pps indicator but I would like to know how to do that or if you can point me to another video that would be helpful! I'd like to try to do the same thing with the TTM scalp indicator if possible.
@TOSIndicators4 жыл бұрын
@@ericrose6979 You should be able to use the bull / bear plot signals built into the the PPS() indicator to create a mini-backtester.
@MEHJABIN2 жыл бұрын
how do I backtesting this stratgey from previous years like 2015-2020 in thinkorswim?
@dumbcat2 жыл бұрын
sign into your live account (not papermoney) then click the 'OnDemand' button in the upper right. next to the button is a date setting that allows you to view historic prices
@tayharrison45263 жыл бұрын
I'm having trouble opening the file...bc the file type is unsupported, the file extension is incorrect or the file is corrupt...and even when I save it to This PC and go to TOS to download it there's nothing there...any chance you can help
@TOSIndicators3 жыл бұрын
You can download and import the STRATEGY.ts file into TOS using the "Import" button.
@justinturner934 жыл бұрын
Do you have that script any where? The website download file seems to not be working...
@TOSIndicators4 жыл бұрын
Just tried downloading the strategy, and was able to import it successfully without any errors. Feel free to email if you have any questions around the process.
@jimj.64124 жыл бұрын
how would you add in a 3 candle candle stick pattern like an abandoned baby pattern as a buy signal
@TOSIndicators4 жыл бұрын
Hi Jim - you could use the thinkScript pattern code, into the strategy code, and add that to the AddOrder() boolean conditions.
@jimj.64124 жыл бұрын
@@TOSIndicators Thanks for your time. I am just getting started with thinkorswim so you are still over my head, I know how to make the candlestick patterns in TOS , can use them in a to scan for stocks, but my attempt at putting them in a back testing strategy is a total failure. but I will work on it, Thank you.
@rudyperez33294 жыл бұрын
How can I add a macd crossover as my exit signal
@TOSIndicators4 жыл бұрын
You would need to code that in as a boolean exit condition (probably split between a bullish & bearish exit), which can be plugged into the closing AddOrder() statements
@rudyperez33294 жыл бұрын
Alright thank you:)
@davidditchleyiii22523 жыл бұрын
So basically John Carter is full of it when it comes to the squeeze?
@charlesmcfarland14304 жыл бұрын
how do i replace the add order code to show buy and sell cloud
@TOSIndicators4 жыл бұрын
Hi Charles - not sure what you mean by buy and sell clouds. Thinkscript strategies require an "AddOrder()" component, if you'd like to see P/L. If you're referring to the floating P/L, you can enable that from the study's menu, under "Global Strategy Settings." If you remove the AddOrder() code altogether, that turns this into a study, not a strategy, which is ineffective for backtesting.
@H_Doggy_Dogg5 жыл бұрын
Hello again, is there any way you could create a multi time frame squeeze indicator, that shows when a stock is in a squeeze on like 4 timeframes? Like maybe 4 rows of dots that are either green or red? Thanks
@TOSIndicators5 жыл бұрын
Hi Harley - great timing! We released our newest tutorial yesterday, which includes a framework for using multi-time frames. Here's a link - tosindicators.com/indicators/mtf-dmi You should be able to use that framework, but plug-in the indicator code (squeeze in this case) and have the multiple time frame analysis ready to go. You have our e-mail, feel free to send us a note if you hit any roadblocks along the way!
@BryonLape3 жыл бұрын
I feel doomed to never understand the TTM Squeeze.