Login Page - Create Account

Support Board


Date/Time: Sat, 07 Sep 2024 23:59:32 +0000



Post From: LIMIT ORDER BEHAVIOUR - STOP QUANTITY NOT UPDATING AS LIMIT TARGETS GET HIT

[2024-04-01 18:05:11]
Sawtooth - Posts: 4083
Alternative approach would be if there is a way to control trade window settings through spreadsheet (stop and target distances, not just picking up pre-determined presets).
One workaround would be to use the Trade Management by Study study.
Attached Orders: Study Controlled Targets and Stops

This study can move a Trade Window Attached Orders to a calculated price in a spreadsheet Formula Column.
The limitation is that it will only move the Nearest, so you'd need to initially place the farthest 2 of the 3 targets at a predetermined price.
As each target is reached the new nearest would be moved to its calculated price.
This might not work as expected in a fast market.

You can control the exit quantity, separate from the J26 quantity, in cells J82/J83, but you'd need complex formulas in J22-J25 for exit prices.
And you could replicate an OCO with a complex formula in J29.
Also, when using only L3/N3, or J29, for your exits, you don't have a stop loss in the market.
This is why it is highly recommended to use the Trade Window's Attached Orders.