Develop uptick and downtick indicator

Astor

New member
I am looking your coders' participation to figure an indicator for TOS, I have it on my Ninja Trader-it is actually a monthly paid subscription- and prefer to have it on TOS, the vendor have no intention to develop for TOS, so maybe you guys can figure this out.
As you may know the large institutional traders uses large size orders to trade /ES,/NQ futures and beta name stocks. They buy in bulk with algos or pre-programed orders; and the other hand the retailers like you and me trade with 1-10 contracts and 100's shares vs 1000's shares.
These trades are more visible and traceable with tick charts rather than time charts-at tick charts every tick counts the number of trades and prints. With that data it is easier to sort the average trade size and labels as a pro trade or retail trade. Volume data carries two input: Tick Count and Trade Volume where this can be harvested.
The next thing to do is plot these on the tick charts-I use 500-1500-4500 tick charts for trading ES, (changes with futures) as a blue bars for large average trades and yellow for retail trades. As you may have noticed the retailers always wrongfooted and most losing money at the trading- large traders have longs and shorts and able to move the market into their advantage- idea is able to see the large trades during the day and also even on daily equitant of tick charts. Here is a picture of my NinjaTrader screen showing the large trades in blue bars and retailers in yellow bars. Blue bars printed when the average trade in that tick is over 25.
It is more than this of course and please dont hesitate to reply or DM me regarding developing this. I am willing to compensate who can help me with this.

Ei0U0iA.png
I even have a primal code for thisdone for TradingView/Ninja Trader as looks like this:


Code:
inputs ShowAvg(True), AvgLen(100);
Variables; S(0)
If (UpTicks Data2 +DownTicks Data2) <> 0 then S= (Upticks+DownTicks)/(UpTicks Data2 + (DownTicks Data2);
Plot1 (S, AvgSize")
If  showAvg then Plot2 (Average(S,AvgLen)," Avg");
 
EDIT I understand this isn't what you're after, but while I work on that I'll leave this one here for anyone interested.

So here's a basic one I whipped up a long time ago:
Code:
declare lower;

def V = volume;
def T = Tick_count;

plot VolumePerTick = (V / T) - 1;
plot zero = 0;

plot long = SimpleMovingAvg(VolumePerTick, 100);
plot target = long * 2;
Explanations:
1. it is just the volume per tick.
2. I subtract 1 from the Volume/Tick (VpT hereafter) ratio to make differences obvious on a chart. I've run this on /mnq and /mes only. You'd have to alter this for stocks I imagine
3. the interesting things seem to happen when the VpT spikes above the target line (double the 100 period moving average of the VpT as you can see in this 500 tick chart:
3dvhGah.png


Caveats:
this does not take into consideration up vs down volume. I will think about that one. perhaps.

Happy Trading,
mashume
 
Last edited:

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
277 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top