1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Purchase a Lifetime Pro Membership and get full access to the forum and resource downloads. UPGRADE NOW

thinkorswim Moving Average with Slope Based Color 2016-01-27

The moving average of your choice with the color of the line based on the slope of the line.

Tags:
  1. Eric Purdy
    Here’s a real simple script that will plot the moving average of your choice with the color of the line based on the slope of the line. If you want different colors, just change the two color constants in the line of code:
    ave.AssignValueColor(if ave > ave[1] then color.cyan else color.dark_red);
    to your preference. tsma.png

Recent Reviews

  1. Kevin C Kettring
    Kevin C Kettring
    3/5,
    Version: 2016-01-27
    Bonus "Like" if you set alert for flat Market. No Trend, rule
    based idea to stay out, but monitor as new trends will soon emerge.

    Thanks Eric