I have trading strategy running every morning. I would like to know the RSI of each trade that shows up in the order window.
Is there a way to do that? Maybe printing to the Message column?
example:
RSI = 24
Thanks
Rob
Size:
Color:
It's not possible. On a related note: neither is printing to a custom column in Strategy Monitor and Strategy windows possible (a deferred feature request).
What's possible: print to an external file or assign the RSI to the trade's entry/exit signal name.
Size:
Color:
You could add it to the trade's signal name so that it shows up in the Order's
Signal column.
example:
CODE:
Please log in to see this code.
Size:
Color:
Can this be done in any other field?
I use SellAtOpen(bar+1, "group1|") and it leaves open trades if I don't use the "group1|" field in the BuyAtMarket command.
Also, is there a way to make the orders or alerts print to a .cvs or other type of file?
Thanks
Rob
Size:
Color:
QUOTE:
Can this be done in any other field?
No.
QUOTE:
I use SellAtOpen(bar+1, "group1|") and it leaves open trades if I don't use the "group1|" field in the BuyAtMarket command.
You have to fix the code so that it won't rely on Strategy Builder's "group|..." clichés. It's a pretty simple task (but there's no silver bullet so each script should be "converted" individually.)
QUOTE:
Also, is there a way to make the orders or alerts print to a .cvs or other type of file?
Yes, see the QuickRef > Alert Object for examples.
Size:
Color:
Just leave "group 1|" in the signal name and there will be no need to mess with the exit logic if that's a problem for you. Just add the rsi value like this:
CODE:
Please log in to see this code.
Size:
Color: