Support Board
Date/Time: Mon, 25 Nov 2024 21:57:16 +0000
Alert color
View Count: 362
[2024-01-19 20:49:37] |
User117548 - Posts: 28 |
I want to write the condition of the warning, how can I write the condition to change the color of the trees starting from condition N to display condition X For example condition N (v>100) to condition X(V>200) , because the data between N and X is unknown I have one more question about warnings. For example, can I call the closing price of an Insidebar post? For example, the ID of Study Insidebar is 31, how should I call it? Next, if I call you, you want to warn when there is a tree that closes below the closing price of the inside bar. if ID31.C>C(that tree) . Because I'm jet-lagged, I'll ask some questions at some point. I hope you can answer them for me |
[2024-01-19 20:55:47] |
John - SC Support - Posts: 36283 |
We are not sure exactly what you want to do, but in order to use the "Color Bar Based on Alert Condition" to color the bars when the volume is between 100 and 200, your condition would be the following: =AND(V > 100, V < 200) For the Inside Bar, to get an alert when the Inside Bar is true and the Study ID is 31, you would do the following: =ID31.SG1 If you want to use the Close of that bar for something, then you would probably use the Spreadsheet Formula to capture that information by using the following formula: =IF(ID31.SG1, C, 0) Note that the Spreadsheet Formula (despite its name) uses the Alert syntax. For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-01-23 01:32:52] |
User117548 - Posts: 28 |
I want to highlight the color of all bars if there is C > L (Insidebar candles). 1st position, all candles in the crossword updated in the attached photo. Until there is C< L (insidebar) Location attached to image number 2. |
8d9dfa50-c496-4f23-9729-73cfc3fc60bb.jpg / V - Attached On 2024-01-23 01:32:31 UTC - Size: 9.07 KB - 55 views |
[2024-01-23 16:03:22] |
John - SC Support - Posts: 36283 |
We are not understanding exactly what you want to do. To start with, an Inside Bar is when a bar's High/Low are less than the previous bar, so the High of the current bar is less than the high of the previous bar and the low of the current bar is greater than the low of the previous bar. Also, you mention a situation where C < L, which to us means the Close is less than the Low, which is impossible. It could be the same, but will never be lower. If you can give us more information on exactly what you want to accomplish, then we will try to help you. For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-01-24 01:57:01] |
User117548 - Posts: 28 |
Those conditions are for the candles behind the insidebar. I want to color the trees behind that insidebar
|
[2024-01-24 16:07:37] |
John - SC Support - Posts: 36283 |
We are not sure how you are determining the Inside Bar, but the general idea would be to use the Color Bar Based on Alert Condition and color the 2 bars prior to the Inside Bar: =OR(ID1.SG1[2], ID1.SG1[1]) In the above ID1.SG1 is the subgraph that finds the Inside Bar. Refer to the following for reference: Study/Chart Alerts And Scanning: Referencing Study Subgraphs Study/Chart Alerts And Scanning: Referencing Other Studies on the Chart Study/Chart Alerts And Scanning: Referencing Data Other Than on the Last Bar/Column In the Chart For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-01-25 13:36:30] |
User117548 - Posts: 28 |
How can I compare the close of the inside bar with the close of the bar behind it? For example : =AND(ID1.SG1.C[2]< ID1.SG1[1])is valid data? |
[2024-01-25 16:41:47] |
John - SC Support - Posts: 36283 |
To check if the Close of the previous bar is less than the current bar, the formula would be the following: =C[-1] < C If you are using the Inside Bar study, and you want to test these two things (i.e. you have an Inside Bar and you want to check if the Close of the previous bar is less than the close of the Inside Bar), then it would be the following: =AND(ID1.SG1, C[-1] < C) Where ID1 is the Inside Bar study and C is the Close of the bar. The [-1] means to look back one bar. For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-01-26 03:59:25] |
User117548 - Posts: 28 |
I want to calculate the next bar of insdebar, can I use the following syntax? =AND(ID2.SG1,C[1] < C) attached photo, but that doesn't work |
Screenshot_30.png / V - Attached On 2024-01-26 03:59:21 UTC - Size: 19.15 KB - 49 views |
[2024-01-26 15:26:05] |
John - SC Support - Posts: 36283 |
In this case, you have to look backwards, since you are dealing with the current bar. So you need to check if the previous bar was an Inside Bar and then check the current close against the previous close. So the formula would be the following: =AND(ID2.SG1[-1], C < C[-1] For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-01-26 16:34:53] |
User117548 - Posts: 28 |
I understand how to allocate Insidebar = [-1] , thank you. So is there any way to allocate that Insidebar to an unknown position like -n ?. because I want to change the color from the most recent Insidebar to Outsidebar. The jobs between insdebar and externalbar will have some variation. I just took the example of insdebar and Outsidebar to explain easily.
|
[2024-01-26 17:17:11] |
John - SC Support - Posts: 36283 |
You can not do this with the Simple Alerts. You would need to use Spreadsheet Study or the Spreadsheet System/Alerts in order to capture the information for when you have an occurrence and then be able to reference that later. Refer to the following: Overview of Spreadsheet Studies For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-01-27 03:34:27] |
User117548 - Posts: 28 |
I can use any function to do that job. utility I am using for automated trading work. But my exit doesn't work. It only recognizes the target at settings. I have attached pictures |
Screenshot_32.png / V - Attached On 2024-01-27 03:34:18 UTC - Size: 8.04 KB - 49 views Screenshot_31.png / V - Attached On 2024-01-27 03:34:21 UTC - Size: 3.48 KB - 46 views |
[2024-01-29 15:28:10] |
John - SC Support - Posts: 36283 |
Your Exit condition is "HW3+3". Are you really using the HW column for something?
For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-01-29 16:13:44] |
User117548 - Posts: 28 |
Yes, I use current price + 2 to exit the order. If possible, please text me so I can communicate faster.
|
[2024-01-29 18:49:08] |
John - SC Support - Posts: 36283 |
This is our main communication method. Again, we have to ask why you have the formula "=HW3 + 3" The current price is found in cell E3. For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-01-30 04:03:15] |
User117548 - Posts: 28 |
I replaced it with cell E3, I simply set it up like that to test exiting a long position, but see in the attached picture. It is not take profit and the order entry price is also different from the closing price of the signal candle |
Screenshot_35.png / V - Attached On 2024-01-30 04:03:11 UTC - Size: 6.52 KB - 48 views |
[2024-01-30 15:36:40] |
John - SC Support - Posts: 36283 |
What exactly is your "Buy Exit" formula at this time.
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: