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

Profile: Bruce_L
About
User Name: Bruce_L
Groups: Gold User, Platinum User, TeleChart, Worden Staff, Worden Training Agent
Rank: Worden Trainer
Real Name:
Location
Occupation:
Interests:
Gender: Unsure
Statistics
Joined: Thursday, October 07, 2004
Last Visit: Wednesday, March 01, 2017 3:09:11 PM
Number of Posts: 58,250
[20.94% of all post / 12.86 posts per day]
Avatar
Last 10 Posts
Topic: PCF
Posted: Wednesday, March 01, 2017 2:59:05 PM

If you actually mean a doji:

STOC1 <= 45 AND O = C AND H > L

If you just mean the open is also in the bottom 45% of the candle.

STOC1 <= 45 AND 100 * O <= 55 * L + 45 * H AND H > L

And the reverse:

If you actually mean a doji:

STOC1 >= 55 AND O = C AND H > L

If you just mean the open is also in the top 45% of the candle.

STOC1 >= 55 AND 100 * O >= 45 * L + 55 * H AND H > L



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Topic: Can new coding capabilities solve this problem?
Posted: Wednesday, March 01, 2017 2:38:21 PM

I guess I do not understand what you are trying to do and will need further clarifaction from you as to your actual intent. I don&#39;t know what you mean by "in the EasyScan".

The formula does in fact draw a row of dots on the chart which includes February 27, 2017, February 28, 2017 and March 1, 2017 at a value of 23.75 on a daily chart of CBPX when it is used as the Formula in a Custom PCF Indicator in the same pane and scale as price and with the Plot Style set to Dots.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Topic: The bar after the signal bar
Posted: Wednesday, March 01, 2017 2:33:55 PM

Combine both conditions into a combo condition (or a sequence condition - both would work for this) by dragging one of the conditions onto the other condition..

Add condition B to the combo condition as normal (Is True), but set condition A to (1 to 1 Bars Ago). Clicking on the ... to the right of the condition name in the combo condition will allow you to edit the required settings.

Creating Conditions (9:39)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Topic: PCF
Posted: Wednesday, March 01, 2017 2:25:26 PM

Probably, but the open of the bar to be the same as what? The high, the low, the close, some value from a previous bar?



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Topic: PCF
Posted: Wednesday, March 01, 2017 2:18:20 PM

You&#39;re welcome.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Topic: Can new coding capabilities solve this problem?
Posted: Wednesday, March 01, 2017 1:48:52 PM

So do you want to draw the support line? Or are you interested in drawing the value of the close of the last bar where the support line condition was true? Or something else entirely?

Using the following as the Formula in a Custom PCF Indicator with the Plot Style set to Dots plotted in the same pane and scale as price would plot dots at what I think is the most recent support value based on your description for 10 bars in TC2000 v17.

IIF(O1 > C1 AND O < C AND C1 = O, O, IIF(O2 > C2 AND O1 < C1 AND C2 = O1, O1, IIF(O3 > C3 AND O2 < C2 AND C3 = O2, O2, IIF(O4 > C4 AND O3 < C3 AND C4 = O3, O3, IIF(O5 > C5 AND O4 < C4 AND C5 = O4, O4, IIF(O6 > C6 AND O5 < C5 AND C6 = O5, O5, IIF(O7 > C7 AND O6 < C6 AND C7 = O6, O6, IIF(O8 > C8 AND O7 < C7 AND C8 = O7, O7, IIF(O9 > C9 AND O8 < C8 AND C9 = O8, O8, IIF(O10 > C10 AND O9 < C9 AND C10 = O9, O9, 0)))))))))) / SGN(CountTrue(O1 > C1 AND O < C AND C1 = O, 10))



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Topic: PCF help
Posted: Wednesday, March 01, 2017 1:29:41 PM

You&#39;re welcome.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Topic: PCF
Posted: Wednesday, March 01, 2017 1:29:05 PM

It is a 1 period stochastic. It returns where price is relative to the high and low over the period with 100 being at the top, 50 being in the middle and 0 being at the bottom.

Because the period is 1, it is just looking at the current bar.

Inverting this would be:

STOC1 >= 45 AND H > L

The H > L is needed because STOC1 = 50 when H = L.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Topic: PCF
Posted: Wednesday, March 01, 2017 1:02:17 PM

You&#39;re welcome.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Topic: PCF help
Posted: Wednesday, March 01, 2017 12:56:10 PM

Add Donchian Channels to a 1&#39; chart.

Set the Period to 30.

Set the Offset to 0 if you want to include the current bar in the 30 period high and low.

Set the Offset to 1 if you want to exclude the current bar from the 30 period high and low.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles