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

what has changed? what do you think now? both are useless? :) spare me few tries and errors :) I'll buy you a beer :)

 

no I simply plotted CVD with B/A and U/D ticks for couple of weeks.. and I couldnt trade ticks.. just makes no sense..

 

I talked about Fulcrum CVD all the way.. I dont care about other "studies".

 

IMHO - All studies are crap if they can be found publicly :rofl:

Share this post


Link to post
Share on other sites

 

no I simply plotted CVD with B/A and U/D ticks for couple of weeks.. and I couldnt trade ticks.

 

 

Your rigour impresses me. :)

 

Read some of the papers I mentioned, you know what? There are even better algorithms than plain old V@B/A out there. (as they are algorithms they will improve any approach that is based on algorithmically trying to determine trade direction......like CVD).

 

It's not about 'studies' per se it's about determining order flow (and hence inventory in Fulcrums case). I wonder what your motivation for posting are if you think all studies are crap? I guess you are saying CVD is worthless too (seeing as it can be found publicly)? If that is your sincere belief we'd all be better off not posting in case we destroy something valuable by making it public :). I suspect really it is more about being provocative like your old mate UB.

Share this post


Link to post
Share on other sites

contrary to UB I dont seek attention.

 

yes you r right what I believe is irrelevant here. can you edit my post and remover last sentense? i dont see button Edit for myself ..

 

P.S. tell me about other algorithms.. are they publicly accessible? ;)

Edited by maxima

Share this post


Link to post
Share on other sites

sooo. BlowFish.. when it comes to share knowledge you are nowhere to find...

 

what studies shows better direction of markets than bid/ask CVD?

 

cant hear ya!

 

oh.. I see you are here not to share trading knowledge but to simply keep conversations going.. like discussing things you have no idea about like digital signal processing, sampling, differential processes, .net garbage collector...

 

you are a naked king dear.. king of wikipedia and cheap web forums.

 

and yeah. until you answer my question about the studies I am not going to react on your messages. so spare yourself breath flaming here.

 

I dont care.

Share this post


Link to post
Share on other sites

That's rich :) firstly I suggest reading this thread from the beginning there is a lot of information in it and information where you can find more. (plus some TS code that I shared if I remember correctly). If you are still stuck after reading it drop me a line. though you will probably need to retract your statement first.

 

Took a long weekend sorry that did not suit you schedule, I'll check it's OK next time....or I could just put you on ignore.....hmm let me think on that, had a very long lunch and wouldn't want to make any hasty decisions.

Edited by BlowFish

Share this post


Link to post
Share on other sites
There are even better algorithms than plain old V@B/A out there. (as they are algorithms they will improve any approach that is based on algorithmically trying to determine trade direction......like CVD).

I cant retract anything. it seems it has a timeout for that. but frankly - I didnt touch your personality until you started to pick on me. i dont give a shit if you dont like me. if you cant keep yourself not personally involved this is not my problem.

 

on the topic:

I am asking only to name the things you noted in there. I'll find the information. Need the names of the algorithms.

Share this post


Link to post
Share on other sites
I cant retract anything. it seems it has a timeout for that. but frankly - I didnt touch your personality until you started to pick on me. i dont give a shit if you dont like me. if you cant keep yourself not personally involved this is not my problem.

 

on the topic:

I am asking only to name the things you noted in there. I'll find the information. Need the names of the algorithms.

 

C'est la vie, I was just a bit gob smacked that you though my contribution to this thread (or was it the site in general?) was lacking. That was another reason why I suggested you re-read it. I should respectfully remind you that no one here owes you anything. I dunno maybe ET would be a better venue for your style of forum participation?

 

As I have said numerous times it all stems from Lee & Readys research 20 odd years ago. Start there and go where it will take you. There has been a fair amount done on the subject but it is easily digestible by someone with the desire to digest it. I am not going to chew swallow and digest it all for you. That seems like it would be academic as you seem have strong preconceptions already (which is your prerogative of course).

 

I am surprised you are that interested tbh having previously stated that you thought stuff that was in the public domain was worthless. Again I am left wondering about your motivation.

Share this post


Link to post
Share on other sites

just to summarise (not to criticise):you reffered to Lee & Readys exclusivelly when you said - better algorithms to find market direction? thanks. I'll have a look....

 

and yeah - save your time trying to analyse me. spend it on trading better. I didnt touch you, you dont touch me. is that simple... as you rightly mentioned - you dont owe me, but dont forget I dont owe you ... I dont like you either but I was trying hard to keep silence.

 

and stop this wording games BS - when did I ask to chew for me? I said give me the name I'll do the rest.... just stop it OK?

 

keep it in professional way.

Share this post


Link to post
Share on other sites
Woops way to completely balls up :crap: I only changed a couple of lines and managed to get an additional end statement and undefined variable (block) as you guys pointed out. It's got to the stage where it needs a tidy up (as well as comments) but this should at least run

 


inputs: 
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");	 

 

I am new to easylanguage, please help my questions and comments below -

 

Questions -

1. What's the purpose of the (if LastBarOnChart) block, is it to make sure that this indicator only works on real-time data?

 

2. If this indicator is inserted into a 100-tick chart, how often(frequency) tradestation charting engine invokes this logic? every 1 tick?

 

3. Is it possible to replace MyVol = Iff(BarType < 2, Ticks, Volume);

with MyVol = Volume for 100-tick chart.

 

Comments:

1. BARatio, VolumeAtAsk, VolumeAtBid are not used in the code, they could be removed;

2. cumulative volume(delta) calculation should also consider the relationship of the current bar close price with previous bar close price;

 

Thanks!!!

Share this post


Link to post
Share on other sites
I am new to easylanguage, please help my questions and comments below -

 

Questions -

1. What's the purpose of the (if LastBarOnChart) block, is it to make sure that this indicator only works on real-time data?

 

2. If this indicator is inserted into a 100-tick chart, how often(frequency) tradestation charting engine invokes this logic? every 1 tick?

 

3. Is it possible to replace MyVol = Iff(BarType < 2, Ticks, Volume);

with MyVol = Volume for 100-tick chart.

 

Comments:

1. BARatio, VolumeAtAsk, VolumeAtBid are not used in the code, they could be removed;

2. cumulative volume(delta) calculation should also consider the relationship of the current bar close price with previous bar close price;

 

Thanks!!!

 

In short 1) Yes

2)Yes, you must set indicator to update every tick

3) Yup that line should limit the indicator to intraday charts. Not really necessary I guess.

 

Yes it was code I hacked together as I said up top. It needs a good tidy up comments etc.

 

Cumulative delta has nothing to do with bar closes it is simply compares volume transacted@bid with that transacted@ask print by print.

Share this post


Link to post
Share on other sites

do you think this indicatory would be better applied to 1tick chart o 1contract chart?? this is what I have run across:

 

Infact if You use 1 contract chart and the market trades 1000 lots @ the ASK side which is Upper then the previous close, MC register this trade as an Uptick and You can plot a 1000 lots trade @ the ASK side as an UpTick. So based on this example, if you create a cumulative sequence of trades based on volume, you can have a Cumulative Delta Volume. Be careful because with 1 contract chart, it's a good stuff only reffered to a brief time lap (about 30minute to 1 Hour MAX).

Share this post


Link to post
Share on other sites
Woops way to completely balls up :crap: I only changed a couple of lines and managed to get an additional end statement and undefined variable (block) as you guys pointed out. It's got to the stage where it needs a tidy up (as well as comments) but this should at least run

 


inputs: 
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");	 

 

Hello, I'm new to this forum.

I see this code and I think that it is better to change this line:

 


if Close <= InsideBid then
		Delta  = Delta - MyVol + VolTmp
	else if Close >= InsideAsk then 
		Delta = Delta + MyVol - VolTmp ;  
	VolTmp = MyVol ;
end; 

 

with this one:

 


if ticks>=filtro then begin
	if Close>= insideask then Delta=Delta+Ticks;
	if Close<= insidebid then Delta=Delta-Ticks;
end;

 

in this way I'have the real sum of volume exchanged in bidside less the volume exchanged in askside.

Is it correct?

 

MARCO

Share this post


Link to post
Share on other sites
Woops way to completely balls up :crap: I only changed a couple of lines and managed to get an additional end statement and undefined variable (block) as you guys pointed out. It's got to the stage where it needs a tidy up (as well as comments) but this should at least run

 


inputs: 
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");	 

 

Hello, I'm new to this forum.

I see this code and I think that it is better to change this line:

 


if Close <= InsideBid then
		Delta  = Delta - MyVol + VolTmp
	else if Close >= InsideAsk then 
		Delta = Delta + MyVol - VolTmp ;  
	VolTmp = MyVol ;
end; 

 

with this one:

 


if ticks>=filtro then begin
	if Close>= insideask then Delta=Delta+Ticks;
	if Close<= insidebid then Delta=Delta-Ticks;
end;

 

in this way I'have the real sum of volume exchanged in bidside less the volume exchanged in askside.

Is it correct?

 

MARCO

Share this post


Link to post
Share on other sites

Dunno what filtro is? By the way the indicator works on volume traded not ticks.

 

Feel free to change it to suit your needs but I think it is correct (with the caveats earlier in the thread) as it is. Of course I have been known to be wrong :D

Share this post


Link to post
Share on other sites

Hello BlowFish and thank for your answer.

Filtro can be used if you want to see only traded volume greater than a preset value, but is not so important.

Furthermore in multicharts if the "Build Volume On" of the instrument is set to "trade Volume" and not to "Tick count" the instruction

MyVolume=Ticks

give you the volume traded for every tick.

In your code there is this line

MyVol = Iff(BarType < 2, Ticks, Volume); 

 

that is the same thing of

MyVol=Ticks 

for intraday and tick by tick charts

 

My dude is for this line

 

if Close <= InsideBid then
		Delta  = Delta - MyVol + VolTmp

 

and this one

 

else if Close >= InsideAsk then 
		Delta = Delta + MyVol - VolTmp ;  

 

where VolTmp is previous volume traded.

 

In "Close<=InsideBid" case, volume is traded in Bidside so it is correct to subctrat MyVol from Delta, but I can't understand why you add the previous volume (VolTmp) regardless of it was traded in bidside or in askside (because the line:"Close <= InsideBid" is only referred to the last volume exchanged that is MyVol).

The same thing happen for the line "Close >= InsideAsk

Can you explain that?

 

I hope you understand me, my english is not so good!:crap:

Thanks,

byebye

MARCO

Share this post


Link to post
Share on other sites

Hello !

I have been trying to download Volume Splitter Indicator for Ninjatrader 7 but it doesn't work.

Please, could you upload it again please?

I spent days but nothing.

 

And, anybody know an alternative indicator (for Ninjatrader 7) that Show the "Short" and "Long" positions? I'm not talking about ask and bid side... I would like to know the shorts and the longs of a frame of time.

 

Thanks a lot!

 

D

Share this post


Link to post
Share on other sites

Here you go...be aware of the issues with insidebid insideask (they are discussed earlier in the thread

 

 
inputs: 
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");

Share this post


Link to post
Share on other sites
Here you go...be aware of the issues with insidebid insideask (they are discussed earlier in the thread

 

Thanks BlowFIsh. I think that when there are nre improvmente or find a solution the new cersion will be posted.

 

What are in tour opinion other indicators to help analisys by volume?

Share this post


Link to post
Share on other sites

Blowfish, the VOL_Splitt_OHLC_C & VOL_Splitt_OHLC are nice. What would the setting be for each in forex and then equities.A ball park figure would be nice.Anybody else here in the forums input would be welcome too.The default is 1,9999

Share this post


Link to post
Share on other sites

OHLC C seems to work the best. Insert indicator twice and set each to their proper settings. Wait till they split together then make your move. A bing and a bang and a boom! Notice the last picture when the big boys go against the little boys. This indicator can help you stay out of bad moves.

Volume_Splitter.jpg.e7b39d0f8531e23c5dc64813705e55e7.jpg

Volume_Splitter-1.jpg.5ac88ce36bf7015801834c15cc7df1ba.jpg

Volume_Splitter-2.jpg.e8c6aa2429859267476d1c0a1f7c8e13.jpg

Volume_Splitter-3.jpg.ec0feceb3fe77908b36f11257df94769.jpg

Edited by johnnydaymon

Share this post


Link to post
Share on other sites

Hello

I'm here a little late - but I have some suggestion:

Just an idea......

I thought it could be very usefull to be able to reset this indi

- at certain times

- at Pivotpoints

- all n minutes

or similar.....

so for my suggestions it could be much more helpfull then.

Any ideas how to do this ?

 

regs

Jojo

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

    • UHS Universal Health Services stock, nice rally off the 197 support area, from Stocks to Watch at https://stockconsultant.com/?UHS
    • SGMO Sangamo Therapeutics stock, good start off 2 support area at https://stockconsultant.com/?SGMO
    • AAPL Apple stock, watch for a top of range breakout at https://stockconsultant.com/?AAPL    
    • Date: 26th November 2024. Trump’s tariff threats boosted Dollar; Peso, Loonie, Gold & Oil Lower. The Trump trade picked up steam as investors cheered his pick for Treasury Secretary, Scott Bessent. Beliefs he will be a steadying voice in the administration’s fiscal measures, while still following President-elect Trump’s tariff and tax commitments, underpinned. Asia & European Sessions:   Trump threatened on Monday to impose sweeping new tariffs on China, Canada and Mexico on his first day as US President to crack down on illegal immigration and drugs. He would impose a 25% tax on all products entering the country from Canada and Mexico, and an additional 10% tariff on goods from China as one of his first acts as president of the US. Bessent’s 3-3-3 plan aims to cut the deficit to 3% of GDP, boost growth to 3%, and increase oil production to 3 mln barrels. Treasury yields dove in a curve flattener, extending their drops through the session, on expectations inflation will decelerate. A strong 2-year auction also supported. The Dow led the charge, climbing 0.99% to 44,736, a new record peak as the rally broadens. The S&P500 climbed to 6020, a session peak, but finished with a 0.3% gain to 5987. The NASDAQ closed 0.27% higher. Today, stock markets in Europe are posting broad losses, with the DAX down -0.6%, the FTSE 100 0.4%, after a largely weaker close across Asia. ECB: Lane suggests ECB must be open-minded on speed of rate cuts. The ECB’s Chief Economist said in a speech on Monday evening that “remaining open-minded about the speed and scale of adjustments is in fact a valuable strategy across various environments, as different situations may necessitate distinct approaches.” This careful, step-by-step strategy enables us to observe the responses of the economy to our decisions and continuously refine our understanding of their impacts.” The comments leave the door open to a 50 bp move in December, but also tie in with our expectation that the central bank will deliver a 25 bp while tweaking the forward guidance and commit to additional moves. Financial Markets Performance: The USDIndex hit a session high of 107.50 and is currently lower at 106.85. Mexican peso and Canadian dollar slumped as the dollar is being viewed as a haven after the comments of President-elect Donald Trump on tariffs on Canada, Mexico and China. USDCAD spiked to 1.4177 and USDMXN rallied to 20.74. Oil and Gold lost ground, in part on cooling geopolitical risks, and on Trump trades. Oil dropped -3.03% to $69.09 per barrel, in part on the Trump trade and on talk of a potential cease fire between Israel and Hezbollah. Similarly, gold fell -3.26% to $2605 per ounce. 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 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.
    • RYAM Rayonier Advanced Materials stock, nice trend with a pull back to 8.79 support area, bullish indicators at https://stockconsultant.com/?RYAM
×
×
  • Create New...

Important Information

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