You will not be able to get the stop/limit price.
In the script editor, you can click on the "Help" button at the bottom of the editor to display the list of all available functions and variables.
To get more options, you can write a money management script that would be executed each time the portfolio is run.
maybe you could add the PendingPrices to the QSOrder-Class in the next Version?
In the meantime, can you explain how to pass the result of e.g. Orders.GetPendingBuyOrders() from MMScript, so I have access to it in the Task triggered Script?
The MMScript is something different than the Task triggered script. You cannot pass data directly.
What you can do for example, is have the MMScript generate a file containing the necessary information then read that file from the Task triggered script and use it the code.
Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.