Login Page - Create Account

Support Board


Date/Time: Mon, 10 Mar 2025 03:18:36 +0000



auto trade

View Count: 625

[2022-03-14 18:24:50]
Ken Smith - Posts: 58
Im having a terrible time trying to setup my first and simple auto trade. I simply want to trigger a trade if price closes above or below a 25 period Hull. Ive read all the help I can find but it still wont work.

any help would be much appreciated

thanks
Ken

T&S: MESM22 [CB][M] 30 Min #2 | Volume is Equal or Greater than 100 | Ask trade | 10:52:18 4164.25 V=100 | Alert: AlertSound (20)
T&S: NQH22 [CBV][M] #15 | Volume is Equal or Greater than 12 | Ask trade | 10:52:41 13088.00 V=12 | Alert: AlertSound (2)
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =CROSSFROMABOVE(C, ID7.SG2)
CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =CROSSFROMABOVE(C, ID7.SG2)
CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =CROSSFROMABOVE(C, ID7.SG2)
CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =CROSSFROMABOVE(C, ID7.SG2)
CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =CROSSFROMABOVE(C, ID7.SG2)
CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =CROSSFROMABOVE(C, ID7.SG2)
CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
T&S: NQH22 [CBV][M] #15 | Volume is Equal or Greater than 12 | Ask trade | 10:57:37 13084.50 V=12 | Alert: AlertSound (2)
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =CROSSFROMABOVE(C, ID7.SG2)
CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =CROSSFROMABOVE(C, ID7.SG2)
CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =CROSSFROMABOVE(C, ID7.SG2)
CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =CROSSFROMABOVE(C, ID7.SG2)
CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =CROSSFROMABOVE(C, ID7.SG2)
CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =CROSSFROMABOVE(C, ID7.SG2)
CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =CROSSFROMABOVE(C, ID7.SG2)
CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =CROSSFROMABOVE(C, ID7.SG2)
CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =CROSSFROMABOVE(C, ID7.SG2)
CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
T&S: MESM22 [CB][M] 30 Min #2 | Volume is Equal or Greater than 100 | Bid trade | 11:05:25 4163.00 V=100 | Alert: AlertSound (21)
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =CROSSFROMABOVE(C, ID7.SG2)
CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =CROSSFROMABOVE(C, ID7.SG2)
CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =CROSSFROMABOVE(C, ID7.SG2)
CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =CROSSFROMABOVE(C, ID7.SG2)
CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =CROSSFROMABOVE(C, ID7.SG2)
CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =CROSSFROMABOVE(C, ID7.SG2)
CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
[2022-03-14 19:58:53]
Sawtooth - Posts: 4181
Use the OR function:
=OR(CROSSFROMABOVE(C, ID7.SG2),CROSSFROMBELOW(C, ID7.SG1))
[2022-03-14 23:12:37]
Ken Smith - Posts: 58
I got the sytax error message again with the formula you gave me....is it to do with the Alert manager?

thanks again
Ken

Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =OR(CROSSFROMABOVE(C, ID7.SG2),CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =OR(CROSSFROMABOVE(C, ID7.SG2),CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =OR(CROSSFROMABOVE(C, ID7.SG2),CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =OR(CROSSFROMABOVE(C, ID7.SG2),CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =OR(CROSSFROMABOVE(C, ID7.SG2),CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =OR(CROSSFROMABOVE(C, ID7.SG2),CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =OR(CROSSFROMABOVE(C, ID7.SG2),CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =OR(CROSSFROMABOVE(C, ID7.SG2),CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =OR(CROSSFROMABOVE(C, ID7.SG2),CROSSFROMBELOW(C, ID7.SG1) | No alert sound/email.
[2022-03-14 23:19:54]
Ken Smith - Posts: 58
Thought I should let you know what Im trying to achieve....Im looking for an entry long or short when the price crosses and closes either above or below the 25 period Hull ma.


thanks
Ken
[2022-03-15 02:27:41]
User829162 - Posts: 31
The Formula is missing an addition closed parenthesis at the end.

Alert Formula Error - Chart: MESM22 [CB][M] 512 Trades #16 | Study: Trading System Based on Alert Condition | Error: #SYNTAX! | Formula: =OR(CROSSFROMABOVE(C, ID7.SG2),CROSSFROMBELOW(C, ID7.SG1)


Formula: =OR(CROSSFROMABOVE(C, ID7.SG2),CROSSFROMBELOW(C, ID7.SG1) )

Always break down each condition and match the parenthesis


=OR( CROSSFROMABOVE(C, ID7.SG2), CROSSFROMBELOW(C, ID7.SG1) )
[2022-03-15 02:37:43]
Sawtooth - Posts: 4181
Ken, you need a closing parenthesis for the OR.
[2022-03-15 04:59:41]
Ken Smith - Posts: 58
Thats the fix...now if wanted to have two buttons on a tool bar to turn it on or off, so that if it looks like its going to trigger a trade, but only does when it meets the alert parameters , can I do that so for example only the long would trigger if I switch the long one on....and not enter a short if it reversed on me.

And also when a trade auto triggered, that the DOM settings would control the targets, stops etc?

thanks
Ken
[2022-03-15 12:43:22]
Sawtooth - Posts: 4181
now if wanted to have two buttons on a tool bar to turn it on or off
To toggle autotrade on/off, you can add Control Bar Buttons for AutoTrade-Global and AutoTrade-Chart
Control Bar

And also when a trade auto triggered, that the DOM settings would control the targets, stops etc?
On the Trade Window, check 'Use Attached Orders' after creating a trade window config.
Attached Orders
[2022-03-15 14:16:56]
Ken Smith - Posts: 58
Thanks again....I let the charts run overnight, and I see that the longs only are triggering....perhaps I should have two seperate setups...one for long...one for short
[2022-03-15 14:58:38]
Sawtooth - Posts: 4181
perhaps I should have two seperate setups...one for long...one for short
Yes, you need an instance for each direction.
Trading System Based on Alert Condition

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

Login

Login Page - Create Account