Using the strategy wizard I'm finding it harder than I expected.
If the DrawText action had the ability to select a data source as an input, i.e. (...) + Unrealized PnL it would be easy, but that causes an error which could be because only strings are allowed in this field.
I also thought of creating a string variable and setting it to "Unrealized PnL" prior to closing the position, but I couldn't do that either. It seems rather limiting in my opinion to define variables at the start of a strategy if they can't be changed in response to conditions...
Any ideas?
Comment