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 |

2-color Dot Indicator based on an XAVG Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
esc
Posted : Wednesday, January 30, 2019 10:42:20 AM
Gold Customer Gold Customer

Joined: 3/11/2013
Posts: 24

I want to create an indicator (or perhaps it is 2-3 very similar indicators both posted on same chart).

It should print a Green Dot on the chart at the XAVGC17 when XAVGC17 > XAVGC17.1

It should print an Orange Dot on the chart at the XAVGC17 when XAVGC17 = XAVGC17.1

It should print a Red Dot on the chart at the XAVGC17 when XAVGC17 < XAVGC17.1

 

Anyone (Bruce?) know how I can set this up...preferably in v12.6?

Bruce_L
Posted : Wednesday, January 30, 2019 10:53:44 AM


Worden Trainer

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

I am pretty confidient you can do this with two colors. It is almost impossible for an exponential moving average to not change because this would only happen when the current price is exactly equal to the previous value of the exponential moving average.

The Formula setting for a Custom PCF Indicator set to the Dots Plot Style in the same pane and scale as price for the EMA going up would be:

XAVGC17 / ABS(C > XAVGC17)

The Formula for going down would be:

XAVGC17 / ABS(C < XAVGC17)

And Formula for staying the same would be:

XAVGC17 / ABS(C = XAVGC17)

Each color of dot will need its own Custom PCF Indicator

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


-Bruce
Personal Criteria Formulas
TC2000 Support Articles
esc
Posted : Wednesday, January 30, 2019 11:35:44 AM
Gold Customer Gold Customer

Joined: 3/11/2013
Posts: 24

Thanks Bruce...you da man!

Bruce_L
Posted : Wednesday, January 30, 2019 11:50:48 AM


Worden Trainer

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

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.