Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 11/9/2009 Posts: 36
|
Hi,
Can someone help me with a scan to look for green candles in different time frames and a scan to find closing price of a candle 40% from the low on different time frames.
Thanks,
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Thank you for writing. If Color Based On is set to Open vs Close, then a Condition Formula for a green candle can be written as follows.
C >= O
And a Condition Formula for a red candle can be written as:
C < O
If Color Based On is set to Net Change, thena Condition Formula for a green candle can be written as follows.
C >= C1
And a Condition Formula for a red candle can be written as follows.
C < C1
Note that you can set the time frame of the Condition Formula when it is created or edited. You can also change the time frame from this default when using a Condition Formula as a WatchList Column or EasyScan Condition by edit the WatchList Column or EasyScan Condition.
If a closing price being 40% from the low means exactly 40% of the candle from the low:
STOC1 = 40
If it means at or above this value:
STOC1 >= 40 AND H > L
If it means at or below this value.
STOC1 <= 40
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 11/9/2009 Posts: 36
|
Hi Bruce,
Regarding this formula C >= O, is it possible it can add a condition that the previous candle has to be red?
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Yes, please try the following Condition Formula.
C >= O AND C1 < O1
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 11/9/2009 Posts: 36
|
How about the last condition but for a green candle, i keep getting errors
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Are you getting an error message or it just not returning the kind of pattern you want?
If you are getting an error message, what is it?
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 11/9/2009 Posts: 36
|
Syntax error, I just re arranged the formula.
C < O AND C1>= C1
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I don't know why that would generate a syntax error (but I think you want the last part to O1 instead of C1).
C < O AND C1 >= O1
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |