NexusFi: Find Your Edge


Home Menu

 





How to get high volume trades visual alert plotted on a range chart?


Discussion in Sierra Chart

Updated
      Top Posters
    1. looks_one Rui S with 68 posts (17 thanks)
    2. looks_two ejtrader with 60 posts (54 thanks)
    3. looks_3 Sawtooth with 4 posts (5 thanks)
    4. looks_4 vegasfoster with 1 posts (0 thanks)
      Best Posters
    1. looks_one Sawtooth with 1.3 thanks per post
    2. looks_two bsaiig with 1 thanks per post
    3. looks_3 ejtrader with 0.9 thanks per post
    4. looks_4 Rui S with 0.3 thanks per post
    1. trending_up 29,237 views
    2. thumb_up 78 thanks given
    3. group 12 followers
    1. forum 131 posts
    2. attach_file 90 attachments




 
Search this Thread

How to get high volume trades visual alert plotted on a range chart?

  #61 (permalink)
 ejtrader 
Portland, OR
 
Experience: Intermediate
Platform: Sierra Chart
Trading: ES
Posts: 269 since Jan 2011
Thanks Given: 327
Thanks Received: 180

@Rui S - Please try this version and let me know how it goes.

- This should address the missing trades
- This should paint the correct bar as well

One important point to note: If there are multiple T&S records for the same "second" that meet volume criteria - it would pick the volume from very latest record ( would pick the very "latest" record that met the criteria - Which would be typically on top of T&S window - for that second).

PS: Still haven't included Aggregate T&S to this yet and thinking whether it makes sense to actually implement or not either. Would think through and would implement if it makes sense.

Thanks

Attached Files
Elite Membership required to download: VolumeThreshold5.cpp
Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
Exit Strategy
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
How to apply profiles
Traders Hideout
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
15 thanks
GFIs1 1 DAX trade per day journal
15 thanks
Vinny E-Mini & Algobox Review TRADE ROOM
13 thanks
  #62 (permalink)
 ejtrader 
Portland, OR
 
Experience: Intermediate
Platform: Sierra Chart
Trading: ES
Posts: 269 since Jan 2011
Thanks Given: 327
Thanks Received: 180

@Rui S - I still see few of the trades being missed out(potentially) during faster market - Checking further.

Please post your observations though.

Thanks.

Reply With Quote
Thanked by:
  #63 (permalink)
 
Rui S's Avatar
 Rui S 
Lisbon, Portugal
 
Experience: Intermediate
Platform: TWS and Sierra Charts
Broker: IB, Stage 5 / Dorman (Teton)
Trading: Stocks and E-minis
Posts: 140 since May 2012
Thanks Given: 189
Thanks Received: 55


@ejtrader

I was precisely writing this message for you when I saw yours.

I have been testing Volume Threshold5 study for a few hours now and I regret to confirm that unfortunately the study is still revealing the same problems I reported for version 4 (as you said).

All the trades the study signals and plots are 100% accurate, both in terms of bar painting and price level. However it is still missing too many trades, not painting the bar nor plotting the number of contracts.

The market hasn't been too fast up to the time I am writing this message, so I don't really know if the problem is solely related to the price speed.

I hope you can somehow figure out a solution for it.

Sorry for the hassle.

Thank you.

Started this thread Reply With Quote
  #64 (permalink)
 ejtrader 
Portland, OR
 
Experience: Intermediate
Platform: Sierra Chart
Trading: ES
Posts: 269 since Jan 2011
Thanks Given: 327
Thanks Received: 180

@Rui S - I think I found the bug. So far my test looks good using this version. Please check this version and let me know your feedback.

PS: As mentioned before - Once the condition of volume threshold for the current bar is detected, it would be mark the Volume detected at that time and would stop processing further T&S records for that specific bar. When a new bar is formed - it would start processing T&S records again. This is to save CPU Cycles.

Thanks

Attached Files
Elite Membership required to download: VolumeThreshold6.cpp
Reply With Quote
Thanked by:
  #65 (permalink)
 
Rui S's Avatar
 Rui S 
Lisbon, Portugal
 
Experience: Intermediate
Platform: TWS and Sierra Charts
Broker: IB, Stage 5 / Dorman (Teton)
Trading: Stocks and E-minis
Posts: 140 since May 2012
Thanks Given: 189
Thanks Received: 55

@ejtrader

Volume Threshold6 compiled and working.

Now I have to wait until tomorrow to have liquidity and speed on CL to make the real test (CL is my benchmark).

I will let you know as soon as I have any conclusion.

Thanks.

Started this thread Reply With Quote
Thanked by:
  #66 (permalink)
 ejtrader 
Portland, OR
 
Experience: Intermediate
Platform: Sierra Chart
Trading: ES
Posts: 269 since Jan 2011
Thanks Given: 327
Thanks Received: 180

@Rui S - Was looking further at the code for any "potential" issues and though there are NO issues expected from "missed" trades, there is a likely chance for a Duplicate trade. Please use the attached version and let me know if you notice any kind of issue ( either missed or duplicate trades ).

Hopefully this should solve all the earlier issues you have faced.

Thanks

Attached Files
Elite Membership required to download: VolumeThreshold7.cpp
Reply With Quote
Thanked by:
  #67 (permalink)
 
Rui S's Avatar
 Rui S 
Lisbon, Portugal
 
Experience: Intermediate
Platform: TWS and Sierra Charts
Broker: IB, Stage 5 / Dorman (Teton)
Trading: Stocks and E-minis
Posts: 140 since May 2012
Thanks Given: 189
Thanks Received: 55

@ejtrader

I decided to test both last two versions of the study - Version 6 and version 7 - and I am glad I did so as I got different outcomes that might provide you some important information.


Volume Threshold6:

This version isn't missing any trade, even when the price moves faster. However, as you figured, when the price moves a bit faster or with sudden impulses the study is misplacing some of the trades (trade volume plotted in the wrong price and sometimes painting the wrong bar). It also sometimes duplicates some signals.



Volume Threshold7:

This version is behaving pretty much as version 5 was: All the trades it plots in the chart are 100% accurate, whether in terms of painting the correct bar or plotting the volume at the price level where the trade occurred.

However the study is still failing to plot many trades - and several of the times it happens the price is not moving very fast. It seems to me that in this case the problem might not be exclusively related to the speed of the market.



So I guess the ideal would be to have the best of both versions and get rid of the bad things - if it was easy I am sure that you would have already done it.

For me, the best version so far is version 6, although if it would have the plotting accuracy of version 7 would be much better.

I hope that this information helps you somehow to figure out what is wrong. I wish I could help more...


Thanks.

Started this thread Reply With Quote
  #68 (permalink)
 ejtrader 
Portland, OR
 
Experience: Intermediate
Platform: Sierra Chart
Trading: ES
Posts: 269 since Jan 2011
Thanks Given: 327
Thanks Received: 180

@Rui S - Would you please check this version and let me know your findings.

Goal is to avoid missing trades and at the same time also avoiding duplicate trades as well as marking at the correct price.

if you still notice any missed trades - please do the following:
- Mark down the T&S record - for which candle it would belong to and post the image if you can.
- Also Timestamp of T&S record, time stamp of 2 bars prior + bar where the trade is missed + 2 bars after - Timestamp of total 5 bars

Please do the same when you notice duplicates as well ( T&S record, time stamp of 2 bars prior + bar where there is duplicate + 2 bars after - Timestamp of total 5 bars ).

Thanks

Edit - Have uploaded a newer version(v8) a moment ago. Please download and use it.

Attached Files
Elite Membership required to download: VolumeThreshold8.cpp
Reply With Quote
Thanked by:
  #69 (permalink)
 
Rui S's Avatar
 Rui S 
Lisbon, Portugal
 
Experience: Intermediate
Platform: TWS and Sierra Charts
Broker: IB, Stage 5 / Dorman (Teton)
Trading: Stocks and E-minis
Posts: 140 since May 2012
Thanks Given: 189
Thanks Received: 55


ejtrader View Post
@Rui S - Would you please check this version and let me know your findings.

Goal is to avoid missing trades and at the same time also avoiding duplicate trades as well as marking at the correct price.

if you still notice any missed trades - please do the following:
- Mark down the T&S record - for which candle it would belong to and post the image if you can.

Thanks


@ejtrader

I think you forgot to attach this last version...

Would you please? I will start testing it right away.

Thanks.

Edit: Sorry, it is already there.

Started this thread Reply With Quote
  #70 (permalink)
 
Rui S's Avatar
 Rui S 
Lisbon, Portugal
 
Experience: Intermediate
Platform: TWS and Sierra Charts
Broker: IB, Stage 5 / Dorman (Teton)
Trading: Stocks and E-minis
Posts: 140 since May 2012
Thanks Given: 189
Thanks Received: 55


@ejtrader

Sorry, this last version still shows the same problem.

Despite the market was slow, after a few minutes I saw Volume Threshold 8 missing two trades. Version 6 plotted them perfectly (the market was slow).


I toke screen shots of both to allow you to compare.


I hope the screen shots are what you asked for. If not, just let me know what you need.


Thanks.

Attached Thumbnails
Click image for larger version

Name:	With Volume Threshold 6.PNG
Views:	157
Size:	25.5 KB
ID:	130468   Click image for larger version

Name:	With Volume Threshold 8.PNG
Views:	165
Size:	27.5 KB
ID:	130469  
Started this thread Reply With Quote




Last Updated on January 20, 2016


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts