Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.

agon

Volume Splitter

Recommended Posts

If I was to tackle block size as a project I would look at some sort of statistical analysis of blocks to determine dynamically what was 'large'. Not sure how well that would work but would dynamically adjust for seasonality and may be even fast enough to adjust for open, lunch, globex etc. I think this might be surprisingly powerful, send me a cheque if you make millions from it :)

 

Actually I did this last summer when it annoyed me that sometimes during lunch there were no 100 contract traders at all. The version I did can trade on a single chart from the day session into the evening session and it transitions over a few bars to the new environment(s).

 

While it's neat that it can do that, I wouldn't say it's surprisingly powerful. "Wonderfully convenient" is more like the extent of it. I was actually a little disappointed. It does seem to take a little noise out of the line when really big players come to the game (since it starts focusing only on them), but on fast charts those same really big players will be so much of the volume that they will dominate the shape of the splitter line anyway.

 

So, I didn't even bother to release it (because I was too lazy to make the enhancement for TS, eSignal, and our other platforms) (I did it on ninja). But, lately it's been pointed out that people have trouble finding the 'right' settings for their splitter on other markets besides ES, and the dynamic splitter would 'solve' that problem for the common case where you just want to follow the big players. So, sometime in the next month my company wants me to release it after all.

 

The new version will have a few enhancements to how it judges the line thickness as well.

Edited by RichardTodd

Share this post


Link to post
Share on other sites

I looked up your prior post that you referred to. I have studied the chart and I'm seeing something different than you so I hope you can elaborate a bit. You say that price pulled back but the big traders kept going in their direction. From what I see the big traders did participate in the pullback and the smoothing effect of the MACD makes the macd line flatten out a but it doesn't pull back.

 

Well, if you consider how a macd works, then you know the line flattens out because the ema's are still separating but at a slower rate than before. So, momentum is coming out of the underlying in those cases, but the underlying isn't pushing down. Price coming down during an uptrend without big traders bothering to sell == potential for profit$$$

Share this post


Link to post
Share on other sites
Well, if you consider how a macd works, then you know the line flattens out because the ema's are still separating but at a slower rate than before. So, momentum is coming out of the underlying in those cases, but the underlying isn't pushing down. Price coming down during an uptrend without big traders bothering to sell == potential for profit$$$

 

Thanks for the explanation, it makes sense to me that it flattened out but did not turn down.

 

I'm curious, for ES, what is the best trader size to follow? Yesterday I followed three groups:

 

1,1

100,199

200,9999

 

it was interesting that there was a difference between 100-199 and 200+. It appeared the 200+ traders seemed to be a bit early around the turns. I suspect it's because when you're trading 200+ contracts you must sell into increasing prices and buy from decreasing prices and also that it was their activity which turned the market.

Share this post


Link to post
Share on other sites
They are surprisingly close. Maybe faster ma periods would make for less lag.

 

Also the EOT indicator doesn't lead as much as I initially thought.

 

I think I mentioned this earlier in the thread but you could use one of the 'fancy' low lag MA's Jurik, Hurst, Ehlers etc.

Share this post


Link to post
Share on other sites
.......Actually I did this last summer when it annoyed me that sometimes during lunch there were no 100 contract traders at all......

 

Using SD's actually is a no brainier (well it is to me but then I am a no brainer myself :D)....except they are rather slow in execution unless you implement them as a continuous algorithm.

 

I also wonder whether it is worth eliminating outliers in certain cases. For example Globex allows you to negotiate blocks with a counter party outside the auction process (i.e. off the exchange). This is then reported as a single large block trade. There is a minimum size to use this feature (can't recall what) but it is probably worth eliminating them altogether.

Share this post


Link to post
Share on other sites
Using SD's actually is a no brainier (well it is to me but then I am a no brainer myself :D)....except they are rather slow in execution unless you implement them as a continuous algorithm.

 

Yeah, I used an alternate method that's eager to jump down and a bit more reluctant to jump up. The reason is that there's not much penalty for including too many traders for a bar or two (just a bit more noise), but including too few traders leaves the line flat.

 

I also wonder whether it is worth eliminating outliers in certain cases.

 

That's funny you should say that, because the dynamic splitter I made had both a minimum and a maximum that you could set. They were just static inputs, rather than SD-style outlier detection, though. In other words, no matter how slow the market was, I didn't want my splitter telling me that 5 contract trades were "big." I put in the maximum thinking of those extraordinary blocks you see in the tape on stocks sometimes, which in my experience has the opposite effect of a normal block if it has any effect at all. I actually didn't know about off-market globex trades. I don't think I've ever noticed an obvious one, so that's very interesting. Maybe I don't know how to spot them.

Share this post


Link to post
Share on other sites
I actually didn't know about off-market globex trades. I don't think I've ever noticed an obvious one, so that's very interesting. Maybe I don't know how to spot them.

 

Me neither. Does anyone know how to spot these and what affect on the market this can have?

Share this post


Link to post
Share on other sites

I did have a search of the CME before I posted and if there was an obvious helpful link I would have posted it (honest I did). There are quite a few links returned and I went through the first few but nothing that helpful (just talking about it in principle). There is a minimum size that is set (and sometimes adjusted) by the exchange. Eurex has the same feature too incidentally.

Share this post


Link to post
Share on other sites

I am wondering whether off-exchange block trades even matter since they do not change the inside market. They would have to appear in the DOM and time & sales to have an effect on the market, no?

Share this post


Link to post
Share on other sites
I am wondering whether off-exchange block trades even matter since they do not change the inside market. They would have to appear in the DOM and time & sales to have an effect on the market, no?

 

I am pretty sure they are reported (i.e. cross the tape) but you are right they would not show up on the order book. It puzzles me exactly how it works if it is negotiated away from the market price.

Share this post


Link to post
Share on other sites
I think I mentioned this earlier in the thread but you could use one of the 'fancy' low lag MA's Jurik, Hurst, Ehlers etc.

 

Hello BlowFish,

 

I was wondering if you could add to your VolumeSplitter a reset to zero at the morning open (09:30 est) - or allow it to be at adjustable times.

 

inputs: 
Desc("AddText"),
UpColor(darkgreen), 
DownColor(red), 
DeltaBar(1), 
MaxBlock(9999),
MinBlock(0),
ResetDeltaEachBar(0);   

variables: 
MyVol(0), 
Block(0),
color(yellow), 
intrabarpersist MyCurrentBar(0), 
intrabarpersist VolumeAtBid(0), 
intrabarpersist VolumeAtAsk(0), 
intrabarpersist BAVolRatio(0), 
intrabarpersist VolTmp(0), 
intrabarpersist Delta (0), 
intrabarpersist DeltaH (0), 
intrabarpersist DeltaL (0), 
intrabarpersist DeltaO (0);  

if LastBarOnChart then begin    
MyVol = Iff(BarType < 2, Ticks, Volume); 
if CurrentBar > MyCurrentBar then begin 
VolumeAtBid = 0; 
VolumeAtAsk = 0; 
BAVolRatio = 0; 
VolTmp = 0; 
MyCurrentBar = CurrentBar; 

if ResetDeltaEachbar = 1 then Delta =0;
DeltaO = Delta; 
DeltaH = Delta; 
DeltaL = Delta; 
end; 

Block = Myvol - VolTmp;
if (Block >= MinBlock) and (Block <= MaxBlock) then
if Close <= InsideBid then
Delta  = Delta - MyVol + VolTmp else 
if Close >= InsideAsk then 
Delta = Delta + MyVol - VolTmp ;  
VolTmp = MyVol ;
end;  

DeltaH = maxlist(DeltaH, Delta); 
DeltaL = minlist(DeltaL, Delta);    
if Delta <= 0 then color = DownColor else 
color = UpColor;  
plot1(DeltaO, "DO"); 
Plot2(DeltaH, "DH"); 
Plot3(DeltaL, "DL"); 
plot4(Delta, "DC");

 

 

Thank you very much in advance - these indicators have increased my success in the markets!

Share this post


Link to post
Share on other sites

I was wondering if you could add to your VolumeSplitter a reset to zero at the morning open (09:30 est) - or allow it to be at adjustable times.

 

what would you want to do reset it, are you having the skript running 24/5?

 

as long as you open it before market will open it will not run any data and start

calculate all variables at "0"

in case it is still your wish place something like this in the code

inputs: ResetTime ( 0530 );

if t = ResetTime then begin //the 0530 is an example replace it by the future's closing-time - the time the last bar of that session will close
DeltaO =0;
DeltaH = 0;
DeltaL = 0;
Delta  = 0;
VolumeAtBid = 0;
VolumeAtAsk = 0;
BAVolRatio = 0;
VolTmp = 0;
end;

Share this post


Link to post
Share on other sites

i found this litle peace of info on another forum (yes that one)

can someone confirm this

 

I have been a TS customer for 4 years( not anymore ) so a few warning about TS Datas:

- If you trade futures, Implied prices sizes on DOM and prints in T§S are missing. Depending on the market, it can be half the prints...

-bid/ask datas( important for HF systems ) are not real time . It's just a snapshot at every tick.

Share this post


Link to post
Share on other sites

You might be surprised to find out...

MOST of the data providers supply quotes in snapshots.

 

You can check the fine prints in your service contract for detail.

Share this post


Link to post
Share on other sites

im not realy that surprised

well ok, if it suits the quotes as well maybe i am

untill today i have not been able to customize any indicator that

shows correct t&s data

 

it indeed looks like a snapshot using skripts with commands like insidebid/insideask

 

wenn using upticks/downticks i am sure the information is an "average" only

as i see in my T&S window that within a single tick there could be over 10

different orders at mixed bid/ask

 

just wondering if you guys experience the same,

if so this all would be flawed

Share this post


Link to post
Share on other sites
i found this litle peace of info on another forum (yes that one)

can someone confirm this

 

I have been a TS customer for 4 years( not anymore ) so a few warning about TS Datas:

- If you trade futures, Implied prices sizes on DOM and prints in T§S are missing. Depending on the market, it can be half the prints...

-bid/ask datas( important for HF systems ) are not real time . It's just a snapshot at every tick.

 

I was wondering about this cause I sometimes see 1000 contracts on the ES T&S window and I was wondering if there were 1000 contract traders or if it was a sum of several trades. But at the same time I have a lot of 1 contract trades so if it were doing snapshots then wouldn't all the 1 contracts get combined?

Share this post


Link to post
Share on other sites

Could be 'flawed' but still 'work' FD. I believe zenfire is a complete feed (that of course is in respect to actual prints) not sure about the inside bid and ask info they provide, one could always shoot them an email and ask. In any case I think NT it is a better platform for this sort of analysis as it is event driven.

Share this post


Link to post
Share on other sites
Could be 'flawed' but still 'work' FD. I believe zenfire is a complete feed (that of course is in respect to actual prints) not sure about the inside bid and ask info they provide, one could always shoot them an email and ask. In any case I think NT it is a better platform for this sort of analysis as it is event driven.

 

Yes, probably. I have noticed lately, though, that NT's T&S window will sometimes drop trades if they occur too quickly (this is a filtered window > 99). Also, the T&S window trade direction sometimes disagrees with the direction of the trade according to their own bid-ask volume indicator. I have yet to investigate this thoroughly, but I suspect it's something in the T&S window itself rather than their basic tick processing.

 

Interestingly (btw) in intense periods indicator script appears to be processed immediately, while drawing the charts lags, and T&S lags even more.

Share this post


Link to post
Share on other sites
In any case I think NT it is a better platform for this sort of analysis as it is event driven.

 

I'm curious part of the event driven APIs you find more suited for the volume work. I ask because I am currently using tradestation and I can't think of anything NT provided for the bid/ask that TS doesn't.

 

The advantage I see of NT's event driven API is that you get call backs for order state changes and executions. But this is the only "event driven" thing I've used with NT.

Share this post


Link to post
Share on other sites

I believe you can program ninja to generate order book changes. In tradestation you get 'events' for actual ticks within the event processing you 'peak' at the current bid ask. This leads to race conditions or sequencing errors. You can minimise the effect of this in TS but not totally eliminate it.

Share this post


Link to post
Share on other sites
I am wondering whether off-exchange block trades even matter since they do not change the inside market. They would have to appear in the DOM and time & sales to have an effect on the market, no?

 

most exchanges require all "off floor" trades be reported in a timely manner. the trouble is that this can be be out of phase with the current action. so if a large block trade is negotiated "upstairs" it will only affect the marked when it gets reported. this is part of the trouble with watching big trades only; they are not necessarily in response to other large block trades. also, the big trade has to respect all orders between the reported price and current so it will have the effect of firing off orders in the order book between the reported price and current. the large trading desks spend alot of time making sure it's not too expensive for them

 

for a detailed description, i would recommend Larry Harris's book: "Trading and Exchanges"

Share this post


Link to post
Share on other sites
what would you want to do reset it, are you having the skript running 24/5?

 

as long as you open it before market will open it will not run any data and start

calculate all variables at "0"

in case it is still your wish place something like this in the code

inputs: ResetTime ( 0530 );

if t = ResetTime then begin //the 0530 is an example replace it by the future's closing-time - the time the last bar of that session will close
DeltaO =0;
DeltaH = 0;
DeltaL = 0;
Delta  = 0;
VolumeAtBid = 0;
VolumeAtAsk = 0;
BAVolRatio = 0;
VolTmp = 0;
end;

 

Thank you flyingdutchmen...

 

When using a "GAP" chart this is how the indicator looks in the morning (chart started 2 minutes before opening bell):

 

5aa70ef57d922_Picture23.png.eee706f5c3e95c235c69e90169c7fa27.png

 

As you can see the indicator does not start out at zero. It seems to always give some sort of previous volume.

 

Any other insights will be greatly appreciated.

Share this post


Link to post
Share on other sites

I've just gone thru the thread... is there a NINJA version on here any where? I'd like one as using Zen-fire w/NT and find the data is excellent and I'm not a programmer (trying to learn NT scripting). I think this indicator is quite telling and would love to have a NT version to play with.. enhance my trading!

 

I saw some disparaging comments about VSA in my wandering. the use of upthrusts and downthrusts has improved my entry/exits emensely... I have watched many of TradeGuiders video/webinars live, and frequently out do them with their own indicators/ideas... but they wait for confirmations of one sort or another. This indicator would likely be my confirmation in my mind.

 

Thanks for your help.

 

BillyBob

Share this post


Link to post
Share on other sites
I saw some disparaging comments about VSA in my wandering. the use of upthrusts and downthrusts has improved my entry/exits emensely... I have watched many of TradeGuiders video/webinars live, and frequently out do them with their own indicators/ideas... but they wait for confirmations of one sort or another. This indicator would likely be my confirmation in my mind.

 

How/Where did you see the videos? I'd love to see them but it looks like you have to buy their software. I'm trying to program in some of their signals into tradestation.

 

I'm curious how people are using this volume splitter. I'm not sure which trader group to follow, sometimes smaller traders lead and other times the big traders lead. So far I'm not finding any one group better than the others. The fact that it's real-time only does make it difficult to analyze things.

 

As for an NT version, it shouldn't be difficult to write. The code is quite simple really. Ask on the NT forums.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Topics

  • Posts

    • YUM Yum Brands stock, nice breakout with volume +34.5%, from Stocks to Watch at https://stockconsultant.com/?YUM
    • Date: 3rd April 2025.   Gold Prices Pull Back After Record High as Traders Eye Trump’s Tariffs.   Key Takeaways:   Gold prices retreated after hitting a record high of $3,167.57 per ounce due to profit-taking. President Trump announced a 10% baseline tariff on all US imports, escalating trade tensions. Gold remains exempt from reciprocal tariffs, reinforcing its safe-haven appeal. Investors await US non-farm payroll data for further market direction. Fed rate cut bets and weaker US Treasury yields underpin gold’s bullish outlook. Gold Prices Retreat from Record Highs Amid Profit-Taking Gold prices saw a pullback on Thursday as traders opted to take profits following a historic surge. Spot gold declined 0.4% to $3,122.10 per ounce as of 0710 GMT, retreating from its fresh all-time high of $3,167.57. Meanwhile, US gold futures slipped 0.7% to $3,145.00 per ounce, reflecting broader market uncertainty over economic and geopolitical developments.   The recent rally was largely fueled by concerns over escalating trade tensions after President Donald Trump unveiled sweeping new import tariffs. The 10% baseline tariff on all goods entering the US further deepened the global trade conflict, intensifying investor demand for safe-haven assets like gold. However, as traders locked in gains from the surge, prices saw a modest retracement.   Trump’s Tariffs and Their Market Implications On Wednesday, Trump introduced a sweeping tariff policy imposing a 10% baseline duty on all imports, with significantly higher tariffs on select nations. While this move was aimed at bolstering domestic manufacturing, it sent shockwaves across global markets, fueling inflation concerns and heightening trade war fears.   Gold’s Role Amid Trade War Escalations Despite the widespread tariff measures, the White House clarified that reciprocal tariffs do not apply to gold, energy, and ‘certain minerals that are not available in the US’. This exemption suggests that central banks and institutional investors may continue favouring gold as a hedge against economic instability. One of the key factors supporting gold is the slowdown that these tariffs could cause in the US economy, which raises the likelihood of future Federal Reserve rate cuts. Gold is currently in a pure momentum trade. Market participants are on the sidelines and until we see a significant shakeout, this momentum could persist.   Impact on the US Dollar and Bond Yields Gold prices typically move inversely to the US dollar, and the latest developments have pushed the dollar to its weakest level since October 2024. Market participants are increasingly pricing in the possibility of a Fed rate cut, as the tariffs could weigh on economic growth.   Additionally, US Treasury yields have plummeted, reflecting growing recession fears. Lower bond yields reduce the opportunity cost of holding non-yielding assets like gold, making it a more attractive investment.         Technical Analysis: Key Levels to Watch Gold’s recent rally has pushed it into overbought territory, with the Relative Strength Index (RSI) above 70. This indicates a potential short-term pullback before the uptrend resumes. The immediate support level lies at $3,115, aligning with the Asian session low. A further decline could bring gold towards the $3,100 psychological level, which has previously acted as a strong support zone. Below this, the $3,076–$3,057 region represents a critical weekly support range where buyers may re-enter the market. In the event of a more significant correction, $3,000 stands as a major psychological floor.   On the upside, gold faces immediate resistance at $3,149. A break above this level could signal renewed bullish momentum, potentially leading to a retest of the record high at $3,167. If bullish momentum persists, the next target is the $3,200 psychological barrier, which could pave the way for further gains. Despite the recent pullback, the broader trend remains bullish, with dips likely to be viewed as buying opportunities.   Looking Ahead: Non-Farm Payrolls and Fed Policy Traders are closely monitoring Friday’s US non-farm payrolls (NFP) report, which could provide critical insights into the Federal Reserve’s next policy moves. A weaker-than-expected jobs report may strengthen expectations for an interest rate cut, further boosting gold prices.   Other key economic data releases, such as jobless claims and the ISM Services PMI, may also impact market sentiment in the short term. However, with rising geopolitical uncertainties, trade tensions, and a weakening US dollar, gold’s safe-haven appeal remains strong.   Conclusion: While short-term profit-taking may trigger minor corrections, gold’s long-term outlook remains bullish. As global trade tensions mount and the Federal Reserve leans toward a more accommodative stance, gold could see further gains in the months ahead.   Always trade with strict risk management. Your capital is the single most important aspect of your trading business.   Please note that times displayed based on local time zone and are from time of writing this report.   Click HERE to access the full HFM Economic calendar.   Want to learn to trade and analyse the markets? Join our webinars and get analysis and trading ideas combined with better understanding of how markets work. Click HERE to register for FREE!   Click HERE to READ more Market news.   Andria Pichidi HFMarkets   Disclaimer: This material is provided as a general marketing communication for information purposes only and does not constitute an independent investment research. Nothing in this communication contains, or should be considered as containing, an investment advice or an investment recommendation or a solicitation for the purpose of buying or selling of any financial instrument. All information provided is gathered from reputable sources and any information containing an indication of past performance is not a guarantee or reliable indicator of future performance. Users acknowledge that any investment in Leveraged Products is characterized by a certain degree of uncertainty and that any investment of this nature involves a high level of risk for which the users are solely responsible and liable. We assume no liability for any loss arising from any investment made based on the information provided in this communication. This communication must not be reproduced or further distributed without our prior written permission.
    • AMZN Amazon stock, nice buying at the 187.26 triple+ support area at https://stockconsultant.com/?AMZN
    • DELL Dell Technologies stock, good day moving higher off the 90.99 double support area, from Stocks to Watch at https://stockconsultant.com/?DELL
    • MCK Mckesson stock, nice trend and continuation breakout at https://stockconsultant.com/?MCK
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.