Re: Fun with ThinkScript October 30, 2018 06:11PM |
Registered: 5 years ago Posts: 9 |
Re: Fun with ThinkScript October 30, 2018 08:09PM |
Registered: 5 years ago Posts: 4 |
Re: Fun with ThinkScript October 30, 2018 08:19PM |
Registered: 5 years ago Posts: 9 |
Re: Fun with ThinkScript October 30, 2018 08:26PM |
Registered: 5 years ago Posts: 9 |
Keltner Channels Study October 28, 2018 10:19AM |
Registered: 5 years ago Posts: 9 |
Re: Fun with ThinkScript October 31, 2018 05:12AM |
Registered: 5 years ago Posts: 4 |
Re: Center of Gravity October 31, 2018 11:12AM |
Registered: 5 years ago Posts: 1 |
Re: Fun with ThinkScript October 31, 2018 04:53PM |
Registered: 5 years ago Posts: 9 |
Re: Fun with ThinkScript November 01, 2018 10:17AM |
Registered: 5 years ago Posts: 2 |
Re: Fun with ThinkScript November 17, 2018 02:46PM |
Registered: 5 years ago Posts: 2 |
Re: Fun with ThinkScript November 18, 2018 10:21PM |
Registered: 5 years ago Posts: 2 |
Re: Fun with ThinkScript November 20, 2018 12:47AM |
Registered: 5 years ago Posts: 2 |
5 min range November 28, 2018 03:42PM |
Registered: 7 years ago Posts: 126 |
Quote
F1p 0pt10ns
"Can anyone help me with this code? I am getting two different values for the opening 5 min range and the \"entry\" line on the 5 min and 2 min charts"
Re:"price percentage change" November 28, 2018 03:54PM |
Registered: 7 years ago Posts: 126 |
Re: IWM labels November 28, 2018 04:26PM |
Registered: 7 years ago Posts: 126 |
Quote
F1p 0pt10ns
I am trying to get labels on every one of my charts that shows the current IWM price and colors it green if IWM is greater than IWM's close
AddLabel(IWM > close("IWM","DAY" )[1], "IWM: " + IWM, Color.GREEN); AddLabel(IWM < close("IWM","DAY" )[1], "IWM: " + IWM, Color.LIGHT_RED);
Re: Keltner Channels Study December 01, 2018 05:54AM |
Registered: 7 years ago Posts: 126 |
Re: Fun with ThinkScript December 01, 2018 02:35PM |
Registered: 5 years ago Posts: 1 |
Re: Re:"price percentage change" December 03, 2018 08:47PM |
Registered: 5 years ago Posts: 2 |
Re: Re:"price percentage change" December 05, 2018 04:03PM |
Registered: 7 years ago Posts: 126 |
Re: Fun with ThinkScript December 13, 2018 06:36PM |
Registered: 6 years ago Posts: 32 |
Balance of Power December 14, 2018 10:21AM |
Registered: 8 years ago Posts: 2 |
Re: Fun with ThinkScript December 15, 2018 08:31AM |
Registered: 5 years ago Posts: 6 |
Re: Fun with ThinkScript December 15, 2018 08:05PM |
Registered: 6 years ago Posts: 32 |
Re: Balance of Power December 16, 2018 06:30AM |
Registered: 7 years ago Posts: 126 |
Quote
The Balance of Power indicator measures the market strength of buyers against sellers by assessing the ability of each side to drive prices to an extreme level. The calculation is: Balance of Power = (Close price – Open price) / (High price – Low price) The resulting value can be smoothed by a moving average.
Re: Fun with ThinkScript January 01, 2019 10:14PM |
Registered: 8 years ago Posts: 15 |
Re: Fun with ThinkScript January 02, 2019 06:11AM |
Registered: 5 years ago Posts: 6 |
Re: Fun with ThinkScript January 09, 2019 02:35AM |
Registered: 5 years ago Posts: 8 |
Re: Plot conditions January 09, 2019 06:03AM |
Registered: 7 years ago Posts: 126 |
input price = close; input length = 9; input displace = 0; input averageType = AverageType.SIMPLE; input ATRperiod = 9; declare lower; def ATR = MovingAverage(averageType, TrueRange(high, close, low), ATRperiod); addlabel(yes,"atr :"+atr,color.yellow); def avg = MovingAverage(averageType, price, length); addlabel(yes,"avg :"+avg,color.white); def height = ATR - ATR[1]; addlabel(yes,"height :"+height,color.red); def “Angle, deg” = Atan(height/length) * 180 / Double.Pi; addlabel(yes,"angle :"+ “Angle, deg”,color.green); def MovingAverage = Average(price[-displace], length); #If the current price AND the moving average is higher than the price of the moving average 9-periods back, by more than the ATR n-periods back, the slope is considered positive. Plot slopepos= if avg > avg[9] and price - price[9] > ATR then “Angle, deg” else double.naN; #If the current price AND the moving average is higher or lower than the price of the moving average n-periods back, but their distance is less than the ATR n-periods back, the slope is considered horizontal. Plot slopeflat= if avg != avg[9] and absvalue(price - price[9]) < ATR then “Angle, deg” else double.naN; slopepos.setdefaultColor(color.green) ; slopeflat.setdefaultColor(color.red) ;
Re: Plot conditions January 09, 2019 08:00PM |
Registered: 5 years ago Posts: 8 |
COLOR of slope 3-period later doesn't turn green/red January 09, 2019 09:16PM |
Registered: 5 years ago Posts: 8 |