#### theelderwand

##### Member

**2019 Donor**

**VIP**

Hi,

This is the blog: http://chartingwealth.com/ where he talks about a weekly chart crossover going up for long and going down for short.

My apologies that I didn't post the indicators. It took me some money to figure out the indicators and finally get it working in ToS. Here's the indicator.

The Price Percent Oscillator he talks about:

The EMA that he talks about

Here's the CrossOverSignal code

If you listen to the podcast, he called a weekly crossover on GLD, you can see below in the chart. He uses weekly two days and 4 hour charts. Here you go,

If you are looking for a strategy to get alerts and auto trade based on them, here's the strategy,

I thought it's too good to be true on the weekly chart so I checked the strategy a bit closer.

Crossover happens on barX, buy signal is placed on barX+1,

Here's the shareable links

Charting Wealth PPO: http://tos.mx/18mB8nW

Charting Wealth EMA: http://tos.mx/8q5aTGU

Charting Wealth CrossOver signal: http://tos.mx/HlI3V9n

Charting Wealth Chart Setup: http://tos.mx/mwNSmOI

Charting Wealth Strategy: http://tos.mx/rHEQvap

Enjoy!! As always feedback welcome!!

This is the blog: http://chartingwealth.com/ where he talks about a weekly chart crossover going up for long and going down for short.

My apologies that I didn't post the indicators. It took me some money to figure out the indicators and finally get it working in ToS. Here's the indicator.

The Price Percent Oscillator he talks about:

Rich (BB code):

```
# Price Percent Oscillator
# Author theelderwand
declare lower;
input fast = 10;
input slow = 24;
def slowEMA = ExpAverage(close, slow);
plot ppo = 100 * (ExpAverage(close, fast) - slowEMA) / slowEMA;
```

Rich (BB code):

```
# Charting Wealth Exponential Moving Average
# Author theelderwand
input length = 8;
def ppo = WeeklyAndDailyPPO(10, 24, 10, 24).WeeklyPPO;
plot AvgExp = ExpAverage(ppo, length);
```

Rich (BB code):

```
# Charting Wealth CrossOver Signal
# Author theelderwand
declare lower;
input fast = 10;
input slow = 24;
def slowEMA = ExpAverage(close, slow);
def cwppo = 100 * (ExpAverage(close, fast) - slowEMA) / slowEMA;
input length = 8;
def ppo = WeeklyAndDailyPPO(10, 24, 10, 24).WeeklyPPO;
def cwavgexp = ExpAverage(ppo, length);
plot buy = (cwavgexp crosses below cwppo);
plot sell = (cwavgexp crosses above cwppo);
```

If you are looking for a strategy to get alerts and auto trade based on them, here's the strategy,

Rich (BB code):

```
# Charting Wealth Strategy
# Author theelderwand
input fast = 10;
input slow = 24;
def slowEMA = ExpAverage(close, slow);
def cwppo = 100 * (ExpAverage(close, fast) - slowEMA) / slowEMA;
input length = 8;
def ppo = WeeklyAndDailyPPO(10, 24, 10, 24).WeeklyPPO;
def cwavgexp = ExpAverage(ppo, length);
def x = (cwavgexp crosses above cwppo);
def y = (cwavgexp crosses below cwppo);
AddOrder(OrderType.BUY_AUTO, x equals 1, price=close, 100, Color.GREEN, Color.GREEN, "Buy");
AddOrder(OrderType.SELL_AUTO, y equals 1, price=close, 100, Color.RED, Color.RED, "Sell");
```

Crossover happens on barX, buy signal is placed on barX+1,

Here's the shareable links

Charting Wealth PPO: http://tos.mx/18mB8nW

Charting Wealth EMA: http://tos.mx/8q5aTGU

Charting Wealth CrossOver signal: http://tos.mx/HlI3V9n

Charting Wealth Chart Setup: http://tos.mx/mwNSmOI

Charting Wealth Strategy: http://tos.mx/rHEQvap

Enjoy!! As always feedback welcome!!

Last edited by a moderator: