Login Page - Create Account

Support Board


Date/Time: Wed, 12 Feb 2025 22:24:37 +0000



[Programming Help] - automated trading...

View Count: 499

[2020-11-12 00:47:01]
MichaelG - Posts: 34
i would like to know how i can write an exiti based on my entry price....i am using defaultspreadsheetsystem study....I have created an buy entry entry and would like to place an exit based on two things...one a profit of 5 points (20 ticks) or a stoploss of 3 points (12 ticks)...can you please advise... below is my entry

=and($J$8=0,crossfrombelow(e3:e4,aa3:aa4))
[2020-11-12 03:09:43]
Sawtooth - Posts: 4173
Try this:

- On the Trade Window, check 'Use Attached Orders'
- In cells J80/J81, set the target and stop offsets in points.

Spreadsheet Systems, Alerts and Automated Trading: Attached Order Target Offset (write only) [J80]

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

Login

Login Page - Create Account