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

    • Date: 1st July 2024. French Elections Spark Risk Rally as Far-Right Falls Short! Projections show France’s Far Right Party will lead the first round of parliamentary elections. The Euro is the day’s best performing currency, increasing in value by more than 0.40%. European Indices soar! The Euro Stoxx 50 rises 1.85% and the DAX 1.00%. Investors turn their attention to today’s German Inflation data. Analysts expect the German Consumer Price Index to rise 0.2%. FRA40 (CAC 40) – French Elections Trigger Volatility And “Bottom Fishing”! By the market close on Friday, the French CAC was almost at its lowest level for 2024. Since Sunday’s elections, all European indices have risen and the French CAC trades 2.65%. Investors have bought the dip triggering a large price gap and a significantly higher price. Nonetheless, the price remains 7.00% lower than the index’s all-time high. The price is being influenced by three major factors; the upcoming earnings data, higher appetite towards stocks and of course the French elections. Following an exceptionally high voter turnout, the National Rally is leading with 34% of the vote. The left-wing New Popular Front is in second place with 28%, and President Emmanuel Macron’s Ensemble Alliance has dropped to a disappointing third place with 20%, according to initial estimates. Although the National Rally seems poised to secure the most seats, France could be facing a hung parliament and increased political uncertainty. Even so, technical analysis signals a possible correction upwards, and the market is showing a clear “risk-on” sentiment. The higher risk appetite is due to the far right failing to win a majority. Bottom fishing refer to investors buying the bottom! The risk-on sentiment can be seen across the global stock market. All European and US indices are increasing on Monday. The Euro Stoxx 50 has risen 1.85%, the DAX 1.00%, the SNP500 0.35% and the NASDAQ 0.40%. Some Asian stocks also continue to rise. Lastly, the VIX index trades 1.59% lower which also indicates a higher risk appetite. In terms of technical analysis, the CAC40 is attempting to establish itself above the 75-Bar EMA and above the 50.00 on the RSI. On smaller timeframes, the momentum is also forming bullish crossovers further indicating an increase. The only concern for investors is the resistance level at 7,729.48, which pressured the index last week. If the price forms a breakout above this level, the index will likely see buy signals strengthen. If the price retraces to 7,614.55, traders have the opportunity to trade the upcoming breakout. However, if the price falls below this level, the buy signal will no longer be valid for the time being.   EURUSD – Investors Turn Their Attention To The German Inflation Reading! The EURUSD continues to trade higher with strong momentum and has broken through the most recent resistance levels. The Euro is the day’s best performing currency with the index trading 0.40% higher, while the US Dollar is the worst performing. The US Dollar Index is trading 0.35% lower today so far. However, investors should be cautious about the price action seen so far as volatility can quickly change after today’s German inflation data. Analysts expect the German Consumer Price Index to read 0.2%, slightly higher than the previous month. If the inflation reading is lower, the Euro potentially can come under selling pressure. In June, the number of unemployed in Germany rose by 19,000, surpassing the forecast of 14,000, with the unemployment rate reaching 6.0% instead of the expected 5.9%. Experts highlight the weakness of the German labor market, noting that companies remain cautious about hiring new employees, which negatively impacts the country’s economy. However, today’s inflation data will be the main driver along with the French elections and a potential hung parliament. Technical analysis points towards buyers controlling the market and the exchange rate yet to obtain an “overbought” price. Currently, the RSI trades at 73.00 which means the price can rise a further 0.20% becoming overbought. However, this would depend on momentum. 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 on how markets work. Click HERE to register for FREE! Click HERE to READ more Market news. Michalis Efthymiou Market Analyst 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 FX and CFDs 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.
    • Date: 27th June 2024. Market News – Asian Declines, Tech Sector Losses and Anticipation for PCE.   Economic Indicators & Central Banks: Several events are on the calendar which are keeping a cautious tone in the markets: Although tonight’s presidential debate is much anticipated, it’s unlikely to impact the markets as it won’t provide any real clues on fiscal or monetary policy. Asian shares decline, with US futures amid ongoing losses in the tech sector. Friday’s PCE chain price report has Treasury bulls sidelined for now and the run up in yields is tempering activity on Wall Street. Though expectations are for a benign report, upside surprises in Australia and Canadian CPI are generating some concerns. Chinese stocks are headed for a technical correction. The earlier rally that pushed Chinese equities into bull markets this year has been losing momentum due to ongoing concerns about an uneven economic recovery. Investors are now focusing on the Third Plenum, the July meeting historically known for significant economic policy announcements by the Communist Party. Asian & European Open: Wall Street rallied with all three major indexes finishing in the green. A bounce in tech boosted the NASDAQ 0.49%, back to 17,805. The S&P500 was up 0.16% and the Dow edged up 0.04%. Micron Technology Inc.’s sales outlook fell short of the highest forecasts, denting giant tech companies in late Wall Street trading. Asian equities declined on Thursday, with Hong Kong experiencing the largest losses as Chinese tech companies and property developers listed in the city fell. Significant contributors to the drop included electric vehicle maker BYD, travel agency Trip.com, and Tencent. Financial Markets Performance: The USDIndex was a big winner, climbing to a session peak of 106.130 before closing at 106.079, the highest since late April. A surge in USDJPY to 160.79, the highest since 1986, supported. Today the Yen recovered by 0.3% against the Dollar, to 160.29. Gold and USOIL prices declined, in part on the firmer Dollar. Bullion fell -0.49% to $2298 per ounce and USOIL slipped -0.2% to $80.36 per barrel. 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 on how markets work. Click HERE to register for FREE! Click HERE to READ more Market news. Andria Pichidi Market Analyst 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 FX and CFDs 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.
    • CHTR Charter Communications stock nice bottom breakout, from Stocks To Watch, https://stockconsultant.com/?CHTR
    • DELL stock holding at a higher 138.91 support area with high trade quality, upside target of 156-162, https://stockconsultant.com/?DELL
    • ARDX Ardelyx stock nice downtrend break and move higher off the 6.06 support area, https://stockconsultant.com/?ARDX  
×
×
  • Create New...

Important Information

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