# Above the Green Line System for ThinkorSwim

#### BenTen

Staff member
Staff
VIP
The Strategy is based on rotating into Investments that generally have more Buyers than Sellers (Above the Green Line), which is Above the 250-day moving average), and the highest Relative Strength (> 90 Relative Strength).

Above the Green Line system shared by Joanne Klein over at StockCharts.com was interesting, so I took some of the concepts and ported them over to ThinkorSwim.

### How to use Above the Green Line chart

These are the 3 trading rules outlined by Joanne Klein in Above the Green Line system.
1. Stocks trading above the 250 days moving average
2. Above 90 Relative Strength Factor
3. Money Wave (Slow Stochastic) should be < 20 and turning up

### Above the Green line indicator

Code:
# Above the Green line script
# Display 250 day moving average
# BenTen at UseThinkScript.com

input aggregationPeriod = AggregationPeriod.DAY;
def close = close(period = aggregationPeriod);
input length = 250;
input displace = 0;

plot greenline = Average(close[-displace], length);
greenline.AssignValueColor(color.light_green);

As far as the Relative Strength line, you should be able to find it here. Money Wave is another name for StochasticSlow, which you can add to ThinkorSwim under the Studies section. Set your k period to 5 and d period to 1.

To scan for stocks trading above the green line: go to your TOS scan and add the following condition:

Code:
close is greater than SimpleMovingAvg("length" = 250)."SMA"

Set the aggregation period to D (daily).

### Improving the system

After doing some backtesting, I decided to switch the StochasticSlow indicator for our Buy the Dip indicator. The results improved tremendously.

Here are some examples

As you can see, the Money Wave line usually signals very early, sometimes too early, to even hold through the drawdown.

The system is there, apply however you want to your own trading. I see how this can be useful for swing trading (that's what I'm currently doing).

Last edited by a moderator:

VTR is a momentum indicator that shows if a stock is overbought or oversold based on its Weekly and Monthly average volatility trading range.

Trying to stay in daily swing trade as long as possible. My setup using Normalized_Stoch_Mo. As long as the red line stays above the green line, I think the market will stay bullish.

WOW Ben,....super simple type system...what would be helpful, the chart examples "shared,".... makes easy set up, or future post from anyone, "shared," columns, charts, indicators, etc.

Scan for strong, trending stocks, read price movement, understand trend dynamics, you can trade one stock until the trend changes. Find several several stocks in trends and trade size.....stocks move in steps, up a ladder,...identify price movement. This money wave is erratic based on the settings, would be easier to identify with smoother movement.

Last edited by a moderator:
Very nice. Thanks! I used to follow her but found the money wave too inconsistent. might have to knuckle under and fork over for BTD!

Is BTD code in the picture adjusted for money wave? If not, what makes it improved btd tremendously?

@tem2005 In my setup, I replaced Money Wave with BTD. Pictures included both indicators for comparison. You can do the same by adding the Money Wave a.k.a StochasticSlow indicator to your ToS chart. I hope that helps.

@BenTen so basically BTD is by itself enough and more accurate

@tem2005 Yeah, I would say so. BTD + Above the Green line system as illustrated above.

@StrawberryFields From looking at the above screenshots, it would appear using both indicators (BTD and ATL) might even be better. Seems like when they confirm a Buy, it would be a stronger signal.

@BenTen If you are going to filter the signals with above an EMA and you are using the conservative BTD, which line of BTD are you scanning with?

@barbaros I don't use the scanner because I already have a basket of stocks that I focus on. But if I were to scan, I would start with the btd_short term. It wouldn't hurt to have also set up a scanner for the medium and long term lines. Be flexible and find what works best for you.

@barbaros I don't use the scanner because I already have a basket of stocks that I focus on. But if I were to scan, I would start with the btd_short term. It wouldn't hurt to have also set up a scanner for the medium and long term lines. Be flexible and find what works best for you.
Sounds good @BenTen. It seems like you check your list of stocks EOD for different time frames and put a game plan together for the next day.

Very similar to a strategy I use 10/20/50/200 on D and 2min chart. Combined with a solid value screener and you got gold

Above the Green Line system shared by Joanne Klein over at StockCharts.com was interesting, so I took some of the concepts and ported them over to ThinkorSwim.

### How to use Above the Green Line chart

These are the 3 trading rules outlined by Joanne Klein in Above the Green Line system.
1. Stocks trading above the 250 days moving average
2. Above 90 Relative Strength Factor
3. Money Wave (Slow Stochastic) should be < 20 and turning up

### Above the Green line indicator

Code:
# Above the Green line script
# Display 250 day moving average
# BenTen at UseThinkScript.com

input aggregationPeriod = AggregationPeriod.DAY;
def close = close(period = aggregationPeriod);
input length = 250;
input displace = 0;

plot greenline = Average(close[-displace], length);
greenline.AssignValueColor(color.light_green);

As far as the Relative Strength line, you should be able to find it here. Money Wave is another name for StochasticSlow, which you can add to ThinkorSwim under the Studies section. Set your k period to 5 and d period to 1.

Joanne Klein also mentioned the StockCharts Technical Rank (SCTR). You can find a replica for that on this page.

To scan for stocks trading above the green line: go to your TOS scan and add the following condition:

Code:
close is greater than SimpleMovingAvg("length" = 250)."SMA"

Set the aggregation period to D (daily).

### Improving the system

After doing some backtesting, I decided to switch the StochasticSlow indicator for our Buy the Dip indicator. The results improved tremendously.

Here are some examples

As you can see, the Money Wave line usually signals very early, sometimes too early, to even hold through the drawdown.

The system is there, apply however you want to your own trading. I see how this can be useful for swing trading (that's what I'm currently doing).
@BenTen Do you have a watchlist label for this? Thought it was the same as a regular 250 sma but after plotting on my chart and watchlist the numbers are different. @MerryDay

@BenTen Do you have a watchlist label for this? Thought it was the same as a regular 250 sma but after plotting on my chart and watchlist the numbers are different. @MerryDay
The 250ma here is the same as the regular 250ma on daily charts.
You will find the 250ma is an integral part of the Daily Status Chart in the VIP Forum:

You can copy the 250ma code from the label in that chart into a watchlist.

Last edited:
On StockCharts for the daily setup, the system uses 250 EMA (exponential moving average), 50 EMA, and 10 MA (simple moving average).

Above the Green Line system shared by Joanne Klein over at StockCharts.com was interesting, so I took some of the concepts and ported them over to ThinkorSwim.

### How to use Above the Green Line chart

These are the 3 trading rules outlined by Joanne Klein in Above the Green Line system.
1. Stocks trading above the 250 days moving average
2. Above 90 Relative Strength Factor
3. Money Wave (Slow Stochastic) should be < 20 and turning up

### Above the Green line indicator

Code:
# Above the Green line script
# Display 250 day moving average
# BenTen at UseThinkScript.com

input aggregationPeriod = AggregationPeriod.DAY;
def close = close(period = aggregationPeriod);
input length = 250;
input displace = 0;

plot greenline = Average(close[-displace], length);
greenline.AssignValueColor(color.light_green);

As far as the Relative Strength line, you should be able to find it here. Money Wave is another name for StochasticSlow, which you can add to ThinkorSwim under the Studies section. Set your k period to 5 and d period to 1.

Joanne Klein also mentioned the StockCharts Technical Rank (SCTR). You can find a replica for that on this page.

To scan for stocks trading above the green line: go to your TOS scan and add the following condition:

Code:
close is greater than SimpleMovingAvg("length" = 250)."SMA"

Set the aggregation period to D (daily).

### Improving the system

After doing some backtesting, I decided to switch the StochasticSlow indicator for our Buy the Dip indicator. The results improved tremendously.

Here are some examples

As you can see, the Money Wave line usually signals very early, sometimes too early, to even hold through the drawdown.

The system is there, apply however you want to your own trading. I see how this can be useful for swing trading (that's what I'm currently doing).
where can we find the money wave indicator on the chart?!

These are the 3 trading rules outlined by Joanne Klein in Above the Green Line system.
1. Stocks trading above the 250 days moving average
2. Above 90 Relative Strength Factor
3. Money Wave (Slow Stochastic) should be < 20 and turning up
The StochasticSlow (Money Wave) is a built-in ToS Indicator

### New Indicator: Buy the Dip

Follow Line Indicator For ThinkOrSwim Strategies & Chart Setups 81

87k+ Posts
284 Online

## The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
• Exclusive indicators
• Proven strategies & setups
• Private Discord community
• Exclusive members-only content
• 1 full year of unlimited support

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?