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 |

Boolean Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Quiktdr
Posted : Friday, January 18, 2019 1:39:27 PM
Registered User
Joined: 10/7/2004
Posts: 794

I enter this as a Boolean but it keeps telling me it has to be a Boolean

 

{ATR} (((((H - L) * ((H - L) >= ABS((H - C1))))) + ((ABS((C1 - H)) * ( ABS((H - C1)) > (H - L))))) * (((((L - H) * ((H - L) >= ABS((H - C1))))) + (( - ABS((C1 - H)) * ( ABS((H - C1)) > (H - L))))) >= ABS((C1 - L)))) + (( - ABS(C1 - L)) * (ABS(C1 - L) > ((((L - H) * ((H - L) > ABS((H - C1))))) + (( - ABS((C1 - H)) * ( ABS((H - C1)) > (H - L)))))))

StockGuy
Posted : Friday, January 18, 2019 1:41:32 PM

Administration

Joined: 9/30/2004
Posts: 9,187

You need to pair the booleans with ANDs.

A > B and B > C

A > B > C is not valid.

Quiktdr
Posted : Friday, January 18, 2019 1:54:58 PM
Registered User
Joined: 10/7/2004
Posts: 794

Thisis the formula I received on forum for ATR. Is it incorrect?

StockGuy
Posted : Friday, January 18, 2019 1:57:53 PM

Administration

Joined: 9/30/2004
Posts: 9,187

Upon further inspection you're correct. Enter that formula into a Custom PCF Formula, not a Custom % True formula.

If you're using version 7, then click Add Indicator > Custom > Indicator.

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.