Registered User Joined: 3/5/2005 Posts: 30
|
How can I change the candle colors to red (solid) for C>O and Green (solid) for O>C? Also, in a MA PCF, how do I limit the scan to the past 3 days for a cross - eg. 10 EMA above 20 EMA? Thanks.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The candlesticks in TeleChart combine color and body type to provide both Close versus Open and Close versus yesterday's Close information in the same candle (if Plot down days in a different color is selected).
C > O Hollow
C < O Solid
C > C1 Green
C <= C1 Red
While you can change the colors, I do not know of a way to alter the actual functionality in TeleChart.
Blocks does have the ability to have all Solid Candles (although implementing this can be somewhat complex). My Wednesday, August 08, 2007 11:05:12 AM ET post in Colored Candles (with different time frames) has an example.
Please try the following Personal Criteria Formula to detect the 10-Period Exponential Moving Average crossing up through the 20-Period Exponential Moving Average between yesterday and today:
XAVGC10 > XAVGC20 AND XAVGC10.1 <= XAVGC20.1
If you specifically want to check for a crossup within the last 3-Days instead (where it stays up), you may wish to try the following instead:
XAVGC10 > XAVGC20 AND (XAVGC10.1 <= XAVGC20.1 OR XAVGC10.2 <= XAVGC20.2 OR XAVGC10.3 <= XAVGC20.3)
You may wish to review the following (especially the first topic):
Things to check if your moving averages don't "seem right" or "seem to match"
Moving Average PCF Templates
How to create a Personal Criteria Forumula (PCF)
Handy PCF example formulas to help you learn the syntax of PCFs!
PCF Formula Descriptions
-Bruce Personal Criteria Formulas TC2000 Support Articles
|