Support Board
Date/Time: Mon, 25 Nov 2024 20:26:46 +0000
[Programming Help] - Market vs Limit orders in a spreadsheet for trading
View Count: 175
[2024-02-07 01:49:33] |
User48838 - Posts: 120 |
While trading Live today the spreadsheet sent a market order instead of a limit order. I am using this formula in cell J71 (and J73), =if(aa3=0, "M", "L") AA3 contains [ID2] Trading: Position Quantity (C) I am trying to enter a Market order when I have no position and a Limit order when I am in a position. Is the formula above valid? Anything I might be missing using this formula? TY |
[2024-02-07 15:32:46] |
Sawtooth - Posts: 4120 |
Your formula is valid but I would use J8 instead: =IF(J8=0, "M", "L") Also, you need a formula in cells J22/J24 to return a price for the Limit order. Date Time Of Last Edit: 2024-02-07 16:20:02
|
To post a message in this thread, you need to log in with your Sierra Chart account: