Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 7/17/2013 Posts: 7
|
Dear Bruce,
1) I need your help to create formula scan for the following condition:
Geen day that has volume greater than previous and its open = its low or higher by 1%.
2) Does TC2000 have the ability to do historical back testing for the same condition above. If yes, would
you please help me and direct me to how to do so.
Thanks in advance ...
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I'm not quite sure what you mean by a green day.
It could mean price is greater than the close of the previous bar, close is greater than open or close is greater than or equal to the close of the previous bar depending in if you are using price with color based on net change, price with color based on open vs close or volume for the color.
The current volume being greater than the volume of the previous bar with the open equalling its low could be written as:
V > V1 AND O = L
But I'm not sure what the higher by 1% is based on (such as the open or maybe the entire range of the candle), or if it must be less than 1% or greater than 1%.
TC2000 does not really have any built in backtesting features, but you can plot Condition Formulas on the chart using the Custom PCF % True Indicator.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 7/17/2013 Posts: 7
|
First of all thanks a lot for your swift reply.
1) What i mean by green day is the close price is greater than close price of the previous bar. And for the 1% difrrence, I mean the open price as value is 1% greater than or equal the lowest price as value in the same day.
Ex.-1:
O= 10
H= 15
L=9.9
C=14
In this case we can say the price droped from the open price to -1% so the condition is TRUE.
Ex.-2:
O= 10
H= 15
L=9.8
C=14
In this case we can say the price droped from the open price to -2% so the condition is FALSE as it droped more than -1% from the day open price.
So what i am looking for here is day the lowest price not to recha more than -1%.
2) Kindly i need you to direct me on how to plot Condition Formulas on the chart using the Custom PCF % True Indicator.
I appreciate your usual cooperation.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Please try the following Condition Formula:
C > C1 AND L >= .99 * O
You can select Add Plot to Chart (the green + in the upper left of the chart) and then choose Custmo PCF % True Indicator from the list to add it to the chart.
You can start typing Custom PCF % True Indicator in the Search box after selecting Add Plot to Chart to quickly bring it to the top of the list to make it easier to find and select.
You can then click on the name of the Custom PCF % True Indicator on the chart to edit it. You would use the Condition Formula given above as the Boolean Formula in the Custom PCF % True Indicator to plot it on the chart.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 7/17/2013 Posts: 7
|
Thanks a lot sir ....
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |