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 Hanging Man Pattern Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
raider45
Posted : Thursday, July 27, 2017 2:54:32 PM
Registered User
Joined: 9/30/2011
Posts: 788
I would like to have a PCF Formula Hanging Man Pattern.
 
Formula reference:
 
https://backtestwizard.com/amibroker-afl-hanging-man-pattern/
 
Thank you and goodbye.
Raider45
Bruce_L
Posted : Thursday, July 27, 2017 3:28:03 PM


Worden Trainer

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

Please try the following condition formula.

H - GREATEST(O, C) < (H - L) / 10 AND LEAST(O, C) - L > ABS(O - C) * 2 AND H1 > MAXH5.2



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
raider45
Posted : Friday, July 28, 2017 4:13:13 AM
Registered User
Joined: 9/30/2011
Posts: 788

Does the tool generate up and down signals, would it be possible to modify it for only to generate down signals?

Bruce_L
Posted : Friday, July 28, 2017 9:38:08 AM


Worden Trainer

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

The formula only generates signals where the body is in the top half the candle and the previous bar was a new high. I don't know if you would see if this a generating an up or a down signal, but it doesn't seem like it would be both (it seems to me like it would be one or the other).

It exactly replicates the formula given on the referenced webpage.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
raider45
Posted : Friday, July 28, 2017 10:43:00 AM
Registered User
Joined: 9/30/2011
Posts: 788

Regardless of the reference formula, the goal is to generate only Bearish signals !

Bruce_L
Posted : Friday, July 28, 2017 10:59:56 AM


Worden Trainer

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

I don't know if you consider the signals generated bearish or bullish. Interpretation is something I actually can't get into.

If however you want the formula reversed, it could be written as follows (but wouldn't be a hanging man anymore).

LEAST(O, C) - L < (H - L) / 10 AND H - GREATEST(O, C)  > ABS(O - C) * 2 AND L1 < MINL5.2



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
raider45
Posted : Friday, July 28, 2017 11:26:55 AM
Registered User
Joined: 9/30/2011
Posts: 788
OK, thanks !
 
Bruce_L
Posted : Friday, July 28, 2017 11:46:58 AM


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.