Support Board
Date/Time: Thu, 28 Nov 2024 13:58:15 +0000
[User Discussion] - Auto placing a limit order away from price based on alert condition
View Count: 1921
[2020-11-29 16:46:36] |
User708333 - Posts: 18 |
Hello, I'm trying to place a limit order away from price when an alert condition is met. For example, if an alert condition is met such as price crosses a moving average, i want a limit order to be placed x amount of ticks below or above the current price. How can i do this? The trading system based on alert condition only allows market orders as far as i know. Thanks |
[2020-11-30 07:59:02] |
User657945 - Posts: 226 |
Same request here from me but it's not possible right now, anyway I'm in contact with a developer and as soon as it will be available I will advise. Trade buy bid -3/trade bsell +ask |
[2020-11-30 13:29:14] |
Sawtooth - Posts: 4120 |
i want a limit order to be placed x amount of ticks below or above the current price.
You can do this with the Spreadsheet System for Trading study, or use ACSIL.
|
[2020-11-30 13:54:04] |
Ackin - Posts: 1865 |
or use ACSIL.
It's already in the process of creating ....
|
[2020-11-30 19:39:34] |
User708333 - Posts: 18 |
@tomgilb Any idea how i place the order x ticks away from price using that?
|
[2020-11-30 20:03:33] |
Sawtooth - Posts: 4120 |
Any idea how i place the order x ticks away from price using that?
- The entry signals are in cells K3/M3. Use a formula like this: =CROSSFROMBELOW(E3:E4,ID1.SG1@3:ID1.SG1@4)where the MA is ID1. Note: spreadsheet syntax is different than Simple Alert syntax. This will go TRUE when the current price crosses the MA from below, compared to the previous bar. Spreadsheet Systems, Alerts and Automated Trading: BuyEntry (K), BuyExit (L), SellEntry (M), SellExit (N) Spreadsheet Order Action Columns - The Limit prices are in cells J22/J24. Use a formula like this: =E3+J21*2 where E3 is the current/close price, and J21 is the ticksize. Spreadsheet Systems, Alerts and Automated Trading: Limit or Stop Prices [J22, J23, J24, J25] Spreadsheet Systems, Alerts and Automated Trading: Tick Size (Read-only) [J21] - The order types are in cells J71/J73. Set both to L. Spreadsheet Systems, Alerts and Automated Trading: Buy Entry: Order Type [J71] |
[2021-05-07 13:58:25] |
rvdesh - Posts: 28 |
Have you got the solution ornot ? I have modified the code of "Trading System Based on Alert Condition" to include order price offset in ticks. Reachout if you need it... |
[2021-05-07 14:05:17] |
User708333 - Posts: 18 |
Hi Rvdesh, If you could post your solution that would be great! Thanks |
[2021-05-07 14:06:32] |
User90125 - Posts: 715 |
+1 on this. If you have the raw source code (.cpp) that would be great, too :) Date Time Of Last Edit: 2021-05-07 14:45:21
|
[2021-05-08 01:29:07] |
rvdesh - Posts: 28 |
here you go. I have tested it with "Yes" setting for "Evaluate on Bar Close Only". It works correctly. Please test price offset before using in real trade. Date Time Of Last Edit: 2021-05-09 02:12:56
|
TradingSystemBasedOnAlertConditionLimitEntryOrder_64.dll - Attached On 2021-05-08 01:27:52 UTC - Size: 905 KB - 405 views |
[2021-05-08 06:24:33] |
User372626 - Posts: 59 |
+1 on this.
|
[2021-05-11 12:57:01] |
User90125 - Posts: 715 |
here you go.
I have tested it with "Yes" setting for "Evaluate on Bar Close Only". It works correctly. Please test price offset before using in real trade. @rvdesh: Since many of us would be planning to place real trades (and thus, use real money) with this study, would you be able to also share the source code (.cpp) for this? Thanks in advance :) |
[2023-04-22 21:48:39] |
User963805 - Posts: 12 |
Hello rvdesh. I loaded the custom study and it works fine apart from the modification! Using the Price offset function has no effect on the order entry level. Any ideas why it might not be functioning now. Thanks
|
To post a message in this thread, you need to log in with your Sierra Chart account: