Support Board
Date/Time: Sat, 23 Nov 2024 12:40:26 +0000
Post From: [Help] Automated trade for simple bracket order of a bar
[2024-11-18 20:17:50] |
Sawtooth - Posts: 4118 |
Here's an easy way. Try this: Add the High/Low for Time Period - Extended study Set the Start and End times to your needs. Leave the 'Line Stop Time' at 23:59:59 This study won't plot beyond midnight. Long entry: Add the Trading System Based on Alert Condition study. Use a formula like this on its Alerts tab: =CROSSFROMBELOW(C,ID1.SG1+50) where ID1 is the High/Low for Time Period - Extended study Short entry: Duplicate the above study, and use a formula like this instead: =CROSSFROMABOVE(C,ID1.SG2-50) Set the Order Action On Alert to Sell Entry. Trading System Based on Alert Condition Date Time Of Last Edit: 2024-11-18 20:18:04
|