NexusFi: Find Your Edge


Home Menu

 





Time and sales coding in ACSIL


Discussion in Sierra Chart

Updated
      Top Posters
    1. looks_one Trembling Hand with 34 posts (15 thanks)
    2. looks_two liboro with 28 posts (2 thanks)
    3. looks_3 bobwest with 2 posts (1 thanks)
    4. looks_4 Big Mike with 1 posts (1 thanks)
      Best Posters
    1. looks_one Big Mike with 1 thanks per post
    2. looks_two bobwest with 0.5 thanks per post
    3. looks_3 Trembling Hand with 0.4 thanks per post
    4. looks_4 liboro with 0.1 thanks per post
    1. trending_up 10,792 views
    2. thumb_up 19 thanks given
    3. group 5 followers
    1. forum 64 posts
    2. attach_file 11 attachments




 
Search this Thread

Time and sales coding in ACSIL

  #41 (permalink)
 Trembling Hand 
Melbourne, Land of Oz
 
Experience: Advanced
Platform: Sierra Chart, CQG
Broker: CQG
Trading: HSI
Posts: 246 since Jun 2011
Thanks Given: 28
Thanks Received: 360


liboro View Post
Code in post 6 do it based on VAP,
but not based od Time And Sales data.

Thats why I metioned Large Volume Trade Indicator as example,
filtering orders by order size.

YOU CANNOT DO THAT BY VAP.

I'll leave you to it. Good luck.

Follow me on Twitter Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
Trade idea based off three indicators.
Traders Hideout
Cheap historycal L1 data for stocks
Stocks and ETFs
REcommedations for programming help
Sierra Chart
Better Renko Gaps
The Elite Circle
 
  #42 (permalink)
liboro
Prague
 
Posts: 28 since Nov 2016
Thanks Given: 8
Thanks Received: 2

Ok, thank you for your effort.



Trembling Hand View Post
I'll leave you to it. Good luck.


Reply With Quote
Thanked by:
  #43 (permalink)
 
bobwest's Avatar
 bobwest 
Western Florida
Site Moderator
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES, YM
Frequency: Several times daily
Duration: Minutes
Posts: 8,172 since Jan 2013
Thanks Given: 57,516
Thanks Received: 26,292



Trembling Hand View Post
I'll leave you to it. Good luck.


liboro View Post
Ok, thank you for your effort.

Whew. This was a long exchange that seems to not have gotten anywhere, I'm sorry to say.

Not to take sides, because I don't really understand the details and I don't want to add to the level of disagreement in the world, but I think that the moral of the story is that any request for coding help should be extremely and unambiguously detailed and clear, if possible with a chart picture of what is wanted, and coders should decline to take it on until they get that. Misunderstandings, often with no one at fault, are going to happen otherwise.

I am sorry that this didn't work out, and I hope that @liboro gets his idea implemented to his satisfaction.

Good luck to all going forward.

Bob.

When one door closes, another opens.
-- Cervantes, Don Quixote
Reply With Quote
  #44 (permalink)
liboro
Prague
 
Posts: 28 since Nov 2016
Thanks Given: 8
Thanks Received: 2

Hi Bob,

thank your reply, you are completely right.
It is a valueable lesson for me for the next time.

Thank you!



bobwest View Post
Whew. This was a long exchange that seems to not have gotten anywhere, I'm sorry to say.

Not to take sides, because I don't really understand the details and I don't want to add to the level of disagreement in the world, but I think that the moral of the story is that any request for coding help should be extremely and unambiguously detailed and clear, if possible with a chart picture of what is wanted, and coders should decline to take it on until they get that. Misunderstandings, often with no one at fault, are going to happen otherwise.

I am sorry that this didn't work out, and I hope that @liboro gets his idea implemented to his satisfaction.

Good luck to all going forward.

Bob.


Reply With Quote
Thanked by:
  #45 (permalink)
 Trembling Hand 
Melbourne, Land of Oz
 
Experience: Advanced
Platform: Sierra Chart, CQG
Broker: CQG
Trading: HSI
Posts: 246 since Jun 2011
Thanks Given: 28
Thanks Received: 360


bobwest View Post
Whew. This was a long exchange that seems to not have gotten anywhere, I'm sorry to say..

Funny thing is at the end of it all I now have a understanding of what's liboro wants.

A custom Filtered Volume at Price based on threshold trade volume.


It cannot be done with standard ASCIL, VAP container or collecting T&s data and subgraph

But

it can be with custom c++ and sc.Usetool()

Not sure how performant it would be because you need to print to chart a custom drawing for every price level at every bar above the threshold vol. Might have another quick crack at it later.

Follow me on Twitter Reply With Quote
Thanked by:
  #46 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,527 since Oct 2009
Thanks Given: 4,176
Thanks Received: 6,020


Trembling Hand View Post
Funny thing is at the end of it all I now have a understanding of what's liboro wants.

A custom Filtered Volume at Price based on threshold trade volume.


It cannot be done with standard ASCIL, VAP container or collecting T&s data and subgraph

But

it can be with custom c++ and sc.Usetool()

Not sure how performant it would be because you need to print to chart a custom drawing for every price level at every bar above the threshold vol. Might have another quick crack at it later.

I have not read the whole thread but is it something like that:

Reply With Quote
  #47 (permalink)
 Trembling Hand 
Melbourne, Land of Oz
 
Experience: Advanced
Platform: Sierra Chart, CQG
Broker: CQG
Trading: HSI
Posts: 246 since Jun 2011
Thanks Given: 28
Thanks Received: 360


trendisyourfriend View Post
I have not read the whole thread but is it something like that:

Yep that looks like what I think @liboro wants. Where did that pic come from?

Follow me on Twitter Reply With Quote
  #48 (permalink)
liboro
Prague
 
Posts: 28 since Nov 2016
Thanks Given: 8
Thanks Received: 2

Yeah. But what I see on the pic, the threshold here is based on the total ask+bid volume on the price levels. IMO there is no order size filtering. I like the way of plotting/charting, it is a great reference.



Trembling Hand View Post
Yep that looks like what I think @liboro wants. Where did that pic come from?


Reply With Quote
  #49 (permalink)
liboro
Prague
 
Posts: 28 since Nov 2016
Thanks Given: 8
Thanks Received: 2

Anyway, what kind of limitation you see that there is only way to code it i C++?

Thank you!



Trembling Hand View Post
Yep that looks like what I think @liboro wants. Where did that pic come from?


Reply With Quote
  #50 (permalink)
 Trembling Hand 
Melbourne, Land of Oz
 
Experience: Advanced
Platform: Sierra Chart, CQG
Broker: CQG
Trading: HSI
Posts: 246 since Jun 2011
Thanks Given: 28
Thanks Received: 360



liboro View Post
Yeah. But what I see on the pic, the threshold here is based on the total ask+bid volume on the price levels. IMO there is no order size filtering. I like the way of plotting/charting, it is a great reference.

Yeah I understand. You want to only include trades where the volume is greater than X amount


liboro View Post
Anyway, what kind of limitation you see that there is only way to code it i C++?

Thank you!

You need a structure to hold the collected data, in this case each trade above a threshold at every bar at every price. As you can never know how many price levels you will need for the chart you cannot use Subgraphs because,
they can only plot 1 data point per bar.
You cannot dynamically alot them.
If you have a chart with a High/Low range of 200-500 ticks you would need that many Subgraphs!!! Which is far more than the max.

You cannot use persistent Variables because you can only have 1000 again not enough to store. 100 bars * avg 10 ticks per bar and you have run out.

So its a custom C++ container is the only way I see to go. Unless SC makes the VAP container customisable.

Follow me on Twitter Reply With Quote




Last Updated on February 21, 2021


© 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