Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 11:04:12 +0000



[Programming Help] - Speed of market

View Count: 1959

[2021-12-03 12:21:59]
Luchs - Posts: 21
I have realised, that the speed of the market is a very important factor in my trading strategy. Because: Once the market goes too fast, normally I stay out.

One could say, it is easy to recognize on the chart or in the T&S. But in some circumstances speed is quite subjective. And it depends also on the timeframe.

I'd like to have kind of an indicator, which shows me the speed (contracts by time/by price) as an objective value. And as a line with and MA so that I can follow the change over time. Or set alarms on specific levels.

I've seen the indicator T&S: Speed Trades (Histogram) by Zyp. I am sure, this indicator has it's advantages if used the right way, but it doesn't work that well with Renko chart. It blinks and moves and makes me nervous and brings no information at all.

Is there any other indicator or other easy way that can provide me with that information?
[2021-12-03 16:21:35]
John - SC Support - Posts: 36350
You can setup the Number of Trades per second per bar by doing the following:
- Add the Number of Trades study.
- Add the Spreadsheet Formula study and enter the following formula in the Formula Input:
=ID1.SG1 / (FRACTIME(BARDATETIME - BARENDDATETIME) * 86400 )

Where ID1 is the ID of the Number of Trades study (you may need to change this depending on your setup).

Refer to the following for the Number of Trades study:
Number of Trades

And refer to the following for the Spreadsheet Formula study:
Spreadsheet Formula

If you are wanting something else, this should give you a start to get there.

You can add a Moving Average to this by setting the "Based On" for the Moving Average to the Spreadsheet Formula. Refer to the following for the Based On setting:
Chart Studies: Settings and Inputs Tab >> Based On - Basing a Study on Another Study
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-05-16 13:38:55]
BenjFlame - Posts: 324
You can setup the Number of Trades per second per bar by doing the following:
- Add the Number of Trades study.
- Add the Spreadsheet Formula study and enter the following formula in the Formula Input:
=ID1.SG1 / (FRACTIME(BARDATETIME - BARENDDATETIME) * 86400 )

Would you have the same as ASCIL please?
[2023-05-16 15:17:03]
John - SC Support - Posts: 36350
We do not understand this last question. What are you asking?
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-05-16 17:03:20]
BenjFlame - Posts: 324
How to adapt this code to be used from ASCIL code?
[2023-05-16 20:10:22]
John - SC Support - Posts: 36350
We would have to spend the same time figuring that out as you would. This not something we can do.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account