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.

Tams

DOM -- Excel / IB

Recommended Posts

DOM -- Excel / IB

 

Author: mikeytrader

 

 

attachment.php?attachmentid=10440&stc=1&d=1241448157

 

 

 

1. This DOM uses IB feed through standard IB DDE connection.

 

2. Data is replaced instantly in each cell.

-- The performance is good because there is no excessive calculations.

 

3. Left most section shows the DOM Ladder, 3 columns, price, size, accumulated size.

 

I colored the ask side with green and the bid side with red,

but only colored to the largest size in each level.

This allows you to see the wall easily.

The yellow color is used to show which side has the largest accumulated size.

 

4. Middle section, For each of the 5 levels of the DOM a Horizontal bar expands or contracts base on the corresponding size.

 

5. Right section, Similar to the DOM ladder on the left side, this only shows the biggest wall amongst the 5 levels of each side, plus the immediate inner pair.

 

 

Instructions:

 

1. Save xls to hardrive

2. Launch IB

3. Make sure IB under configure>>api>>enable dde and enable active-x are turned on

4. Open xls; when prompted to "update" just say no

5. type in your IB user id in cell B47 and make sure B48 is the current contract and hit enter

6. save the xls

7. click on the setup button

8. ib data should start to update.

 

The next time you open the xls you can chose "update".

 

 

p.s.

1. you will need a basic knowledge of Microsoft Excel to use this.

2. this worksheet is a few years old, you will need to update the symbol to the current contract. (see #5 above)

 

.

dom2.gif.2dc5f229a517a4f1b83f479beccffca3.gif

domib.xls

Edited by Tams

Share this post


Link to post
Share on other sites

Excellent idea Tams to transpose the DOM in Xcel

 

I'm scared because I'm the first one to post...

 

My question is :

 

Why the column E (=E30+D29 accumulation) is important enough to put it on ?

 

Why not to add each row like =

 

5 =D28+D29+D30+D31+D32

4 =D29+D30+D31+D32

3 =D30+D31+D32

2 =D31+D32

1 =D32

 

to see how contracts untill reaching the price ?

Share this post


Link to post
Share on other sites

What did the Sharing DDE become?

Apply to all editions of Windows Vista.

 

If you used the previous versions of Windows, you know maybe that the Sharing DDE is a tool permitting to manage the communication between the programs and to share some data on a network. The Sharing DDE is not available in this version of Windows, because it is replaced by other methods permitting to communicate and to share some data between several computers.

 

http://windowshelp.microsoft.com/Windows/en-US/default.mspx

 

May be that it is to secure the system against trojan which can take control of the DDE in a DOS mode.

 

Good news... if the new DDE will be faster for RT ticks (DDE jumps ticks in a fast market)

 

Bad news... if we have to wait a long time untill all softwares using DDE rewrites their codes (if they do it...)

Edited by aaa

Share this post


Link to post
Share on other sites
5. Right section, Similar to the DOM ladder on the left side, this only shows the biggest wall amongst the 5 levels of each side, plus the immediate inner pair.

TAM, it is clear for me to look for the wall by looking for large amount, however it is not clear to me what behavior to look for at the inner pair, can you please elaborate.

Thx

Share this post


Link to post
Share on other sites
TAM, it is clear for me to look for the wall by looking for large amount, however it is not clear to me what behavior to look for at the inner pair, can you please elaborate.

Thx

 

It seems to me that making sense of the order book is as much art as science. Personally I have not found much material that really explains things. There are a couple of old threads at ET sometimes things are mentioned here. There are a few books that deal with Nasdaq level II. None of it seems completely satisfactory to me.

 

AS I said before I think just looking for a wall is simplistic, they get pulled as price approaches as often as not. Even when they don't they can get chewed through in seconds .....or not. Common sense says to me that unless you are a patient trader wanting to advertise that you are a buyer/seller at that price you would use an iceberg order. If you think about it there are pretty few times you would want to 'show your hand' if you had a large amount of inventory to move.

Share this post


Link to post
Share on other sites

It seems to me that making sense of the order book is as much art as science

I can't say it better actually, I am looking at trading as a mixture between science and art, where the indicator part is the science and the interpretation is the art, to be a good trader one must master both. Dalton calls it in it's book "Market in Profile" the usage of Left & Right brain.

The amount of DOM tricks can be played are not endless & I think it is possible to master this art.

By combining DOM and T&S it is possible to find tradeable patterns (using art) and to have higher level of market understanding.

Large traders cannot hide their foot print even with iceberg, so if you do not see them in DOM like the "WALL" you will find them in the T&S. If you see them in the DOM meaning they would like that everyone will see them ask yourself why and act accordingly.

Share this post


Link to post
Share on other sites
I suspect DOM games are the domain of ultrahigh frequency traders nowadays (with co-located computers etc) and there is no edge available to the smaller player.

 

-- DM

 

 

the market beams the same messages to all the participants...

there is always no edge to those who do not see it

there is always an edge to those who hallucinate it

 

this is a wonderful world...

Share this post


Link to post
Share on other sites

indeed... though the challenge of order book games is writing the software a) to reconstruct the whole order book, b) having it close enough to the exchange so that the information can be processed in a timely manner (typically measured in mS)...

 

