Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Request PCF Formula Percentage Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
raider45
Posted : Friday, August 10, 2018 7:21:03 AM
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
Bruce_L
Posted : Friday, August 10, 2018 9:04:54 AM


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
raider45
Posted : Friday, August 10, 2018 9:19:49 AM
Registered User
Joined: 9/30/2011
Posts: 788
Congratulations, thank you !
 
Best regards !
raider45
Posted : Sunday, August 19, 2018 5:00:50 AM
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
Bruce_L
Posted : Monday, August 20, 2018 10:58:00 AM


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
raider45
Posted : Monday, August 20, 2018 11:12:42 AM
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.

Bruce_L
Posted : Monday, August 20, 2018 11:32:31 AM


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
raider45
Posted : Monday, August 20, 2018 11:45:47 AM
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 !

Bruce_L
Posted : Monday, August 20, 2018 12:01:35 PM


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
raider45
Posted : Monday, August 20, 2018 12:22:29 PM
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.
raider45
Posted : Monday, August 20, 2018 1:46:24 PM
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
Bruce_L
Posted : Monday, August 20, 2018 1:55:35 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

You're welcome.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.