Here’s a simple script that plots a dot above/below the current bar if an extreme NYSE TICK reading is registered. The thresholds are user selectable.
# EXTREMETICK
# (c) 2009 http://www.thinkscripter.com
# thinkscripter@gmail.com
# Last Update 17 Jan 2009
input dotOffset = 1.0;
input HighThreshold = 1000;
input LowThreshold = -1000;
def tickDataLow = low("$TICK");
def tickDataHigh = high("$TICK");
def tickClose = close("$TICK");
def isLow = if((tickDataLow < LowThreshold), 1, 0);
def isHigh = if((tickDataHigh > HighThreshold), 1, 0);
def plotcolor = if(isLow, 6, 5);
plot TickDot = if(isLow and !isHigh, low-dotOffset, if(isHigh and !isLow , high+dotOffset, double.nan));
TickDot.setStyle(curve.POINTS);
TickDot.assignValueColor(getColor(plotcolor));
TickDot.setLineWeight(3);




Hello,
I really appreciate the indicators. With the Extreme Tick indicator, is there a way you could add a calculation to the code that would allow the tick readings to be converted to the exact tick reading in numbers? When + 1020 was hit , that number would plot on you chart in green? And negatives would plot in red. I am sure their is a way.
Thanks
Just edit the code where it says: HighThresHold=xxxx
LowThresHold=xxxx
Is there any way for this to work on a tick chart rather than a 1Min,5Min, etc? It does seem that the data input would need to be the same, but I would if you can grab ticks/minute data in the same chart.
I really would like this on the /ES 233tick chart. Thanks!
There is no TICK data available on ToS’s tick charts. I’d love it too…
Hello – Thanks for your great scripts! When I cut and pasted the script into TOS, the dots appear way above and way below the bars? Any suggestions?
David,
Go to the study parameters panel and change the “Dot Offset” to a lower value.
Eric
I use TradeStation. Do you have a version of this Extreme Tick indicator that works with Tradestation charts?
Todd
Sorry, Todd – Just thinkorswim.
Eric
I pasted the code in TOS and the dots shows up great, but they appear much more frequently than the chart I am using. In other words, when I look at an hourly $tick chart, where it only crosses the 1000 mark once, there are several dots. Are these set to a faster period, like 1min or 5min?” Is there a way to change it to show the dots when they exceed the values on an hourly period?