printing RSI value to the Message column of the Order window
Author: cravens
Creation Date: 2/28/2012 9:16 AM
profile picture

cravens

#1

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
profile picture

Eugene

#2
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.
profile picture

Cone

#3
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.
profile picture

cravens

#4
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

profile picture

Eugene

#5
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.
profile picture

Cone

#6
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.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).