I need help please, I only need a small function that if I provide the StopOrderID and a rate change a Stop order and do not alter its condition (none, dynamic or fixed).
Example:
I have a trade with StopOrderID associate, and the Stop is in 1000 and Dinamic, i neeed something
I would like to change it to 1100, providing the StopOrderID and 1100 like parameters.
xxx(StopOrderID , 1100)
Function XXX(StopOrderID, Other_Range)
...
...
end
that function XXX take the StopOrderID seek in the orders table and change only the rate.
I have tried but the condition (none, dynamic or fixed) is alterated, I imagine that I must have other fields in mind. I really appreciate the help.