non-professional data feeds aren't fast enough to see the information before someone else (an IB or hedgefund etc) has acted on it...

 

-- DM

Share this post


Link to post
Share on other sites
the market beams the same messages to all the participants...

there is always no edge to those who do not see it

there is always an edge to those who hallucinate it

 

this is a wonderful world...

You got some good sayings !,are you a kung fu master too? Thanx for your kool excel indicator. Does Interactive brokers have a demo I could try this out on?

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

    • ...hallucinates.... Student: “What if we gave the monkey LSD?” Guru: “The monkey already did LSD”
    • Question: To those that had/have cancer, what were the signs that made you think “something is not right here” to make you go see a doctor? Answer: So, 5/25/2018, I woke up, got ready for work, and as I walked to my car, I started gagging. Like something was stuck in my throat and I needed to clear it. And then it went away.   But 10 minutes after that, I was T-boned at 40mph on the driver side door. But what made me see a doctor was while my muscles felt better and bruises were going away, the gagging still continued, I started having fevers, my neck felt swollen, I was having such a hard time breathing, and I'd have random sharp pains in my chest, but not from where the seat belt saved me.   2 weeks after the accident, I finally see an urgent care doctor, who looks me over, tells me I'm fine, but luckily requests a neck X-ray. And I ask for a chest X-ray, which he rolls his eyes but let me have (most of my pain was in the neck, so I understand).   The very next day, he calls and says “So, that chest X-ray shows there's a 4 inch mass on your heart and lungs, and your lungs have been filling up with fluid, as well as in your pericardial (heart) wall. We need you to come in tomorrow.”   Turns out the big mass, due to the accident, caused my heart and lungs to tear and fill with fluid, the swollen neck and gagging was caused by 2 metastasized tumors, and the fevers and weight loss were symptoms. Stage 4b Hodgkin's Lymphoma.   But thankfully, we went very aggressive with chemo (and had a lot of bad side effects that don't normally happen to patients), and now I'm about 16 months cancer-free. Yay lucky X-rays! Rachel Jurina, Quora Source: https://www.quora.com/To-those-that-had-have-cancer-what-were-the-signs-that-made-you-think-something-is-not-right-here-to-make-you-go-see-a-doctor   Profits from free accurate cryptos signals: https://www.predictmag.com/  
    • As a man, the reality of life is the harshest part. I don’t mind looking older or becoming weaker over time; it’s nature.   Have you ever heard that the only people who will be loved unconditionally are women and children? Men will only be loved as long as they can provide until they are no longer needed. It doesn’t matter if you already did your best to get your kids to the best school or get the best things for them, if you stop before they’re done with it, there will be no thank you. The only thing they will remember is that they have to quit school at 15, ignoring all the previous 15 years of life you provided for them. The only people who will accept you, no matter what, are your parents. But in this situation, you might be that ungrateful child.   EDIT: Wow, I didn’t think this would get so much attention.   For those who disagree, I can only say that everyone has their problem. If you don’t get the chance to face such a thing, be grateful. Remember, sometimes what you throw in the garbage is something that someone wishes ever to have.” – ElZee, Quora   Profits from free accurate cryptos signals: https://www.predictmag.com/    
    • The good thing i had noticed so far is that the traderpot value is also on the rise..
    • yup its a gradual rollout the right way in my opinion, its really good and its exciting for the sto in 2027
×
×
  • Create New...

Important Information

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