Re: Fun with ThinkScript May 16, 2017 07:58AM |
Registered: 9 years ago Posts: 38 |
Re: Fun with ThinkScript May 22, 2017 02:17PM |
Registered: 6 years ago Posts: 6 |
Re: Fun with ThinkScript May 24, 2017 06:42PM |
Registered: 7 years ago Posts: 9 |
Re: Fun with ThinkScript May 30, 2017 09:44AM |
Registered: 8 years ago Posts: 59 |
Re: Fun with ThinkScript May 30, 2017 06:56PM |
Registered: 6 years ago Posts: 4 |
Re: Fun with ThinkScript May 30, 2017 07:10PM |
Registered: 6 years ago Posts: 4 |
Re: Fun with ThinkScript May 31, 2017 02:27PM |
Registered: 6 years ago Posts: 4 |
Quote
declare lower;
input length = 9;
input colorNormLength = 14;
input price = close;
input signalLength = 3;
def tr = ExpAverage(ExpAverage(ExpAverage(Log(price), length), length), length);
plot TRIX = (tr - tr[1]) * 10000;
plot Signal = ExpAverage(TRIX, signalLength);
plot ZeroLine = 0;
TRIX.DefineColor("Highest", Color.YELLOW);
TRIX.DefineColor("Lowest", Color.LIGHT_RED);
TRIX.AssignNormGradientColor(colorNormLength, TRIX.color("Lowest" ), TRIX.color("Highest" ));
Signal.setDefaultColor(GetColor(3));
ZeroLine.SetDefaultColor(GetColor(5));
Quote
def tr = ExpAverage(ExpAverage(ExpAverage(Log(price), length), length), length);
ALMA (moving average) in thinkscript June 05, 2017 01:32PM |
Registered: 8 years ago Posts: 4 |
Re: Fun with ThinkScript June 09, 2017 03:47PM |
Registered: 9 years ago Posts: 13 |
Re: Fun with ThinkScript June 16, 2017 02:32PM |
Registered: 6 years ago Posts: 1 |
Scan a candle closing below 9 ema June 16, 2017 08:17PM |
Registered: 6 years ago Posts: 2 |
Trading Sessions Indicator June 17, 2017 05:59PM |
Registered: 6 years ago Posts: 2 |
Wolfe Wave Indicator June 18, 2017 08:17PM |
Registered: 6 years ago Posts: 1 |
Re: Wolfe Wave Indicator June 25, 2017 02:08AM |
Registered: 6 years ago Posts: 2 |
Counting Bars in Moving average June 25, 2017 02:06AM |
Registered: 6 years ago Posts: 2 |
Re: Fun with ThinkScript July 01, 2017 05:45PM |
Registered: 8 years ago Posts: 59 |
Re: Fun with ThinkScript July 02, 2017 04:41AM |
Registered: 10 years ago Posts: 615 |
Quote
Ralph53
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("GOOG", period = "day" )[1]);
Re: Fun with ThinkScript July 02, 2017 04:45AM |
Registered: 10 years ago Posts: 615 |
Quote
kalthetrader
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; def sumDiff = Sum(diff, 10);
Re: Fun with ThinkScript July 02, 2017 07:30AM |
Registered: 10 years ago Posts: 615 |
Quote
jackmantos
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;
Re: Fun with ThinkScript July 02, 2017 09:57AM |
Registered: 9 years ago Posts: 60 |
Re: Fun with ThinkScript July 03, 2017 12:40PM |
Registered: 8 years ago Posts: 59 |
Re: Fun with ThinkScript August 07, 2017 01:41PM |
Registered: 6 years ago Posts: 1 |
Re: Fun with ThinkScript August 07, 2017 02:02PM |
Registered: 9 years ago Posts: 38 |
Volume Bar questions August 08, 2017 01:55PM |
Registered: 7 years ago Posts: 1 |
plot line between current low and prior low August 11, 2017 03:41PM |
Registered: 6 years ago Posts: 1 |
Re: Fun with ThinkScript September 04, 2017 01:57PM |
Registered: 8 years ago Posts: 54 |
Close of the highest volume bar September 06, 2017 04:56AM |
Registered: 7 years ago Posts: 126 |
mov. avg. formulas? September 11, 2017 11:00AM |
Registered: 8 years ago Posts: 15 |
Re: mov. avg. formulas? September 11, 2017 12:25PM |
Registered: 8 years ago Posts: 15 |
Re: Fun with ThinkScript September 12, 2017 08:52PM |
Registered: 8 years ago Posts: 10 |