I'm a huge user of ThinkorSwim but have minimal knowledge with coding. I'm using the ATRTrailingStop indicator but I would like to convert the ATR value into a percentage. For example, if the ATR(14) value is 1.00 and today's price is $10.00, then ATR % would be 10%.
I know its a simple request but I can't find a way to get the graph to show in percentages.
Sorry, are you saying you want the regular ATR as a percentage of the close or the stop amount as determined by the ATR Trailing Stop study divided by the close, i.e. (close - ATR Trailing Stop) / close?
It seemed that way, but you we're talking about the trailing stop thingy too so I wasn't sure...anyway here it is. If you are looking for comparability across instruments, then I am contemplating whether this will actually achieve that or not. If it doesn't do what you want then let me know and we can work on it.
The following user says Thank You to vegasfoster for this post: