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 |

Scan for an inside bar on all time frames Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
jklmttrader
Posted : Saturday, October 21, 2017 9:55:39 AM
Gold Customer Gold Customer

Joined: 5/16/2014
Posts: 57

My definition of an inside bar is when the current bar's high and low completely within or eqaual to the previous bars high and lows. 

 

My formaulas for an inside bar:

Equal to and/or less than highs and lows 

1. L1 =< and H1 => H

or

Less than both high and lows

2. L1 < L and H1 > H

When  use  condition No. 1 in PCF% true indicator on a chart,  sometimes it works and other times it doesn't.  Is there another  formula for an inside bar where the price is less than and/or eqaul to teh high and lows?? 

Formula No.2, won't scan if the condition is equal to the high and low.

 

Jk

 

 

 

StockGuy
Posted : Saturday, October 21, 2017 11:26:11 AM

Administration

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

You're missing L in formula number one.

L1 <= L and H1 >= H

jklmttrader
Posted : Sunday, October 22, 2017 12:03:31 PM
Gold Customer Gold Customer

Joined: 5/16/2014
Posts: 57

that's just a typo in that passage. 

 

Go to TSLA (10/20)on the 5min chart at the 10:20 closes it's negative hit while it should be postive

Bruce_L
Posted : Monday, October 23, 2017 9:25:47 AM


Worden Trainer

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

I can force it to return true by essentially rounding off the values to two digits past the decimal.

(100 * L1) \ 1 <= (100 * L) \ 1 AND (100 * H) \ 1 <= (100 * H1) \ 1



-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.