Is it possible to activate slippage for limit orders and at the same time deactivate slippage for market close and stop orders?
Size:
Color:
No, it is not.
Size:
Color:
You could create your own limit orders functions so that they trigger based on a limit slippage percent. e.g.
CODE:
Please log in to see this code.
Size:
Color:
Thanks a lot for the workaround Cone
Size:
Color:
I am showing my ignorance again, but I was attempting to convert this concept to SellAtLimit and I am obviously missing something.
CODE:
Please log in to see this code.
I am getting the error "cannot implicitly convert type 'bool' to "WealthLab.Position". What am I missing?
Vince
Size:
Color:
Vince,
SellAt* return a boolean value - not a
Position like
BuyAt*:
CODE:
Please log in to see this code.
Size:
Color:
Of course! (stupid error!!)
Never would have caught the problem with the "return" however. :(
Thanks Eugene!
Size:
Color: