Price Case Expressions
2. Now draw all the variations on step 1. and do it in an organized manner
I made several messes doing Step 2
It was kinda pain to get organized
Finally on paint i did 5 by 5 as time saver
I feel so dumb at times.. not like planting corn

For those that use SierraChart, here is my code to determine price case.
Sierrachart uses the C++ programming language.
Hello Jack!
Code:#include "sierrachart.h" enum PricecaseEnum { PC_UNKNOWN = -0xBAD, PC_XB = 1, // Translation Black -$$$$- PC_XR = 2, // Translation Red -$$$$- // Outside bars PC_OUTB = 3, PC_OUTR = 4, PC_OUT_DOJI = 5, // Lateral Formations ALWAYS begin with // one of the following PriceCases... PC_HITCH = 10, PC_FTP = 11, // Flat Top Pennant PC_FBP = 12, // Flat Bottom Pennant PC_SYM = 13, // Symmetrical Pennant PC_STB = 14, // Stitch Black PC_STR = 15, // Stitch Red }; PricecaseEnum GetPriceCase(SCBaseDataRef InData, long index) { // Determine Pricecase of 2 adjacent price bars (index & index-1) // Lateral formations are NOT determined here as only // a ***possibility of the start*** of a lateral formation can // be determined using 2 bars. (see PricecaseEnum) // IsLateral and TrackLateral honor lateral user settings // and lateral specific vars, and handles monitoring at least a minimum // 3 bar lateral formation and ultimate end of lateral movement. float H0 = InData[SC_HIGH][index]; float H1 = InData[SC_HIGH][index - 1]; float L0 = InData[SC_LOW][index]; float L1 = InData[SC_LOW][index - 1]; if (H0 > H1 && L0 > L1) return PC_XB; else if (H0 < H1 && L0 < L1) return PC_XR; else if (H0 == H1 && L0 == L1) return PC_HITCH; else if (H0 == H1 && L0 > L1) return PC_FTP; else if (H0 == H1 && L0 < L1) return PC_STR; else if (L0 == L1 && H0 < H1) return PC_FBP; else if (L0 == L1 && H0 > H1) return PC_STB; else if (L0 > L1 && H0 < H1) return PC_SYM; else if (L0 < L1 && H0 > H1) // Outside Black or Red or if (InData[SC_LAST][index] > InData[SC_OPEN][index]) return PC_OUTB; else if (InData[SC_LAST][index] < InData[SC_OPEN][index]) return PC_OUTR; else return PC_OUT_DOJI; else return PC_UNKNOWN; }
Okay, I added the lateral to the chart and did my best with the algebraic expressions. I was not sure exactly how to express the lateral. I know there are more intricacies one a lateral is established--like the low of bar.0 can be lower as long as it closes inside the lateral. Is that to be included in the expression as well?
I drew the "bounds" of a lateral. I also just went ahead and labeled the price cases.
Who is A. Lo of MIT? Is there something I should read for clarification?
Thanks for reply,
I've tried "always in methods" in the past intra day with market orders and just get chopped to death essentially giving whoever was on the other side using limits a good trade and my broker comish. I used a Darvas style method. buying at the breakout of the box, selling breakdowns of the box. Now I essentially do the opposite with limits intraday and that works way better for me. Kind of like market making in a range.
Contrary, On larger timeframes where commission and spread aren't an issue (daily/weekly charts) the darvas box breakouts work for me . (rectangles) as well as the other "CW " patterns I mentioned.
So are you the guy using limits intraday or market orders?
Are you recommending the beginner here use limits or market orders for this method you are teaching?
3. in some manner determine how many unilateral parts a bar may be broken into.
Here are the 3 kinds i found
am a little messy but it is three kinds i know now