Login Page - Create Account

Support Board


Date/Time: Fri, 22 Nov 2024 17:19:03 +0000



Post From: Order Quantity

[2024-10-14 15:45:15]
User781731 - Posts: 26
My question is, can it be used to change order quantity BEFORE a position? Can it be used to dynamically adjust the order quantity based on a value in another study? For example; let's say another study has a value being outputted that is changing as price moves, 10, 4, 8, 2, 3 etc. As these changes occur, can I use sc.TradeWindowOrderQuantity to dynamically adjust the order quantity in line with that study BEFORE a position is open?

I ask because it is obviously much quicker this way than it is if I am manually changing the order quantity myself based on me visually looking at the value that is displayed by the custom study. I enter trades by market order so every fraction of a second I can cut down matters.