Re: Needing help with Divergence Study for ThinkorSwim April 24, 2015 02:16PM |
Registered: 10 years ago Posts: 615 |
Quote
jburrowsiv
Robert this is some excellent work! It would be nice to start with the view you have published then once you find a qtr that looks interesting be able to switch to a detailed view for a specific Qtr that would allow viewing the 4 years of the same Qtr side by side with indicators. I am a Gary Williams student and use StochRSI, MACD and DI. I want to see how the indicators were setup so that I know what to expect for an EP. Thanks!!
Brand New User of Thinkorswim needs help April 26, 2015 02:31PM |
Registered: 8 years ago Posts: 5 |
Re: Brand New User of Thinkorswim needs help April 26, 2015 10:32PM |
Registered: 10 years ago Posts: 615 |
Quote
Marco
I want to build an indicator that has 3 different indicators combined in 5 different timeframes.
I want to use
RSI(2)
Slow Stoch (14,3)
BB - %B
The timeframes are .... 60 min. - 30 min. - 15 min. - 10 min. - 5 min.
I want to use this with a watchlist so that I can see it triggering on various symbols.
The values I am interested in ...
RSI(2) - 95 and Above (Sell - Red) 5 or Below (Buy - Green)
Slow Stoch (14,3) - 90 and Above (Sell - Red) 10 or Below (Buy - Green)
%B - 100 and Above (Sell - Red) 0 or Below (Buy - Green)
I would like to build this in such a way as it could give me each seperate indicators value in each different timeframe but also flash a signal when all three indicators are red or green or each timeframe.
def RSI = round(rsi(length = 2).rsi, 0); def SS = round(stochasticslow(kperiod = 14, dperiod = 3).slowk, 0); def BB = Round(BollingerPercentB(), 0); addlabel(yes, rsi + "/" + ss + "/" + bb, color.light_gray); assignbackgroundcolor(if (rsi >= 95 and ss >= 90 and bb >= 100) then color.dark_red else if (rsi <= 5 and ss <= 10 and bb <= 0) then color.dark_green else color.current);
Re: Brand New User of Thinkorswim needs help April 26, 2015 11:52PM |
Registered: 8 years ago Posts: 5 |
Re: Fun with ThinkScript April 27, 2015 02:10AM |
Registered: 9 years ago Posts: 6 |
Re: Fun with ThinkScript April 27, 2015 04:43AM |
Registered: 10 years ago Posts: 615 |
Quote
Marco
Robert,
Wow ! Thank you very much. That was very kind and generous of you to code the entire indicator. I really appreciate all of the work you did and hope I can help you and everyone else on this forum some day.
I am more than happy to add to the tip jar.
Regards,
Marco
Re: Fun with ThinkScript April 27, 2015 04:50AM |
Registered: 10 years ago Posts: 615 |
Quote
Lukhy911
Robert,
Thanks for the great scripts you've posted. I was wondering if you can help me with two labels I'm trying to display on my charts
First one is a label with the net price change value from the opening price and second one is the net price change value from the close of previous day, and if the value is positive the label to be green and red if value is negative ..Thx
I will definitely be adding to the tip jar.
Thank You,
Lukhy
def NC = close(period = "day" ) - close(period = "day" )[1]; def OC = close - open(period = "day" ); AddLabel(yes, "NC: " + NC, if NC > 0 then Color.LIGHT_GREEN else Color.PINK); AddLabel(yes, "OC: " + OC, if OC > 0 then Color.LIGHT_GREEN else Color.PINK);
Re: Fun with ThinkScript April 27, 2015 02:36PM |
Registered: 9 years ago Posts: 6 |
Re: Fun with ThinkScript April 27, 2015 02:53PM |
Registered: 10 years ago Posts: 615 |
Quote
Lukhy911
Just one more question what do you change the winking smiley comment from the script ?
Re: Fun with ThinkScript April 27, 2015 09:24PM |
Registered: 10 years ago Posts: 615 |
Re: Fun with ThinkScript April 28, 2015 05:56PM |
Registered: 8 years ago Posts: 5 |
Re: Fun with ThinkScript April 29, 2015 04:48PM |
Registered: 10 years ago Posts: 10 |
Re: Fun with ThinkScript April 29, 2015 05:21PM |
Registered: 10 years ago Posts: 615 |
Quote
DrPhil
Robert, I am not getting any sound when I watch your youtube shots, volume set on computer and youtube. Any suggestions? Thanks, Phil
Re: Fun with ThinkScript April 30, 2015 08:02AM |
Registered: 12 years ago Posts: 321 |
Re: Fun with ThinkScript April 30, 2015 08:16AM |
Registered: 10 years ago Posts: 615 |
Quote
mtut
How difficult would it be to highlight the background based on when the "E" is true
def MA1 = average(close, 5); def MA2 = average(close, 10); def MA3 = average(close, 20); def Eup = MA1 > MA2 and MA2 > MA3; def Edn = MA1 < MA2 and MA2 < MA3; # set background color to light green if Eup, pink if Edn, and leave it at the default color if no E exists AssignBackgroundColor( if Eup then Color.LIGHT_GREEN else if Edn then Color.PINK else Color.CURRENT );
Re: Fun with ThinkScript April 30, 2015 09:48AM |
Registered: 10 years ago Posts: 464 |
Re: Fun with ThinkScript April 30, 2015 11:42AM |
Registered: 12 years ago Posts: 321 |
Re: Fun with ThinkScript May 03, 2015 11:25AM |
Registered: 9 years ago Posts: 14 |
Re: Fun with ThinkScript May 04, 2015 10:03AM |
Registered: 10 years ago Posts: 615 |
Quote
brazilianpillar
Hi Robert,
I have an Indicator here called Stochastic Scalper. I was wondering if you knew of a way to alert me on my watchlist if the both lines turn green or red. It'd be great if there could be a column on the watch list just for this indicator and if both lines turn gree then the column would flash gree or just turn green. If you could help out, i'd appreciate it
Re: Fun with ThinkScript May 04, 2015 12:39PM |
Registered: 9 years ago Posts: 11 |
Re: Fun with ThinkScript May 04, 2015 02:13PM |
Registered: 9 years ago Posts: 14 |
Re: Fun with ThinkScript May 04, 2015 03:03PM |
Registered: 10 years ago Posts: 615 |
Quote
scalper
Hi Robert I am sharing a piece of your code you made, I converted it to 4 time frames ADX I need help I would like to have a label that has the average ADX of all 4 time frames on a label exactly with same criteria as other labels .THANKS I don't know how to do it maybe def TotalAvg = ("adx 1" + "adx 2" + "adx 3" + adx 4 " ) / 4;
...then write the label to display it. this part way over my head any help thanks
Re: Fun with ThinkScript May 04, 2015 03:34PM |
Registered: 10 years ago Posts: 615 |
Quote
brazilianpillar
Robert!!! You are the man. That is exactly what I was looking for. Thank You.
Quote
brazilianpillar
SInce I'm here, if I wanted to scan for pre-market gainers in the past, how would i do that. I know there is a scan built into TOS but lets say i wanted to scan for last weds. what line would I add to the scan?
Re: Fun with ThinkScript May 05, 2015 11:19AM |
Registered: 10 years ago Posts: 17 |
Re: Fun with ThinkScript May 05, 2015 11:47AM |
Registered: 9 years ago Posts: 3 |
Re: Fun with ThinkScript May 05, 2015 12:12PM |
Registered: 10 years ago Posts: 615 |
Quote
jluis.nra
Hello Robert, I have this indicator that I would like to setup in charts like the 89 55 13 8. Is it possible to make this work under fib numbers?
Re: Fun with ThinkScript May 05, 2015 02:09PM |
Registered: 10 years ago Posts: 17 |
Re: Fun with ThinkScript May 06, 2015 12:03PM |
Registered: 10 years ago Posts: 615 |
Quote
jluis.nra
Robert, is it possible to create a watch list radar out of this indicator?
Here is an idea of the watch list I was thinking of….
Re: Fun with ThinkScript May 06, 2015 03:07PM |
Registered: 10 years ago Posts: 17 |
Re: Fun with ThinkScript May 06, 2015 05:00PM |
Registered: 10 years ago Posts: 615 |
Quote
jluis.nra
Thank you !