Re: Fun with ThinkScript April 10, 2016 06:29AM |
Registered: 9 years ago Posts: 38 |
Re: Fun with ThinkScript April 12, 2016 03:59PM |
Registered: 8 years ago Posts: 7 |
Re: Fun with ThinkScript April 12, 2016 05:55PM |
Registered: 8 years ago Posts: 7 |
Re: Fun with ThinkScript April 13, 2016 07:17AM |
Registered: 9 years ago Posts: 12 |
Tom Demark 13 sell signal indicator April 15, 2016 08:53PM |
Registered: 9 years ago Posts: 11 |
Tracking IV on previous earning dates April 17, 2016 01:59PM |
Registered: 8 years ago Posts: 4 |
Re: Tracking IV on previous earning dates April 18, 2016 11:17AM |
Registered: 10 years ago Posts: 35 |
Re: Fun with ThinkScript April 20, 2016 09:16AM |
Registered: 8 years ago Posts: 45 |
Re: Fun with ThinkScript April 20, 2016 11:41AM |
Registered: 10 years ago Posts: 35 |
Re: Fun with ThinkScript April 21, 2016 10:45PM |
Registered: 8 years ago Posts: 1 |
Re: Fun with ThinkScript April 22, 2016 01:48PM |
Registered: 8 years ago Posts: 10 |
Re: Fun with ThinkScript April 25, 2016 04:47PM |
Registered: 8 years ago Posts: 7 |
Re: Fun with ThinkScript April 28, 2016 02:55PM |
Registered: 10 years ago Posts: 1 |
Re: Fun with ThinkScript April 28, 2016 10:09PM |
Registered: 8 years ago Posts: 9 |
Re: Fun with ThinkScript April 29, 2016 09:16AM |
Registered: 8 years ago Posts: 45 |
plot dotUp1 = if bulltrade and !bulltrade[1] then low - 1 else Double.NaN; dotUp1.SetPaintingStrategy(PaintingStrategy.POINTS); dotUp1.SetLineWeight(5); dotUp1.SetDefaultColor(Color.blue); plot dotDn1 = if beartrade and !beartrade[1] then high + 1.0 else Double.NaN; dotDn1.SetPaintingStrategy(PaintingStrategy.POINTS); dotDn1.SetLineWeight(5); dotDn1.SetDefaultColor(Color.dark_red);
alert(dotUp1, getsymbol() + " Bull E Trade Signal", alert.bar, sound.bell); alert(dotDn1, getsymbol() + " bear E Trade ", alert.bar, sound.bell);
Re: Fun with ThinkScript May 01, 2016 05:48PM |
Registered: 8 years ago Posts: 10 |
input magnitude = 3; def ema9 = ExpAverage(close, 9); def ema20 = ExpAverage(close, 20); # define and plot the most recent peak def peak = high >= Highest(high[1], magnitude) and high >= Highest(high[-magnitude], magnitude); def peakvalue = if BarNumber() < magnitude then Double.NaN else if peak then high else Double.NaN; # define and plot the most recent valley def valley = low <= Lowest(low[1], magnitude) and low <= Lowest(low[-magnitude], magnitude); def valleyvalue = if BarNumber() < magnitude then Double.NaN else if valley then low else Double.NaN; ########################################### ########High Volume######## def HighVol = volume > average(volume,20); ####Long Condition### def crossabove9 = (open < ema9) and (close > ema9); def above20 = open < ema20 and close > ema20; #def belowHigh = close > peak; def maUP = ema9 < ema20; plot LongEntry = if crossabove9 and above20 and maUP then 1 else 0; LongEntry.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP); LongEntry.AssignValueColor(color.GREEN); LongEntry.SetLineWeight(3); Alert(LongEntry, "Go Long!!", Alert.bar, Sound.Ring); ####Short Condition### def crossbelow9 = (open > ema9) and (close < ema9); def below20 = (open and close) < ema20; def aboveLow = open > valley; def maDN = ema9 < ema20; plot ShortEntry = if crossbelow9 and aboveLow and HighVol and maDN and below20 then 1 else 0; ShortEntry.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_down); ShortEntry.AssignValueColor(color.RED); ShortEntry.SetLineWeight(3); Alert(ShortEntry, "GO SHORT!!!", Alert.bar, Sound.Ring); # paint entry candle if user so desires input PaintEntryCandle = yes; AssignPriceColor(if PaintEntryCandle and ShortEntry then Color.red else Color.CURRENT); AssignPriceColor(if PaintEntryCandle and LongEntry then color.yellow else Color.CURRENT);
Re: Fun with ThinkScript May 02, 2016 09:27AM |
Registered: 8 years ago Posts: 45 |
alert(dotUp1, getsymbol() + " Bull E Trade Signal", alert.bar, sound.bell); alert(dotDn1, getsymbol() + " bear E Trade ", alert.bar, sound.bell);
Re: Fun with ThinkScript May 02, 2016 09:08PM |
Registered: 8 years ago Posts: 1 |
Re: Fun with ThinkScript May 03, 2016 07:51AM |
Registered: 8 years ago Posts: 4 |
Re: Fun with ThinkScript May 03, 2016 01:47PM |
Registered: 8 years ago Posts: 7 |
Re: Fun with ThinkScript May 03, 2016 01:49PM |
Registered: 8 years ago Posts: 7 |
Re: Fun with ThinkScript May 03, 2016 07:05PM |
Registered: 9 years ago Posts: 11 |
Re: Fun with ThinkScript May 05, 2016 02:46PM |
Registered: 8 years ago Posts: 4 |
Re: Fun with ThinkScript May 08, 2016 07:53AM |
Registered: 9 years ago Posts: 53 |
Re: Fun with ThinkScript May 08, 2016 09:35AM |
Registered: 9 years ago Posts: 53 |
Re: Fun with ThinkScript May 09, 2016 08:16AM |
Registered: 9 years ago Posts: 53 |
Re: Fun with ThinkScript May 09, 2016 05:35PM |
Registered: 9 years ago Posts: 53 |
Re: Fun with ThinkScript May 13, 2016 05:31AM |
Registered: 8 years ago Posts: 7 |
Re: Fun with ThinkScript May 13, 2016 09:29AM |
Registered: 10 years ago Posts: 63 |
Re: Fun with ThinkScript May 13, 2016 10:22AM |
Registered: 8 years ago Posts: 10 |
def FD = close[6]; def SD = close[5]; def pctChg = ((sd - fd) / fd) * 100; plot scan= if pctchg >= 20 then 1 else 0;