styliten 294 posts msg #157765 - Ignore styliten modified |
10/4/2021 10:38:00 AM
The following filter adds the price indicators on the main price plot showing what the prices would have been if the had performed on par with the S&P 500 ETF for the last 10[red band]/20[green band]/32[purple band] & 63[orange band] days. At some point stocks that have been performing poor for sometime relative to to the S&P 500 price levels would start the rebound process as if they are trying to make up for the losses/differences. The converse may also be true as people try to pocket the gains thereby dragging down the a stellar performer back to the S&P 500 average lines.
Feel free to modify if you prefer different # of days for gauging purposes.
|
xarlor 581 posts msg #157767 - Ignore xarlor |
10/4/2021 12:13:46 PM
That's pretty ingenious! Then again, most of your SF manipulations are. Thank you for this, very informative and a good way to glance at market health overall.
I had to add a legend since I kept forgetting which color corresponded with which days.
|
styliten 294 posts msg #157769 - Ignore styliten modified |
10/4/2021 12:58:12 PM
@ xarlor
I realized the hard way that while subcharts are nice, they are also the biggest distractions! So incorporating anything meaningful into the main price plot (and get rid of ALL subcharts, if at all possible) is one and only ultimate goal! At the end of the day, people make buying and selling decisions on PRICES themselves, not on RSI, linear regression, or whatever.
Also, you can use this instead:
add column spy10000 {red_10}
add column spy20000 {green_20}
add column spy32000 {purple_32}
add column spy63000 {orange_63}
so it will show the calculated values for 10/20/32/63 periods.
|
glgene 616 posts msg #157774 - Ignore glgene |
10/4/2021 9:22:49 PM
Styl — Your SF scripting is above my pay grade. I should go back to college!
Gene
|
Cheese 1,374 posts msg #157775 - Ignore Cheese |
10/4/2021 11:13:51 PM
Thank you, sty.
Just a real simple case for me to learn.
|