Support Board
Date/Time: Mon, 25 Nov 2024 11:16:52 +0000
How do I add
View Count: 305
[2024-03-02 00:17:00] |
User392433 - Posts: 42 |
I want to add the trade that comes in on combined time and sales and paste a circle or something onto the candlestick chart at the same price and candle. This is different from large volume trade because this could be different lot sizes and over more than one price. How do I do this? If time and sales is not possible, I also have a 50 millisecond chart with volumes and delta. How do I paste an indicator onto a different chart's candle at the same price and ideally with the delta or volume value, if a 50 millisecond candle has more than a certain delta or volume? Thanks |
[2024-03-04 13:46:04] |
John - SC Support - Posts: 36238 |
I want to add the trade that comes in on combined time and sales and paste a circle or something onto the candlestick chart at the same price and candle. This is different from large volume trade because this could be different lot sizes and over more than one price. How do I do this?
There is not a way to get this using the built-in tools. You would have to create a custom study to get what you want from the Time and Sales and then match that up to the appropriate bar. Refer to the following: sc.GetTimeAndSales() List of Third Party Sierra Chart Study and System Programmers If time and sales is not possible, I also have a 50 millisecond chart with volumes and delta. How do I paste an indicator onto a different chart's candle at the same price and ideally with the delta or volume value, if a 50 millisecond candle has more than a certain delta or volume?
The easiest way to do this would be to use the "Spreadsheet Formula" on the 50 millisecond chart to get the signal for when you want the marker. The Spreadsheet Formula study, despite its name, uses the Alert Syntax. So your formula would look something like the following: =AND(ID1.SG1 > 20, V > 1000) Where ID1 is the ID of the "Numbers Bars Calculated Values" study and SG1 is the first subgraph for this study, which is the delta. V is the volume of the bar. Then use the "Study/Price Overlay" study to overlay the "Spreadsheet Formula" to the chart you want and either display it directly (using a Draw Style such as "Point on High"). Or you can then use the "Study/Price Overlay" to give input to the "Color Bar Based On Alert Condition". Refer to the following: Spreadsheet Formula Study/Price Overlay Study Color Bar Based on Alert Condition Study/Chart Alerts And Scanning For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-03-05 00:01:20] |
User392433 - Posts: 42 |
How do I paste it directly on the price? So, I paste the highest volume price in the 50 ms candle or the closing price, onto another chart's candle at the exact same price and time.
|
[2024-03-05 00:22:16] |
John - SC Support - Posts: 36238 |
If you are wanting to check delta and volume at each price level, then things get tricky. It can be done, but it gets a bit messy. Refer to the following for how to get this data for Alerts: Study/Chart Alerts And Scanning: Special Functions For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-03-05 00:34:19] |
User392433 - Posts: 42 |
I used the spreadsheet formula study with this formula IF(AV - BV >= 100, C, 0) and draw zeroes values at NO. I am trying to get the close of the 100 millisecond candle as the output price for the study overlay to use to paste onto the candle. On the target chart, I used the color bar on alert condition where if ID of overlay.SG1 > 0 to put a square. I used study subgraph reference as the "output condition when true" (I think it should use the "close" that I returned from the IF function in the spreadsheet formula) This only works on a few alerts. It misses a lot of the alerts. |
[2024-03-05 17:13:43] |
John - SC Support - Posts: 36238 |
You are not going to be able to take information from multiple bars in one chart and have them map to a single bar on another chart. The "Study/Price Overlay" is going to find a single bar in the source chart and map that to a single bar in the destination chart. Which bar is determined by the Input for "Data Copy Mode". Refer to the following: Study/Price Overlay Study: Data Copy Mode The only solution for exactly what you are wanting to do would be to create a custom study. Refer to the following: ACSIL Programming Concepts: Accessing Volume at Price Data Per Bar List of Third Party Sierra Chart Study and System Programmers For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-03-05 19:47:02] |
User392433 - Posts: 42 |
My mistake, I switched to 100ms charts. So, a single candle is now 100ms. That single candle will have 100 delta or something. So the study/price overlay should work then right?
|
[2024-03-05 21:25:30] |
John - SC Support - Posts: 36238 |
It depends on the bar period of the chart you are copying to. We understand you have a 100ms source chart, what is your destination chart's bar period? In the end, if the bar periods are different such that the bar period of the destination chart is larger than the bar period of the source chart, then you are only going to get 1 item from the source chart mapped to the destination chart. For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-03-06 17:31:41] |
User392433 - Posts: 42 |
the destination chart is 5 second, but I am not seeing indicators for 5 mins at a time. Anyway, I worked something else out instead. Thank you. |
To post a message in this thread, you need to log in with your Sierra Chart account: