User defined quick fields for order dialog
Previous Topic  Next Topic 

How to define quick fields


You can specify a certain amount to invest via the drop menu at the number, and you can even define your own formulas to determine the fields in the menu. In order to define a formula for example, to purchase for 200 000 SEK, click Settings > User Preset fields for order dialog:


Click on the drop menu to select Amount or Limit


Define new quick select option


For example, define an option to buy for 200 000 SEK in manual orders, first click on the alternative that the quick field applies, Amount in this case. Then, an appropriate title for quick field, for example, 200 000 SEK. Fill out the script code that calculates how many shares SEK 200 000 is equivalent to:

Int(Div(200000,s))

which means that the amount of SEK 200 000 is divided by the current selling price (s) and rounded to the nearest integer with Div (). (Script is explained in detail in the Script Reference)
Click OK to save and close the dialog. The next time you open the order dialog the new option will be available to select.