Support Board
Date/Time: Thu, 30 Jan 2025 19:04:47 +0000
Size bars
View Count: 785
[2019-03-22 08:53:54] |
2garin - Posts: 184 |
Good day. On the Japanese yen chart added a table. In the table I created an alert (B +) highlighting bars of 1 tick size. About Removing Floating Point Imprecision read. Question: why does the alert not work on all bars? (where is the mistake?) |
[2019-03-22 21:00:35] |
John - SC Support - Posts: 37613 |
You need to change how you are handling the final check of the values. How to do this is described here: Using the Spreadsheet Study: Imprecision of Floating-Point Numbers and Comparisons For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2019-03-23 09:06:49] |
2garin - Posts: 184 |
The format in the table is set to maximum. Problem still exists. How to select all the bars with a size of 1 tick? Date Time Of Last Edit: 2019-03-23 09:08:17
|
[2019-03-23 09:56:07] |
2garin - Posts: 184 |
?
|
[2019-03-25 13:22:01] |
John - SC Support - Posts: 37613 |
You need to change the formula that currently reads MROUND(C14, $H$21) - MROUND(D14, $H$21) = 0.00000050 to state something like the following (you will need to determine the appropriate value to be used): ABS(C14 - D14) < 0.0000001 Needing to do this is described in the documentation here: Using the Spreadsheet Study: Imprecision of Floating-Point Numbers and Comparisons For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2019-03-28 22:34:09] |
2garin - Posts: 184 |
The option you offer does not work. May be useful to other users: The task to select the bars (screen) with a height of 1 tick was decided by the expression: =AND (MROUND (C3, $H$21)- MROUND (D3, $H$21)>0.0000004, MROUND (C3, $H$21)- MROUND (D3, $H$21)<0.0000006) The expression helps to select a bar with a height of 2 ticks: =MROUND (C3, $H$21)- MROUND (D3, $H$21)=0.000001 The expression is written to the Japanese Yen futures. |
To post a message in this thread, you need to log in with your Sierra Chart account: