NexusFi: Find Your Edge


Home Menu

 





Cumulative Adjusted Tick


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one wldman with 16 posts (17 thanks)
    2. looks_two Silvester17 with 7 posts (15 thanks)
    3. looks_3 paps with 6 posts (7 thanks)
    4. looks_4 rahulgopi with 5 posts (13 thanks)
      Best Posters
    1. looks_one DavidHP with 12 thanks per post
    2. looks_two rahulgopi with 2.6 thanks per post
    3. looks_3 Silvester17 with 2.1 thanks per post
    4. looks_4 wldman with 1.1 thanks per post
    1. trending_up 25,250 views
    2. thumb_up 75 thanks given
    3. group 28 followers
    1. forum 58 posts
    2. attach_file 12 attachments




 
Search this Thread

Cumulative Adjusted Tick

  #31 (permalink)
 
wldman's Avatar
 wldman 
Chicago Illinois USA
Legendary Market Wizard
 
Experience: Advanced
Broker: IB, ToS
Trading: /ES, US Equities/Options
Frequency: Several times daily
Duration: Hours
Posts: 3,512 since Aug 2011
Thanks Given: 2,047
Thanks Received: 9,513

I am looking for is a plot of this Cumulative Adjusted Tick. Or more specifically the cumulative adjusted tick line on my cumulative tick indicator.


Visit my NexusFi Trade Journal Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
MC PL editor upgrade
MultiCharts
ZombieSqueeze
Platforms and Indicators
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
REcommedations for programming help
Sierra Chart
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
33 thanks
Just another trading journal: PA, Wyckoff & Trends
26 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
19 thanks
  #32 (permalink)
 
wldman's Avatar
 wldman 
Chicago Illinois USA
Legendary Market Wizard
 
Experience: Advanced
Broker: IB, ToS
Trading: /ES, US Equities/Options
Frequency: Several times daily
Duration: Hours
Posts: 3,512 since Aug 2011
Thanks Given: 2,047
Thanks Received: 9,513

I was able to find original source for code posted by @Silvester17 for Cumulative Tick v.2. I do not think that has the adjusted tick line...or at least this fool cant find it yet.


Visit my NexusFi Trade Journal Reply With Quote
  #33 (permalink)
 
wldman's Avatar
 wldman 
Chicago Illinois USA
Legendary Market Wizard
 
Experience: Advanced
Broker: IB, ToS
Trading: /ES, US Equities/Options
Frequency: Several times daily
Duration: Hours
Posts: 3,512 since Aug 2011
Thanks Given: 2,047
Thanks Received: 9,513



Visit my NexusFi Trade Journal Reply With Quote
  #34 (permalink)
 
wldman's Avatar
 wldman 
Chicago Illinois USA
Legendary Market Wizard
 
Experience: Advanced
Broker: IB, ToS
Trading: /ES, US Equities/Options
Frequency: Several times daily
Duration: Hours
Posts: 3,512 since Aug 2011
Thanks Given: 2,047
Thanks Received: 9,513

declare lower;
def upper = no;
input hidecumtick = yes;
input symbol = "$TICK";
input period = 20;
input smooth = 5;
input lookback = 4;
input filter = 300;
def p = period;
def i = barNumber();
def na = double.nan;
#input usetrend = {"No", default "Yes"};
def usetrend = yes;
rec htick = if IsNaN(high(symbol)) then htick[1] else high("$TICK") ;
rec ltick = if IsNaN(low(symbol)) then ltick[1] else low("$TICK");
rec avgh = if i == 1 then htick else Max(filter, avgh[1] + 2 / (p + 1) * (htick - avgh[1]));
rec avgl = if i == 1 then ltick else Min(-filter, avgl[1] + 2 / (p + 1) * (ltick - avgl[1]));


def hi = high("$TICK");
def lo = low("$TICK");

plot Last = if IsNaN(close(symbol)[-1]) then close(symbol) else double.nan;

