Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 04:37:21 +0000



Post From: Trade Management by Study - delay required

[2021-09-19 16:40:02]
User183843 - Posts: 12
I am using the value available in Spreadsheet field J48 ( Last Entry Fill Price (read-only)) of my "Spreadsheet study" spreadsheet.

This value is used to calculate TP and SL. The calculated values are then applied using "Trade Management by Study" study.
Limit Orders (with attached SL/TP) are set manually for this example.

In the moment the order is executed, the study is setting SL/TP according to my calculation.
Unfortunately it still uses the previous value that was present in the field J48 which leads to incorrect SL/TP.


So, it seems like the Study is doing it's work before the spreadsheet J48 field is updated.

Is there any way to introduce a delay (e.g. 1s), to stop "Trade Management by Study" modifying TP/SL with incorrect values in the moment the limit order is executed, or another idea to fix it?
Date Time Of Last Edit: 2021-09-19 16:45:45