Support Board
Date/Time: Mon, 10 Mar 2025 03:01:12 +0000
Post From: [STRATEGY][AUTOMATE] How to automate my strategy into Sierrachart ?
[2022-03-05 14:08:02] |
Sawtooth - Posts: 4181 |
Your formula works for me: =OR(AND($J$8 > 0, ID0.SG4@$3 <= $J$9-4), AND($J$8 > 0, ID0.SG4@$3 >= $J$9+1)) Using the Low and High might be better: =OR(AND($J$8 > 0, ID0.SG3@$3 <= $J$9-4), AND($J$8 > 0, ID0.SG2@$3 >= $J$9+1)) - AutoTrading must be enabled, both Chart and Global. - J28 must be 0 or blank. - For intrabar exits, 'Signal Only On Bar Close (L,N-Z)' needs to be No. Note: Using only L,N for exits means your position is naked in the market. I use the Trade Window's Attached Orders for targets and stops. They are OCO and server-side (assuming your acct has that capability). I only use L,N for ancillary exit conditions, and if used with Attached Orders,'Cancel All Working Orders On Exit' must be Yes. |