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.

UrmaBlume

Trade Intensity

Recommended Posts

Stick the salami back together again :) That's why you get that sawtooth effect on the chart's I posted when you get a whole bunch of activity that spans several bars but with the same time stamp.

 

Have you tried setting the time span to the latency of zen-fire in that case instead? What I mean is, if the smallest time difference of zen-fire trades is 10ms between every trade, then you should set the time difference to 10ms if you get 0 since the time difference must have been lower than this threshold/latency. This would be a good approximation until you get a feed with no latency.

Share this post


Link to post
Share on other sites

My latency is pretty low (I'm considering upgrading the 20meg to 50meg fibre :)) Zenfire is streets ahead of TS which I believe UB uses (at least for some stuff). In fact I believe Zenfire & TT are as good real time feeds as you will get regardless of who you are (retail or pro). The only way to get any faster is to put your PC right next to the exchange. Jitter is more of an issues as someone else mentioned.

 

There are flurries of ticks arriving with 0 ms between them, this is good I believe! Anyway the logic I use is something like

 

if (Delta == 0.0) Intensity = Intensity + ThisTickVolume; else

Intensity = ThisTickVolume/Delta;

 

works good but strictly speaking I should reset the intensity if it is a new bar and delta is zero. (Constant volume bars you can have several bars with the same time stamp if your charting package constructs them properly).

Share this post


Link to post
Share on other sites
My latency is pretty low (I'm considering upgrading the 20meg to 50meg fibre :)) Zenfire is streets ahead of TS which I believe UB uses (at least for some stuff). In fact I believe Zenfire & TT are as good real time feeds as you will get regardless of who you are (retail or pro). The only way to get any faster is to put your PC right next to the exchange. Jitter is more of an issues as someone else mentioned.

 

I did not mean the latency of your internet connection. The latency of your internet connection only determines when you get the data, not when the individual actually trades occurred. Maybe I used the wrong word. I think the problem lies with the data provider. What I mean is: If the feed provider cannot process the data it receives from the exchange fast enough or uses outdated technology (bad programming or slow hardware), then for them the trades will in fact occur at the same time so they distribute the trades with the same time stamp. What you really want is time of the trade at the exchange but the feed provider might not request this from the exchange to save on bandwidth and then set the time themselves. Or it's NinjaTrader that replaces it with the local time of your computer. Or you might even be responsible yourself since you said you use 'DateTime.Now.Ticks' which will use the time of your computer, not the time when the trades actually occurred.

 

Does NinjaTrader provide a way to access the time of the trade at the exchange? If so, you should try using that.

Share this post


Link to post
Share on other sites

Nope (not that I know of) that other method (Time[0].Ticks) returns the bar start time which of course is constant through the whole bar. If it was end time it could be used.

 

One could always use a 1 tick chart which I have done in the past in TS to retain full control.

Share this post


Link to post
Share on other sites
I dunno but I think you might have an issue I get several clear flurries with a time difference of zero and a more varied spread of values. Are you using DateTime.Now.Ticks? ..........Time[0].Ticks does not work.

 

Here's some sample output (FTSE).

 

I am using the TimeSpan class's TotalMilliseconds method with the difference in DateTime.Now and changed my volume capture code from OnBarUpdate to OnMarketData. This has changed the 3-7ms differences to 0-1ms. However my current formula does not accurately capture the first trade in a flurry, since it has a large time difference from the previous trade, and it also does not capture the 0ms trades, since I am dividing by duration in my formula. I need to write more code to take care of these cases.

 

Here's some sample output. difference(ms)---trade size

241----23
0----103
1---29
0---10
63----29
710.0516----10
5310.1485---10
0---32
37---13
1----97
4677.2----267
1---14
0---13

Share this post


Link to post
Share on other sites

I am using new logic to reduce the impact of time. For trades that arrive in less than e = 2.71828183 ms since the last trade, I use the tick volume itself as the intensity. For trades that take more than e = 2.71828183 ms, I divide the tick volume by the natural logarithm of the duration in ms and use this value as the intensity. However, I am still not sure whether I should average the intensities over each tick in the bar or simply add them up.

Share this post


Link to post
Share on other sites
I am using new logic to reduce the impact of time. For trades that arrive in less than e = 2.71828183 ms since the last trade, I use the tick volume itself as the intensity.

 

I think this is a mistake since you treat trades that come very quickly like a trade that came after exactly 1 minute (if your time unit of intensity is per minute).

Share this post


Link to post
Share on other sites
I think this is a mistake since you treat trades that come very quickly like a trade that came after exactly 1 minute (if your time unit of intensity is per minute).

 

My time unit is the millisecond. For example, if a trade arrives in 100ms from the last trade, I will take the volume and divide it by ln(100) = 4.6. That way, trades that arrive slowly do not contribute as much to the intensity, but at the same time they are not completely discarded.

Share this post


Link to post
Share on other sites

I thought I'd post a FTSE chart. FTSE can be a bit thin ....seems to be today. Heres a chart showing trade intensity, tick intensity, and time per constant volume bar. There are a couple of things that I think it might need...some sort of smoothing, and some way of rescaling the low value of the bar (red dot at the bottom is minimum intensity for that CV bar , histogram is maximum and magenta line average) .This (low value) is orders of magnitude smaller so essentially flat lines a wee bit above zero.

5aa70eac13d7c_Z03-0929_01_2009(20Volume).thumb.jpg.5e6091725be7fe0927b5cabdcb831197.jpg

Share this post


Link to post
Share on other sites

Tick intensity is just ticks per constant volume bar ....max min and average. Basically you are not factoring in the volume. Oh it is 1/delta. Where delta is the time since the last tick.

 

Time histogram is interesting a small bar is analogous to a volume surge i.e the constant volume bar completed quickly (so small time histogram). Incidentally I have a maximum threshold on that and it is a bit to aggresive so a lot of the long histogram bars (long time for the constant volume bar to complete) are being truncated.

Share this post


Link to post
Share on other sites

I do not know much about programming but I would like to have a go at making a Ninja Indicator that adds up either the ticks or volume that occurs in 1 second, and if it is greater that the previous Max Count then plot it to the indicator. I will NOT use this on a 1 tick or 1 volume chart.

 

My question is should I make a 1 second loop and if so how do I do that ?

 

 

Dean.

Share this post


Link to post
Share on other sites
I do not know much about programming but I would like to have a go at making a Ninja Indicator that adds up either the ticks or volume that occurs in 1 second, and if it is greater that the previous Max Count then plot it to the indicator. I will NOT use this on a 1 tick or 1 volume chart.

 

My question is should I make a 1 second loop and if so how do I do that ?

 

Dean.

 

Some contribute to these threads and others are just takers. You have never been thanked once for anything. Besides I wouldn't want to arouse your "suspensions" as you mentioned in another post.

Share this post


Link to post
Share on other sites
Some contribute to these threads and others are just takers. You have never been thanked once for anything. Besides I wouldn't want to arouse your "suspensions" as you mentioned in another post.

 

Please move all of your stuff to the Automated Trading Forum.

We don't need any "Proprietary" , " not for sale in a million years" kind of indicators in the Technical Analysis Forum

Share this post


Link to post
Share on other sites
Please move all of your stuff to the Automated Trading Forum.

We don't need any "Proprietary" , " not for sale in a million years" kind of indicators in the Technical Analysis Forum

 

Why? None of this is about automated trading and many different ways to calculate these indicators have been discussed here.

 

Except for you and one other strong anti-intellectual my posts have received a very warm reception from your most astute and prolific posters.

 

What have you got against new material that is well received by your members?

 

Why don't you see if you can find the integrity to put up a poll about my posts? If most want them gone, I assure you they will not appear again and if most want them to stay - what would be the problem?

 

I can't help but wonder what it is that is really bothering you. Your most astute posters have found value in what I have posted and my posts have received as many views and thanks as any recent posts. I would think that would be attractive to a site whose revenue is dependent on its content attractiing members.

 

Wait until I have done something before you convict me on your limited life's experience with the markets and those who trade them. You don't know anything about me and my bet is you have never once traded a 100 lot of S&Ps or the equivalent.

Share this post


Link to post
Share on other sites
I do not know much about programming but I would like to have a go at making a Ninja Indicator that adds up either the ticks or volume that occurs in 1 second, and if it is greater that the previous Max Count then plot it to the indicator. I will NOT use this on a 1 tick or 1 volume chart.

 

My question is should I make a 1 second loop and if so how do I do that ?

 

 

Dean.

 

No need for programming. Use the built-in TickCounter indicator on a 1 second chart.

Share this post


Link to post
Share on other sites

 

What have you got against new material that is well received by your members?

 

Why don't you see if you can find the integrity to put up a poll about my posts? If most want them gone, I assure you they will not appear again and if most want them to stay - what would be the problem?

 

I can't help but wonder what it is that is really bothering you. Your most astute posters have found value in what I have posted and my posts have received as many views and thanks as any recent posts. I would think that would be attractive to a site whose revenue is dependent on its content attractiing members.

 

.

 

No offense. But you really started to sound like TRO (The Rumple One)

He also like to razzle and dazzle people with his unique charts. :rofl:

Share this post


Link to post
Share on other sites
No need for programming. Use the built-in TickCounter indicator on a 1 second chart.

 

Thanks for the thought, unfortunately tick counter only works on tick based intervals, or so it says when I loaded it.

 

I got this reply from a NT moderator so I will work through that:

 

 

if(DateTime.Now.Second != the_last_second)

{

if(tick_max < tick_count)

{

tick_max = tick_count;

}

 

tick_count = 0;

the_last_second = DateTime.Now.Second;

}

 

tick_count++;

Share this post


Link to post
Share on other sites
No offense. But you really started to sound like TRO (The Rumple One)

He also like to razzle and dazzle people with his unique charts. :rofl:

 

Oh yes...... now that you mention it, now there is a chap with..... issues.

Share this post


Link to post
Share on other sites
Oh yes...... now that you mention it, now there is a chap with..... issues.

 

I don't get why it seems that traders at our level have such a problem with doing things differently...With such a high rate of failure at the retail level to me doing things differently just makes sense.

Alot of this though depends on the way it is presented. If someone came on here and started a thread that they find all their trading opportunities according to this formula

3422cc705bde2398c0b1de1e91827c12.png

Alot of people would probly believe it to be total nonsense, a fraud, overly complex...even though its just an exponential moving average that everyone already uses.

If you want to get your head around the point of these threads...picture that you just started trading but don't even know what a chart looks like. You do understand though that you have tick data coming in for almost every trade for the instrument your trading. Whats the best way to summarize that data and extract the most useful information from that data without getting hung up on information that simply does not matter?

If you knew nothing about charting you certainly would not take 4 data points over a minute period, have the computer draw an OHLC bar and believe your capturing all the useful information in the data..Thats just a relic because you could do that by hand with graph paper.

Share this post


Link to post
Share on other sites
I don't get why it seems that traders at our level have such a problem with doing things differently...

 

Hey I totally agree, "different" is what I look into with most interest. Just as long as no one gets stung by the vendor ;)

Share this post


Link to post
Share on other sites

Urma, it is my observation that you are dealing with the abstract and theoretical and not the reality of Time/Price. In other words, since your system is "sealed", your posting charts really serves no purpose other than stimulating some kind of theoretical discussion. I guess that is fine, but it does seem a lot like a vendor setup, if I am wrong sorry, but only time will on this.

One more thing, your comment about size was, in my opinion, unprofessional. Unless myself, you or anyone else here posts an audited, certified statement showing a Yard or more a week, we should refrain from this kind of foolishness.

 

The Ever Sincere VIPER

Share this post


Link to post
Share on other sites
Urma, it is my observation that you are dealing with the abstract and theoretical and not the reality of Time/Price. In other words, since your system is "sealed", your posting charts really serves no purpose other than stimulating some kind of theoretical discussion. I guess that is fine, but it does seem a lot like a vendor setup, if I am wrong sorry, but only time will on this.

One more thing, your comment about size was, in my opinion, unprofessional. Unless myself, you or anyone else here posts an audited, certified statement showing a Yard or more a week, we should refrain from this kind of foolishness.

 

The Ever Sincere VIPER

 

Your observation must be through some kind of blinders:

 

None of this is abstract as almost every thread I have started contains enough information to reverse engineer the work. Especially this thread. Nothing is sealed. Take a real read, if you can handle it.

 

I have made no mention of any system anywhere on this forum and none of my posts contain the slightest mention of any system.

 

If you don't get the purpose of my posts leave them alone, others like them just fine. As to what I sound like to you, how much do you think I care?

 

My comment about size was more about the difference between retail trade and commercial trade. And from reading everybody's posts, including yours, it is pretty easy to divvy the posters up into - commercial traders/private traders/wannabe traders without seeing any statements.

 

My guess is that it is something like in poker where the guys that offer the least to the community and are the most critical are the lower level of the private trader/wannabe spectrum. Not that size matters all that much, it is the pretension I dislike. My experience is that guys that give themselves names like Trade Viper usually have the same kind of results as guys that call themselves Poker Stud.

 

As to unprofessional - I am sure that my 30 years of experience in various corporate and private firms isn't the same as whatever experience you have had. From reading the posts of u nay sayers I also bet my trading day is pretty much different too. And again, how much do you think someone like me cares about what someone like you has to say?

 

I get nothing out of these posts except some very useful conversation with the few on this board that seem to be operating on plane similar to mine and, oh yea, a lot of grief from guys like you.

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

    • Brexit Aftermath: The Market Reaction Of Bitcoin, Gold And Pound Sterling To Headline News In The EURO Zone   After the UK made it public to exit from the EURO bloc, the market cap for Bitcoin and Gold has increased almost by $133 billion and $1 trillion. Is this the Brexit aftermath?   As it is, the end may be near for Brexit. In the recent declaration an accord is reached between the British government and the EU, everyone is on the lookout for the final date Brexit will conclude. And based on this scenario, an analysis is drawn on the aftermath of this separation in the politics of the EURO bloc and the effect on the price of Bitcoin, Gold and pound sterling.   Bitcoin: Since the start of Brexit, Bitcoin’s market cap had spiked higher and recovered about $10 billion worth. Before Brexit, the cryptocurrency of the first choice had been stable in price after crashing to a market cap of about $2.9 billion low around January 2015. However, after the crash, the cryptocurrency had spiked to about 300% within 18 months while the next super halving of the project is expected on the network from 25 to 12.5 fresh Bitcoin’s per 10 minutes.   As of mid-2016, the most liquid GBP market was the London based Coinfloor exchange. The exchange did around 772 Bitcoins’ worth of volume that day, valued back then at around $4.9 million, with data from the technical back end at the Trading view.   The Pound Sterling: The British national currency had crashed by almost 20% on the night of the vote after hitting a momentary high of about $1.5 versus the USD for about 8 months. Since crashing to a low of about $1.2 as at March 2017, the Pound sterling had rallied 6% within a 4-week time frame, after the UK parliament decided to vote and activate the Article 50 while then the Brexit journey began for the UK taking it two years to discuss its planned exit from the EURO bloc.     Gold: The safe-haven asset also spiked higher around the same time frame from mid-March to mid-April 2017 with its price rising about 7% versus the USD. Nevertheless, this scenario didn’t play out on Bitcoin as in March 2017, beginning with its price at $1000, Bitcoin had surged to hit an all-time value of about $1300, as a result of markets expectation for a Bitcoin ETF being endorsed. However, after its nullification was declared on 10th March 2017, the cryptocurrency fell to a low of about $888 which occurred concurrently with the UK’s law passage for its exit from EURO bloc. Ever since then as the UK’s Brexit discussions with the EU raged on, so did the Pound against the US-dollar and Bitcoin gained more to its price.   Bitcoin, Gold, and Pound Sterling Reactions to Brexit During this timeframe transversing Brexit discussion and its process, the Pound lost the majority of its 15% gains recovered, to tumble from a high of $1.43 to hit $1.20 on 3 September. In a similar multi-day timeframe, gold broke out of its basic $1400 resistance level to rally 15% versus the US-dollar. While Bitcoin gained higher, then again, stayed on the level around $8,000—yet the genuine story of those 17 months incorporates the cryptocurrency crashing towards $3,000 (December 2018) preceding the move spiking to a high of almost $14,000 in June this year.   Source: https://learn2.trade     
    • Despite Running To The Highest Close In Six Months, GBPUSD May Fail To Reverse   GBPUSD Price Analysis – October 20 The GBPUSD had closed on Friday above its opening price after recovering from early selling pressure and trending higher for the 4th day consecutively in a row. After failing to reverse from its highs, the FX pair is unstable and due to weekend UK parliament vote on Brexit, with this scenario, the pair is likely to gap while it reopens on Monday morning in Asia (Sunday evening in the US).   Key Levels Resistance Levels: 1.3301, 1.3185, 1.2988   Support Levels: 1.2582, 1.2204, 1.1958   GBPUSD Long term Trend: Bullish On the daily picture, the bulls took charge in the previous session and exited the day above its opening price, however, the pair failed to move past the prior’s day’s trading range and the price likewise failed to reverse below the previous day’s range.   The GBPUSD had rallied upwards to as high as the level at 1.2988 last week, before forming a temporary top there. In the case of a reverse, the fall may be contained by the level at 1.2582 resistance turned support to bring rise resumption.     GBPUSD Short term Trend: Bullish An impermanent top is structured on the level at 1.2988 and intraday bias in GBPUSD stays on the upside. A few consolidations may be seen. Be that as it may, any pullback ought to be contained above the level at 1.2582 support to bring rise resumption.   Meanwhile, on the upside, a break of the level at 1.2988 will stretch out the recovery from the level at 1.1958 to 1.2582 from 1.2204 at 1.3185 next. Without bias analysis, the outlook is bullish and displaying an intact uptrend in the short and long-term.   Source: https://learn2.trade 
    • Date : 21st October 2019. MACRO EVENTS & NEWS OF 21st October 2019.The week ahead will definitely not be a quite one, with high anxiety on Brexit, the last ECB policy meeting before Mario draghi hand over the ECB presidency to Christine Lagarde and few significant US data prior FED on October 30.Monday – 21 October 2019   Producer Price Index (EUR, GMT 06:00) – The German PPI is expected to drop to -0.2% for September. As expected readings would result in a y/y loss of 0.3% for headline PPI, versus a 0.3% pace for August. Tuesday – 22 October 2019   Retail Sales (CAD, GMT 12:30) – Canadian sales are expected to have increased by 0.6% m/m in August compared to 0.4% m/m in July, with the ex-autos component down -0.3%. Existing Home Sales (USD, GMT 14:00) – Home sales have regained their status as an important indicator after the financial crisis and can have a strong effect on the markets. The release is expected to record a slight -0.2% pull-back in September to a 5.480 mln pace, after a bounce to 5.490 mln in August. In Q2, we saw an average sales pace of 5.287 mln, and we expect a better 5.463 mln pace in Q3. Thursday – 24 October 2019   Services and Manufacturing PMI (EUR, GMT 08:30-09:00) – September PMIs showed a marked contraction in manufacturing activity and a sharp slowdown in services sector growth. This picture is likely to be seen again in the preliminary readings for October, as German Manufacturing PMI has been forecast at 40 and composite at 49.2, which it is still below neutral. Meanwhile, Services PMI is expected to fall to 51.2. The overall Markit for Eurozone is seen at 49.4, signalling stagnation and highlighting the risk that the weakness in manufacturing sectors is spreading. Interest Rate Decision, Monetary Policy Statement and Press Conference (EUR, GMT 11:45 & 12:30) – The ECB is widely expected to keep policy settings on hold after Draghi’s parting shot at the last meeting. The outgoing president pushed through another deposit rate cut and an open ended asset purchase program against the opposition of some of the more senior national central bank heads and incoming president Lagarde will face the task of uniting the board and dealing with growing demands for a comprehensive revision of the ECB’s policy setting framework and in particular the inflation target. Draghi’s last press conference meanwhile will likely focus heavily on calls for fiscal measures to boost the economy in a challenging international environment. Durable Goods (USD, GMT 12:30) – Durable goods orders are expected to fall -1.8% in September, after gains of 0.2% in August, thanks to an expected transportation orders drop. Boeing orders rose to a still-lean 25 from 18 in August. Services and Manufacturing PMI (USD, GMT 13:45) – Preliminary Manufacturing are expected to slip in October, to 50.1 from 51.1, while Services PMIs are likely to rise to 51.3 from 50.9, indicating a slowdown in the sector that has been hit by global trade tensions. Friday – 25 October 2019   German IFO (EUR, GMT 08:00) – In September, the German IFO business confidence came in slightly higher than expected at 94.6. In October, however, the overall business climate reading is seen slightly lower at 94.4. The more forward looking expectations reading is anticipated at 91.8 from 90.8. 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 HotForex 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 HotForex 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.
    • Perfect Trend Lines, PTL, is a short-term trend trading indicator. The lines showing the trend in this indicator is not straight lines like normal trend lines. PTL indicator calculation is simple. First take the 7 bar high and low, then the 3 bar high and low. If the close price is above the 7 bar high and 3 bar high, then an uptrend is identified. When the close price is below the 7 bar low and 3 bar low then a downtrend is identified. These bars are considered as strong trend bars. The magenta line is the 7 bar high or low depending on the trend. The cyan line is the 3 bar high or low depending on trend direction. When price is trading between these 2 lines trend strength is weak.   A magenta diamond shape appears when sell signal is generated. Cyan diamond shape appears for a buy signal. The magenta line can be used as stop loss. The cyan line provides a tighter stop loss level. Strong downtrend bars are marked by a magenta dot at the bar high and strong uptrend bars are marked by a cyan dot at the bottom of the bar.   PTL.zip
    • Qualitative Quantitative Estimation (QQE) is based on a combination of smoothed Moving Average of RSI along with the average true range ATR. Volatile assets such as forex, futures, stocks etc. can be monitored using the Qualitative Quantitative Estimation (QQE) indicator. The indicator displays two lines; a fast and a slow-moving trailing stop line.  The level 50 is important in QQE indicator. When the fast line (green line) is above 50, trend is considered bullish, if it is below 50, downtrend is assumed.   The original QQE indicator trading strategy is to buy when the green line is above 50 and it cross above dotted red line. For a sell trade the green line is below 50 and green line cross below dotted red line. Some traders open Buy position when the green line is below 50 and it cross above red line. Another method is divergence between price and QQE indicator. When price makes new lows and QQE indicator’s green line fails to make new lows, buy position can be opened. When price makes New highs and QQE green line fails to make new highs, sell position can be opened. QQE.zip
×
×
  • Create New...

Important Information

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