Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 9/30/2011 Posts: 788
|
I would like to have a PCF Formla with the following parameter:
Listing = < 1.5% compared to yesterday's low.
Thank you and goodbye.
Raider45
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I am going to assume this means the current price is at least 1.5% below the low of the previous bar.
1000 * C <= 985 * L1
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 9/30/2011 Posts: 788
|
Congratulations, thank you !
Best regards !
|
|
Registered User Joined: 9/30/2011 Posts: 788
|
I would like to have a formula with the values (numbers) percentages between C and H.
Thank you and goodbye.
Raider45
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The percentage that price is below the high can be written as follows.
100 * ABS(C / H - 1)
The percentage that the high is above price can be written as follows.
100 * (H / C - 1)
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 9/30/2011 Posts: 788
|
The two formulas generate the signal based on the percentage, in reality I do not ask the signal, I ask the value of the percentage expressed in numbers and not as a signal (distance) between C and H current in real time.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
No, these formulas return numeric values as requested. They do not return a signal (true or false).
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 9/30/2011 Posts: 788
|
At this time the symbol BLPH shares 0.90 the maximum has been 0.96 = P% 6.66, the formulas do not return the numerical value !
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You said it was a signal before and wasn't returning a value. Now it is returning a value, but you just think the value is incorrect?
Well, it most certainly is the correct percentage expressed as a value when the basis of the percentage is the closing price.
The difference between your 0.90 current price and 0.96 high for the day is 0.06. As a percentage of the high, this is the following.
100 * .06 / .96 = 6.25%
But, as a percentage of the current price, this is the following (which is the number you say it returns).
100 * .06 / .90 = 6.66666666% (the sixes just keep on repeating forever).
While you may mean something else, this is what was requested and I am not sure what you would want otherwise.
Just the net difference without any percentages at all?
H - C
The difference as a percentage of the range of the candle instead of a percentage of price?
100 - STOC1
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 9/30/2011 Posts: 788
|
The last two last formulas generate signals on the titles, the objective and the return of the percentage as an example:
6.66
4.8
2.75
4.91
5.3
etc.
|
|
Registered User Joined: 9/30/2011 Posts: 788
|
After several attempts, this is the desired formula !
100 * (C / H - 1)
Thank you for your attention and cooperation.
Best regards
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |