@RichieRick I still get email when someone PMs me here. Usually, I just respond via PM and lay low. However, I've been getting a lot of requests from S1 students asking for help setting up TOS. So, I figured it would just be easier for everyone if I updated one of my older threads to include a basic chart setup. Now, I'll probably go back to incognito mode. Cheers, Rick.by robert - Trading Discussion
Hey, everyone. It's been a while since I've posted. Just wanted to give a quick update to this thread. The first post is very out of date now. It was originally meant for those who had taken Gary's 1-5 class because that manual had his indicator settings included. Well, that's no longer the case. Hence this update. Below is a link to my basic WSB workspace. It includes only the indicators thatby robert - Trading Discussion
Hello. I haven't posted on this board in YEARS. I've been getting a fair bit of PMs lately, though, since S1 class just ended. Anyway, this post explains how the autowave line works. You can use that information to code it yourself, or purchase it from my website.by robert - Trading Discussion
Redwolf, It looks like you have accidentally moved the StochRSI indicator to the Volume section when you were dragging to reposition things. First, turn off volume. Press [ CTRL ]+[ S ] to access the chart settings panel. Then, click on the "Equities" tab and uncheck "Show volume subgraph." Once you've done that, you will probably find StochRSI overlayed onto MACD, sby robert - Trading Discussion
Quotejackmantos Hello Robert I am new to forum and thinkscript coding... I main focus on price action.. I want to scan a candle closing below 9ema also making sure the previous candle is red (close below open)... Thanks Jack def ema9 = ExpAverage(close, 9); def redCandle = close < open; plot scan = redCandle[1] and close crosses below ema9;by robert - Trading Discussion
Thank you for the very kind words, Trader.by robert - Trading Discussion
Quotekalthetrader Hello id like to be able to count the last 10 bars in moving average of volume. exmaple : last 10 bars moving average = 15,000 last 10 bars volume = 5000 I dont want to just count the bars, i want to count the difference in volume average and current volume in the last 10 bars at 1 mintue 1 day. def avgVol = Average(volume, 10); def diff = volume - avgVol;by robert - Trading Discussion
QuoteRalph53 I need just the 'open' part of this script to use the daily Aggregation (close AGG = MIN); def X = Round(close(“GOOG" ) - open(“GOOG”)[1]); I can’t figure out how to add a day Aggregation script to it so TOS will accept it; ("period" = AggregationPeriod.DAY) Does anyone know how to do this? Thanks. def x = Round(close("GOOG" ) - open(by robert - Trading Discussion
Point and Figure charts now available.by robert - Trading Discussion
Rigel, I take a bunch of screenshots then upload them to gifmaker.meby robert - Trading Discussion
Quoterubicon_wbd How do I return the actual value of the defined enumeration instead of the index of the value? AddLabel(yes, "mySymbol: " + Close(symbol = mySymbol),color.white);by robert - Trading Discussion
This was a fun, although very challenging, project. I needed to study up on linear algebra so that I could understand the math involved. Then, because ThinkScript does not support arrays, matrices, or easily storing data for future reference, I had to devise creative work-arounds to handle the advanced algorithms required by this indicator. This new indicator will automatically curve-fit polynby robert - Trading Discussion
Great explanation, NCTrader. I can add a little bit to the discussion. The wavelength sets how far forward and backward the indicator looks for either a high or low point. With the wavelength set to 13, as in your example above, then for a high point to be valid, it must be the highest point going backward 13 candles; and it must be the highest point going forward 13 candles. If you notby robert - Trading Discussion
Mntman, Add this code to the bottom of your script. def cloud1 = if RL < 1.618 then Double.NaN else fib2000; def cloud2 = if RL < 1.618 then Double.NaN else fib1618; AddCloud(cloud1, cloud2, Color.LIGHT_GREEN); mikew, You were so close. Give this a try in the scanner. plot spread = (ask - bid) < 0.11;by robert - Trading Discussion
QuoteSMcTrader This should be a fairly simple request: The thinkscript below adds a horizontal line on the chart to mark last week's closing price. Can anyone please tell me how to make an addition where I can have a visible text label above the horizontal line to say "LWC"? Thanks a million in advance. plot closeLastWeek = close(period = "week" )[1]; closeLaby robert - Trading Discussion
QuoteMoneyMachine8253 Beautiful coding I hope to get as good as you one day. I was wondering if you could make me a code that for strangely that plots intraday high and low throughout the trading day. def today = GetDay() == GetLastDay(); plot dailyHigh = if !today then Double.NaN else high(period = "day" ); plot dailyLow = if !today then Double.NaN else low(period = "day&by robert - Trading Discussion
Quoterob miller Robert, What color swatches (numbers) are you using for your chart color? I like it, but am unable to match it. Thank you Uptick, Downtick, and Background colors are as follows:by robert - Trading Discussion
def insideBar = high <= high[1] and low >= low[1]; def insideMatch = insideBar and (high == high[1] or low == low[1]); AddLabel(yes, " " ); AssignBackgroundColor(if insideMatch then Color.CYAN else if insideBar then Color.MAGENTA else Color.CURRENT);by robert - Trading Discussion
Check these earnings tools.by robert - Trading Discussion
Quotemntman awesome update today robert on your harmonic pattern scripts! i was actually trying the other day (and failed) to create the target zones, so was excited to see that as part of your enhancements today! thanks and i hope you consider expanding your harmonic package to other patterns like 5-0, ab=cd, 3-drives, etc. mike Thanks, Mike. I'm happy to hear that you like it. I've beby robert - Trading Discussion
InfectionX24, Try using "Color.LIGHT_GREEN" and "Color.PINK" instead of GREEN and RED. If you don't like how that looks, use the CreateColor( R,G,B ) function to pick a color that is closer to the background color.by robert - Trading Discussion
DrugDoc Alert(Hist crosses above 0 , "Buy", Alert.ONCE, Sound.Ding); Alert(Hist crosses below 0 , "Sell", Alert.ONCE, Sound.Ring);by robert - Trading Discussion
Harmonic trading patterns, including the Gartley, are now available for the first time on ThinkorSwimby robert - Trading Discussion
Unfortunately, I don't believe it is possible. At least, I've not found a way.by robert - Trading Discussion
Sara, I refer you to the think script manual page that discusses aggregation periods. The times listed on that page are the only ones available to work with.by robert - Trading Discussion
Mike, This is the most complicated indicator I have yet programmed. I don't know, yet, if it can be turned into a scan or not. It may be too complex for the limited capabilities of the scan tool. Unfortunately, it will probably be another week or two before I have time available for any additional programming. Due to my job, I am also limited to the daily chart. It doesn't take that long toby robert - Trading Discussion
Wolfe Wave for ThinkorSwim: what if you could predict the future? This is a zero-lag indicator that relies on price-action alone. It automatically identifies and draws the Wolfe Wave pattern in real time.by robert - Trading Discussion
Quotebubba I am trying to color my candle based upon the close of three different moving averges similar to the E method, so the the example the 5, 10 and 25 simple moving averages. Cannot get the think script code right. SMA1 = 5 SMA SMA2 = 10 SMA SMA3 = 25 SMA The Candle is colored green when the SMA1 > SMA2 & SMA1 > SMA3 The Candle is colored Yellow when the SMA1 < Sby robert - Trading Discussion
Quotemikew I just can't figure out how to the "within" part. I would appreciate any help def SlowMA = MovingAverage(averageType, price, slowLength); def withinRange = ask >= SlowMA - 0.05 AND ask <= SlowMA + 0.05;by robert - Trading Discussion