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

Indicating a crossover Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
grassrootsnv
Posted : Wednesday, March 27, 2019 1:58:32 PM
Registered User
Joined: 8/26/2016
Posts: 1

Is there a way to add a symbol such as an arrow to the chart when a moving average crosses over another moving average?

Bruce_L
Posted : Wednesday, March 27, 2019 2:59:59 PM


Worden Trainer

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

The easiest way to do this would be to add a Custom PCF % True Indicator to the chart.

The Boolean Formula setting would depend on the moving averages. For exmalpe, the following would check for a 10 period exponential moving average crossing up through 20 period simple moving average.

XUP(XAVGC10, AVGC20)

Another method would use a Custom PCF Indicator instead and plot dots on the chart (you would need to set the Plot Style to Dots). This would plot the dot at the midpoint between the two averages.

IIF(XUP(XAVGC10, AVGC20), (XAVGC10 + AVGC20) / 2, 1 / 0)

Note the 1 / 0 is going to generate an error when the cross up doesn't happen. This is what makes it so don't plot.

Unlike the Custom PCF % True Indicator technique, you will need to overlay this into the same pane and scale as price.

How to Overlay an Indicator (make sure to select & 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.