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

    • Date: 22nd November 2024.   BTC flirts with $100K, Stocks higher, Eurozone PMI signals recession risk.   Asia & European Sessions:   Geopolitical risks are back in the spotlight on fears of escalation in the Ukraine-Russia after Russia reportedly used a new ICBM to retaliate against Ukraine’s use of US and UK made missiles to attack inside Russia. The markets continue to assess the election results as President-elect Trump fills in his cabinet choices, with the key Treasury Secretary spot still open. The Fed’s rate path continues to be debated with a -25 bp December cut seen as 50-50. Earnings season is coming to an end after mixed reports, though AI remains a major driver. Profit taking and rebalancing into year-end are adding to gyrations too. Wall Street rallied, led by the Dow’s 1.06% broadbased pop. The S&P500 advanced 0.53% and the NASDAQ inched up 0.03%. Asian stocks rose after  Nvidia’s rally. Nikkei added 1% to 38,415.32 after the Tokyo inflation data slowed to 2.3% in October from 2.5% in the prior month, reaching its lowest level since January. The rally was also supported by chip-related stocks tracked Nvidia. Overnight-indexed swaps indicate that it’s certain the Reserve Bank of New Zealand will cut its policy rate by 50 basis points on Nov. 27, with a 22% chance of a 75 basis points reduction. European stocks futures climbed even though German Q3 GDP growth revised down to 0.1% q/q from the 0.2% q/q reported initially. Cryptocurrency market has gained approximately $1 trillion since Trump’s victory in the Nov. 5 election. Recent announcement for the SEC boosted cryptos. Chair Gary Gensler will step down on January 20, the day Trump is set to be inaugurated. Gensler has pushed for more protections for crypto investors. MicroStrategy Inc.’s plans to accelerate purchases of the token, and the debut of options on US Bitcoin ETFs also support this rally. Trump’s transition team has begun discussions on the possibility of creating a new White House position focused on digital asset policy.     Financial Markets Performance: The US Dollar recovered overnight and closed at 107.00. Bitcoin currently at 99,300,  flirting with a run toward the 100,000 level. The EURUSD drifts below 1.05, the GBPUSD dips to June’s bottom at 1.2570, while USDJPY rebounded to 154.94. The AUDNZD spiked to 2-year highs amid speculation the RBNZ will cut the official cash rate by more than 50 bps next week. Oil surged 2.12% to $70.46. Gold spiked to 2,697 after escalation alerts between Russia and Ukraine. Heightened geopolitical tensions drove investors toward safe-haven assets. Gold has surged by 30% this year. Haven demand balanced out the pressure from a strong USD following mixed US labor data. Silver rose 0.9% to 31.38, while palladium increased by 0.9% to 1,040.85 per ounce. Platinum remained unchanged. 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.
    • A few trending stocks at support BAM MNKD RBBN at https://stockconsultant.com/?MNKD
    • BMBL Bumble stock watch, pull back to 7.94 support area with high trade quality at https://stockconsultant.com/?BMBL
    • LUMN Lumen Technologies stock watch, pull back to 7.43 support area with bullish indicators at https://stockconsultant.com/?LUMN
×
×
  • Create New...

Important Information

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