plot amean = if IsNaN(close) then na else (avgh + avgl) / 2;
def trendmean = if usetrend AND (htick > avgh OR ltick < avgl) then amean else 0;

def bull = if htick > avgh then htick - avgh else 0;
def bear = if ltick < avgl then ltick - avgl else 0;

rec ctick = if i == 1 then 0 else if IsNaN(htick) OR IsNaN(ltick) then ctick[1] else ctick[1] + bull + bear + trendmean;

def ctickavg = ExpAverage(ctick, smooth);
plot cumtick = if IsNaN(close) then na else ctickavg;
plot nettick = if IsNaN(close) then na else ctick;

plot zero = 0;
cumtick.AssignValueColor(if cumtick > cumtick[lookback] then color.green else color.red);
AssignPriceColor(if !upper then color.current else if cumtick > cumtick[lookback] AND ltick < avgl then color.green else if cumtick > cumtick[lookback] then color.gray else if cumtick < cumtick[lookback] AND htick > avgh then color.red else color.gray);
cumtick.SetLineWeight(2);
def hcumtick=if !hidecumtick then cumtick else na;
def hzero=if !hidecumtick then zero else na;
AddCloud(hcumtick, hzero );
plot buy = if cumtick > cumtick[lookback] AND ltick < avgl then low - tickSize() else if cumtick > cumtick[lookback] then na else if cumtick < cumtick[lookback] AND htick > avgh then na else na;
plot sell = if cumtick > cumtick[lookback] AND ltick < avgl then na else if cumtick > cumtick[lookback] then na else if cumtick < cumtick[lookback] AND htick > avgh then high + tickSize() else na;

plot ahi = if IsNaN(close) then na else avgh;
plot alo = if IsNaN(close) then na else avgl;
plot hib = if hi < 0 then hi else na;
plot lob = if lo > 0 then lo else na;
plot phi = hi;
plot plo = lo;

buy.SetDefaultColor(color.green);
buy.SetPaintingStrategy(paintingStrategy.ARROW_UP);
sell.SetDefaultColor(color.red);
sell.SetPaintingStrategy(paintingStrategy.ARROW_DOWN);



#plot zero=0;
#
# Formatting:
#
hib.SetPaintingStrategy(paintingStrategy.HISTOGRAM);
hib.SetDefaultColor(color.black);
hib.SetLineWeight(5);
lob.SetPaintingStrategy(paintingStrategy.HISTOGRAM);
lob.SetDefaultColor(color.black);
lob.SetLineWeight(5);

Last.SetDefaultColor(Color.white);
Last.SetPaintingStrategy(paintingStrategy.DASHES);
phi.SetPaintingStrategy(paintingStrategy.HISTOGRAM);
phi.AssignValueColor(if hi > ahi then color.dark_GREEN else color.gray);
phi.SetLineWeight(5);
plo.SetPaintingStrategy(paintingStrategy.HISTOGRAM);
plo.AssignValueColor(if lo < alo then color.dark_red else color.gray);
plo.SetLineWeight(5);
zero.SetDefaultColor(color.gray);
zero.SetLineWeight(1);
amean.AssignValueColor(if cumtick > cumtick[lookback] then color.green else color.red);
amean.SetLineWeight(5);
amean.SetStyle(curve.POINTS);
ahi.SetDefaultColor(color.green);
ahi.SetStyle(curve.SHORT_DASH);
alo.SetDefaultColor(color.red);
alo.SetStyle(curve.SHORT_DASH);

#Hiding depending on if upper or lower
phi.setHiding(upper);
plo.setHiding(upper);
zero.setHiding(upper);
last.setHiding(upper);
hib.setHiding(upper);
lob.setHiding(upper);

ahi.setHiding(upper);
alo.setHiding(upper);
cumtick.setHiding(hidecumtick);
nettick.setHiding(hidecumtick);
buy.setHiding(!upper);
sell.setHiding(!upper);

amean.setHiding(upper);

Visit my NexusFi Trade Journal Reply With Quote
  #35 (permalink)
 
paps's Avatar
 paps 
SF Bay Area + CA/US
 
Experience: None
Platform: TS, TOS, Ninja(Analytics)
Trading: NQ CL, ES when volatile mrkts
Posts: 1,739 since Oct 2011
Thanks Given: 2,176
Thanks Received: 1,726

this seems very old by the Dr. I have seen numerous articles by him....some where he also weights tick....

i feel tick by itself has no meaning...cumulative or not.....if really looking at internals.....i hope you can find some better thoughts from others.

here is my cum tick..i wont go into its construction...other than its one for current...one a little back adjusted....since its locked..but i care 2 hoots what it does....for my entry exits....unless some other stuff happens....its good to have tick on my side....but can careless is all i mean



wldman View Post
I want to post the original article (as far as I can tell) on the topic of Cumulative Adjusted Tick:

Original author Brett Steenbarger,

My recent post explained the construction of the NYSE TICK and related measures of short-term sentiment. Most uses of TICK are intraday, as a way of gauging whether buyers or sellers are gaining the upper hand on short-term moves. I've used short-term oscillators of the NYSE TICK of 10-20 minutes as a way of smoothing out one-minute values. I find the peaks and valleys helpful in execution, as I want to buy on countertrend dips in the TICK oscillator and sell on countertrend bounces.

Some years ago, I decided to create a cumulative line of one-minute TICK values as a way of gauging longer-term buying and selling interest. Each one minute reading was the average of that minute's high, low, and close TICK values. I added the one-minute average readings to a cumulative total, as one would do for an advance-decline line.

What I found was that the NYSE TICK, as a distribution, did not have a perfect zero mean. There was a positive bias to the series. That bias has since been reduced by the elimination of the uptick rule for short-selling. Still, at any given time, the mean of TICK values will depart from zero. This gave the cumulative TICK line a bias in slope, particularly over the long-term.

Thus began my efforts to adjust the cumulative TICK to create a zero mean. The solution I arrived at was to calculate the average one-minute TICK reading for the past 20 days (a roughly 7900 period moving average of the one-minute high, low, close average values) and subtract that moving 20-day average from each subsequent one-minute H-L-C TICK value. I called this the Adjusted TICK.

What the Adjusted TICK is telling you is whether the current TICK values are stronger or weaker than the average over the past 20 days. This tells us whether markets are gaining or losing buying/selling interest relative to their recent past. In a sense, we can think of this as relative sentiment: the degree to which short-term sentiment is departing from what we've seen over the past month.

When we cumulate these Adjusted TICK values, the resulting line is quite helpful in providing a picture of changes in market sentiment. If buyers or sellers are quite dominant, we'll see a sharp rise or fall in slope of the line. If we're range bound, we'll tend to see a flattening of the line. Divergences between price and the cumulative line suggest that buying or selling pressure may be waning over time, which has me looking for possible reversal.

I use the day's Cumulative Adjusted TICK (starting each day at zero) as a trend indicator; most my intraday trades will be in the direction of the TICK line. I also use breakouts in the TICK to validate price breakouts from ranges. Many of my past posts illustrate these concepts.

I don't know of any software that charts the Cumulative Adjusted TICK for you. Market Tells follows the indicator closely and utilizes it in its helpful newsletter and intraday trend-following service. For more intrepid sorts, the NeoTicker program enables you to create TICK indicators for any basket of stocks, sector, or index.

My own calculation of the indicator utilizes data from e-Signal, archived and charted within Excel. If the adjustment feature isn't crucial for you, you can simply observe how much time a moving average of TICK spends above and below the zero level during the day as a rough way of eyeballing the trend of sentiment. Together with the indicators I track weekly on the blog and that I post each morning before trading days via Twitter, I find the Cumulative TICK invaluable in keeping me on the right side of the market.


Reply With Quote
Thanked by:
  #36 (permalink)
 
wldman's Avatar
 wldman 
Chicago Illinois USA
Legendary Market Wizard
 
Experience: Advanced
Broker: IB, ToS
Trading: /ES, US Equities/Options
Frequency: Several times daily
Duration: Hours
Posts: 3,512 since Aug 2011
Thanks Given: 2,047
Thanks Received: 9,513

@paps

I'm not trying to debate the usefulness. What I am trying to do is discover if I can/am looking at the adjusted cumulative tick line that is referenced in the article.

That might be the third item down in the picture you added, but without ant titles or products visible, it is very hard to determine.

Dan

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #37 (permalink)
 
rahulgopi's Avatar
 rahulgopi 
milpitas, ca, usa
Legendary Market Wizard
 
Experience: Intermediate
Platform: Tradestation
Broker: Tradestation, Ameritrade
Trading: ES, Gold, 10 Yr
Posts: 1,723 since Feb 2014
Thanks Given: 1,389
Thanks Received: 4,206

I extensively use Market Internals. It plays a big part in deriving Market Context, along with correlated instruments etc. Divergence in internals, Relative range to prior days , cumulative TICK for the day, over a period of n days etc all tie in. For e.g today Internals opened weaker compared to yesterday, we got a weak open , BUT when low was made after open, divergence in Spreads and YM was notable. Tie this to the over all price action and where volume showed up from Wednesday, it was worth risking few points to go long at the lows.




Regading cumulative TICK, and Cumulative adjusted TICK, I mostly use what @paps showed. @wldman , as you pointed out, I also use a 1 min chart and avg(H+L+C) . Also a running average over a x period is used.

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #38 (permalink)
 
wldman's Avatar
 wldman 
Chicago Illinois USA
Legendary Market Wizard
 
Experience: Advanced
Broker: IB, ToS
Trading: /ES, US Equities/Options
Frequency: Several times daily
Duration: Hours
Posts: 3,512 since Aug 2011
Thanks Given: 2,047
Thanks Received: 9,513

@paps

What is this view from your earlier post?


Visit my NexusFi Trade Journal Reply With Quote
  #39 (permalink)
 
paps's Avatar
 paps 
SF Bay Area + CA/US
 
Experience: None
Platform: TS, TOS, Ninja(Analytics)
Trading: NQ CL, ES when volatile mrkts
Posts: 1,739 since Oct 2011
Thanks Given: 2,176
Thanks Received: 1,726

Same what @rahulgopi mentioned cum tick n adjusted. Just a different way of looking at things. I don't use it always it's at certain times when I enter using some other citeria and like to see confluence

wldman View Post
@paps

What is this view from your earlier post?



Reply With Quote
Thanked by:
  #40 (permalink)
 
Silvester17's Avatar
 Silvester17 
Columbus, OH
Market Wizard
 
Experience: None
Platform: NT 8, TOS
Trading: ES
Posts: 3,603 since Aug 2009
Thanks Given: 5,139
Thanks Received: 11,527



wldman View Post
@sudhirc @cory @Silvester17 @srgtroy @paps

looks like a BMT all-star list, so I'm wondering why I never was aware of this thread. Roy, that money flow thing looks like what you made for me years ago.

So I have been looking at a cumulative tick indicator on ToS, it is one I kind of like to refine or hone in the internals view. Futures wise I am only trading ES now, so the money flow as well as the risk on/risk off trade are NOT front and center any more.

I'm bumping this old thread and tagging all you guys to ask your opinions and for help in dialing in the view. I have some weird shit with my vision this morning so I'll post some charts later when I can see straight. Thanks for any input you can share.

Dan

@wldman

did you already check the download section?

https://nexusfi.com/download/thinkorswim/


also there's another similar thread here:




I do believe that internals are useful in trading. especially for a contextual view of the market. but for short term trading, I believe futures are most of the time the leading force. in other words, internals are lagging. of course this is just imho and should be treated like that

Reply With Quote
Thanked by:




Last Updated on May 11, 2023


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts