Summary: This commission script calculates the constant commission paid for each executed order, denominated in the account currency.
' Assign the parameter to a script variable. _commissionPerOrder = commissionPerOrder
' Return the commission being paid for the executed order. If (orderFillIndex = 0) Then Return _commissionPerOrder End If Return 0