New version 17 available now


Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

How to find divergences Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
CummingTrader1
Posted : Friday, April 21, 2017 12:05:51 AM
Platinum Customer Platinum Customer

Joined: 9/24/2016
Posts: 2

Hi

I'm using 5 minute chart, for last 10 bars. Can you please help me with formula for following

1) Price makes new high but MACD moves lower

2) Price makes new low but MACD is moving higher

Also, appreciate if you could point me towards backtest the formulas

 

Thanks in advance

Bruce_L
Posted : Friday, April 21, 2017 9:22:24 AM


Worden Trainer

Joined: 10/7/2004
Posts: 59,216

The request could be interpreted a variety of ways, but the following TC2000 v17 Condition Formula would represent what I would think is the most literal interpretation.

H > MAXH9.1 AND MACD12.26 < MACD12.26.1

It requires price to make a new 10 bar high with the raw MACD dropping from the previous bar to the current bar. You would set this to a 5 minute time frame if you wanted to be checking a 5 minute chart.

A similar Condition Formula for the low would be as follows.

L < MINL9.1 AND MACD12.26 > MACD12.26.1

TC2000 does not have any built in backtesting features, but you can "visually backtest" the Condition Formulas by using each Condition Formula as the Boolean Formula in a Custom PCF % True Indicator. This will plot spickes on the chart where the Condition Formula was true in the past.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
CummingTrader1
Posted : Saturday, April 22, 2017 8:29:51 AM
Platinum Customer Platinum Customer

Joined: 9/24/2016
Posts: 2

QUOTE (Bruce_L)

The request could be interpreted a variety of ways, but the following TC2000 v17 Condition Formula would represent what I would think is the most literal interpretation.

H > MAXH9.1 AND MACD12.26 < MACD12.26.1

It requires price to make a new 10 bar high with the raw MACD dropping from the previous bar to the current bar. You would set this to a 5 minute time frame if you wanted to be checking a 5 minute chart.

A similar Condition Formula for the low would be as follows.

L < MINL9.1 AND MACD12.26 > MACD12.26.1

TC2000 does not have any built in backtesting features, but you can "visually backtest" the Condition Formulas by using each Condition Formula as the Boolean Formula in a Custom PCF % True Indicator. This will plot spickes on the chart where the Condition Formula was true in the past.

 

Thank you very much, Bruce

Bruce_L
Posted : Saturday, April 22, 2017 9:59:04 AM


Worden Trainer

Joined: 10/7/2004
Posts: 59,216

You're welcome.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.