Thank you so much for this tutorial. Very quick and easy to understand.
@mikemed46033 ай бұрын
Thank you so much for your helpful videos ,I have just subscribed.
@TOSIndicators3 ай бұрын
Glad they helped, Mike!
@hoxton09326 ай бұрын
Great content. Thanks. Subscribed.
@TOSIndicators6 ай бұрын
Awesome, thank you!
@Scott-g9t Жыл бұрын
The most useful yet for me. I can use this right away. Thank you.
@TOSIndicators Жыл бұрын
My pleasure, and glad to hear that!
@rawhide12319 ай бұрын
Great job, I was having a heck of a time trying to plot an arrow on a Ron Hoffman indicator which uses SMAs with EMAs (although each are renamed for his indicator). This spelled it all out for me and I now have the arrow exactly where I want them. May be asking to much but any way to add an audio alert to this code? Thanks again!
@TOSIndicators9 ай бұрын
Glad to hear it was helpful! You can add audio alerts easily, using the Alert function, and plugging in the boolean variable (ie. what you'd like an alert for). Documentation: tlc.thinkorswim.com/center/reference/thinkScript/Functions/Others/Alert
@rawhide12319 ай бұрын
It was and thanks again. I have used the chart alert and it works but it doesn't repeat and is only good for the chart product it was made on. At least this is what I have found. Is there a script I can actually add to the indicator for a more permanent alert that works across all products that I use this indicator on?@@TOSIndicators
@TOSIndicators9 ай бұрын
You can use a workaround approach in TOS to accomplish that. You will need to turn the indicator into a scan, and then leverage the "Alert when scan results change" functionality that is available in the watchlist column of TOS. Here's a video which walks through an example of that for text + audio alerts: kzbin.info/www/bejne/rqevmqh7r5tjnJY
@rawhide12319 ай бұрын
I will look into that although I was hoping for an easier solution (maybe like TradingView alerts). Anyway thanks again for the help you have given me. @@TOSIndicators
@thephnxtrading7 ай бұрын
Instead of plotting a Up/Down Arrow for Stacked MA's, can it plot the chart background a shade of Green for Stacked Bull and a shade of Red for Stacked Bear? (Background stays shaded Green/Red entire time its stacked, and when not stacked returns to normal Black background)
@TOSIndicators7 ай бұрын
Yep - you would just need to use the AssignBackgroundCOlor instead.
@thephnxtrading7 ай бұрын
@@TOSIndicators I tried but it keeps highlighting in Red the word 'if' on Lines 23 & 26. here is what I got so far: #8EMA, 20EMA, 50EMA, 100EMA, 200EMA plot EMA8 = ExpAverage (close, 8); EMA8.SetDefaultColor(Color.GREEN); plot EMA20 = ExpAverage (close, 20); EMA20.SetDefaultColor(Color.CYAN); plot EMA50 = ExpAverage (close, 50); EMA50.SetDefaultColor(Color.WHITE); plot EMA100 = ExpAverage (close, 100); EMA100.SetDefaultColor(Color.RED); plot EMA200 = ExpAverage (close, 200); EMA200.SetDefaultColor(Color.YELLOW); def bullStacked = EMA8 > EMA20 and EMA20 > EMA50 and EMA50 > EMA100 and EMA100 > EMA200; def bearStacked = EMA8 < EMA20 and EMA20 < EMA50 and EMA50 < EMA100 and EMA100 < EMA200; plot bullStackedPlot = bullStacked and !bullStacked[1]; AssignBackgroundColor(if ExpAverage(close,8)>ExpAverage(close, 20)and expAverage(close,20)>ExpAverage(close,50) and expaverage(close,50)>ExpAverage(close,100) and ExpAverage(close,100)>ExpAverage(close,200) then color.DARK_GREEN); plot bearStackedPlot = bearStacked and !bearStacked[1]; AssignBackgroundColor (if ExpAverage(close,8)
@juanfeliperodriguez7688 Жыл бұрын
Gracias hermano!!!
@TOSIndicators Жыл бұрын
De nada :)
@shonnavalli10 ай бұрын
Thank you so much for this - I ran into a problem with the line to plot the bullstack. def bullStacked = EMA8 > EMA21 and EMA21 > EMA34 and EMA34 > EMA50; def bearStacked = EMA8 < EMA21 and EMA21 < EMA34 and EMA34 < EMA50; plot bullStackedPlot = bullStacked and !bullStacked[1]; All the lines get squished up when I execute this plot. Not sure if something was depricated. If you can help, would be much appreciated. Thanks one again.
@TOSIndicators10 ай бұрын
Your plot variable outputs a boolean value -- you will need to use a boolean painting strategy type, in order to see arrows / signals on your chart when the condition is true. tlc.thinkorswim.com/center/reference/thinkScript/Constants/PaintingStrategy/PaintingStrategy-BOOLEAN-ARROW-UP