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 |

Line chart Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
mickle
Posted : Monday, August 4, 2014 4:28:03 PM
Registered User
Joined: 4/18/2012
Posts: 65

In a chart, plot syle: line,  color based on: net change, time frame: one hour.  Can I write a condition to make sure the current line section is red or green?

Bruce_L
Posted : Monday, August 4, 2014 4:46:15 PM


Worden Trainer

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

You can just click on the chart and select Create Scan Condition to create the condition.

Create Conditions from Your Chart (5:25)

Select Moving Down Net with the Period set to 1 and Net Change < set to 0 to check for a red segment or Moving Up Net with the Period set to 1 and the Net Change > set to 0 to check for a green segment.

Note that the segment will be green when the net change is zero as well. So a Condition Formula to check for red would be:

C < C1

And a Condition Formula to check for green would be:

C >= C1

PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!



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