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


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

macd indicator crossover Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
iceman8074
Posted : Thursday, March 28, 2019 1:35:58 PM
Registered User
Joined: 9/10/2017
Posts: 4

Is there a way to create a macd indicator and then have it point when it crosses like it does in think or swim so i don't have to look that closely. 

Bruce_L
Posted : Thursday, March 28, 2019 2:14:14 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

We can plot dots on the chart using a Custom PCF Indicator using the Dots Plot Style, but not arrows. You can use a single Custom PCF Indicator if you don't mind the dots being the same color.

You didn't specify the type of cross, MACD through zero or MACD through its moving average (which is the same thing as the MACD Histogram through zero), so I am going with MACD through zero.

Note the division by zero error is on purpose. It is what makes it so a dot doesn't plot when the MACD doesn't cross.

IIF(XUP(MACD12.26, 0), L, IIF(XDOWN(MACD12.26, 0), H, 1 / 0))

But need two Custom PCF Indicators if the dots need to be different colors. One would use:

IIF(XUP(MACD12.26, 0), L, 1 / 0)

And the other would use:

IIF(XDOWN(MACD12.26, 0), H, 1 / 0)

Either way, you need to overlay the Custom PCF Indicators into the same pane and scale as price.

How to Overlay an Indicator (make sure to choose & Scale With)


-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.