Support Board
Date/Time: Fri, 29 Nov 2024 01:46:10 +0000
[Programming Help] - Sell Exit Limit Order not being sent sometimes. System seems to opt for Market instead.
View Count: 331
[2023-02-28 02:34:44] |
PeaceFrog - Posts: 105 |
Hello, Thank you for taking the time to respond. When; M3 and N3 both change from 0 to 1 in Row 3 “IF(P3=”TEXT”,1,0) [I’m using text instead of numerical values to avoid the Floating Point Value issue) J24= “=IF(P3=”TEXT”,E3-0.00005”,0)” J25= “=IF(P3=”TEXT”, J48-0.00400,0)” J73 = L J74 = L Yet; J42, J43, J93 and J95 all have the same date and time, J48 returns 0.00005 less than J49, J49 returns 0.00005 more than J48, and J11 = -5. What’s happening is that when M3 changes from 0 to 1, the Sell Entry Order is presumably sent and then is filled (usually I can see a line pop up on the chart that shows the price of the position), which allows N3, that also changed from 0 to 1 (again, usually I can see a line pop up on the chart that shows where the Exit Limit Price is), to send the Sell Exit Order BUT, the Sell Exit Limit Order does not appear to be being sent at the Limit Order price specified in J25. The System appears to be acting as if J73=M and J74=M. This happens fairly frequently when I use Replay Chart, even though I have it set to “Calculate At Every Tick/ Trade (High CPU Usage). I’ve tried testing many different setups to try and avoid this issue but nothing works. The System seems determined to send the Sell Entry and Sell Exit Orders all at the same time and ignore the variables I have set in the System and produce -5 in J11 at this particular time. Kindly advise. Thank you very much. |
[2023-03-13 20:55:46] |
PeaceFrog - Posts: 105 |
Following up. No response in 2 weeks. Kindly advise. Thank you.
|
To post a message in this thread, you need to log in with your Sierra Chart account: