Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 05:11:51 +0000



Post From: Trigger Trade Mgmt By Study

[2024-07-02 01:03:09]
Sawtooth - Posts: 4118
Longs:
O3:
=IF(AND($J$8>0,E3<$J$48+12),$J$48-12,IF(AND($J$8>0,E3>=$J$48+12,E3>ID1.SG1@3),ID1.SG1@3-2,0))

Shorts:
P3:
=IF(AND($J$8<0,E3>$J$48-12),$J$48+12,IF(AND($J$8<0,E3<=$J$48-12,E3<ID1.SG1@3),ID1.SG1@3+2,0))

I've made some assumptions here:
- Your 9 SMA is ID1.SG1
- Your initial stop offset is also 12 points.
- You are using Attached Orders.
- If you have multiple targets, you have a common stop.
- Price is beyond the 9 SMA when it has also reached 12 points of profit.
- In the TMS study, 'Only Modify Stops In One Direction' is set to Yes.

I have not tested this.
Date Time Of Last Edit: 2024-07-02 02:00:50