Fat Dragon 8 posts msg #106103 - Ignore Fat Dragon |
5/4/2012 11:45:57 AM
I am trying to normalize an oscillator indicator. I am trying to do this by first choosing the oscillator. Lets say RSI(21). Then I would like to put Bollinger Bands(20,2) on top of the RSI. Then I would like to put %b of that Bollinger Band on top of that and display it in a column. This would give me a % placement of the RSI based not on the 70 & 30 lines but on the more relative B Bands.
I tried a line like: add column RSI(21) filtered with Bollinger Band(20,2) and filtered with %b
I did not get a syntax error but the numbers were not accurate. Any ideas how to do this or something similar?
Thanks,
Fat Dragon
|
Kevin_in_GA 4,599 posts msg #106113 - Ignore Kevin_in_GA |
5/5/2012 2:51:25 PM
Try this:
|
Fat Dragon 8 posts msg #106119 - Ignore Fat Dragon |
5/6/2012 8:00:47 AM
Kevin:
Thank you, I don't want to be lazy but that would have taken me a year to figure out.
Much Appreciated,
Fat Dragon
|
Kevin_in_GA 4,599 posts msg #106120 - Ignore Kevin_in_GA |
5/6/2012 9:20:51 AM
No problem. This is a good piece of code to remember in that it lets you put BB's on any indicator. I use this as part of another filter, so it was really just a cut/paste/edit quickly thing for me.
|
tango1 1 posts msg #106121 - Ignore tango1 |
5/6/2012 2:08:21 PM
Kevin; good morning
Trying to figure out a simple filter with no more than 4 indicators that can give us " some" indication of a stock break out dormit for a while
RSi 10 above 30 klast 3 days
Ma crossing 30 and below 50;
volume above 500k last 5 days
any thoughts?
|