Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 12:00:01 +0000



AUTO TRADE USING ALERT CONDITIION

View Count: 113

[2024-03-25 19:18:04]
User357489 - Posts: 20
Hi there, i wondered if i could simply put the alert condition formula [as discussed below] into the "trading system based on alert condition" this was the alert for a bullish gamma candle i used to color bar:

=AND(ID35.SG3[0] > 1000, ID35.SG10[0] > ID35.SG10[-1], ID35.SG12[0] > ID35.SG12[-1], ID35.SG13[0] > ID35.SG13[-1])

is it as simple as adding it to the above or are there more steps involved?

screenshot of settings attached.

Thx
imageScreenshot 2024-03-25 160842.png / V - Attached On 2024-03-25 19:17:59 UTC - Size: 31.23 KB - 26 views
[2024-03-25 19:19:58]
John - SC Support - Posts: 31293
If that alert condition is working for what you want, and you then want to use it to enter a trade, then yes - you can just copy and paste it into the "Trading System Based On Alert Condition" and use it for trading. Just make sure the options for the study are set as you want.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-03-28 12:04:46]
User357489 - Posts: 20
Hi John thanks buddy, appreciate it! will work on it.

another quick q: is there an existing sc study that plots high/ low of candles, using horizontal lines (with option to extend until further int)?

or like, when my "gamma" candle alerts are "true" and color the bar, id like high and low lines for the colored bars, does that make sense?

just working on some theories, so wondered if it can be done or else a custom study would be required.

Thanks again for the help
[2024-03-28 14:40:06]
John - SC Support - Posts: 31293
The best way to do this would be to use the "Color Bar Based on Alert Condition" study. You would enter your formula for the Alert and then set the following for the Inputs:
- Output when Condition True: Use Input Data
- Input Data: High
- Draw Extension Lines at Color Bar Value

Then in the Subgraph tab set the "Draw Style" for the "Color Bar" subgraph to be "Ignore".

This will give you the line you want at the high starting where the condition was true and then stopping when there is an intersection.

You would have to repeat the above with another copy of the "Color Bar Based on Alert Condition" study for the Low.

Refer to the following:
Color Bar Based on Alert Condition

Chart Studies: Ignore (ACSIL: DRAWSTYLE_IGNORE)
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