I am building a scanner to scan for 4 bar inside pattern, (Bull Flag or Bear Flag)
Meaning One upbar or down bar, than Inside bars, inside the up move or down move candle
The inside bars must be 50 or less percent of the up move or down move
Also the setup, to be above moving avg for Bull flag setup and below for Bear Flag setup
http://postimage.org/image/d3agvvir7/
http://postimage.org/image/crtxlv07v/
http://postimage.org/image/q463q788x/
Example of what I have so far.
Bull Flag
((AvgC20 > AvgC50) AND ((H1<H4) AND (L1>L4) AND (H2<H4) AND (L2>L4) AND (H3<H4) AND (L3>L4)) AND (AvgL3>(.50*(H4-L4))+L4))
Bear Flag
((AvgC20 < AvgC50) AND ((H1<H4) AND (L1>L4) AND (H2<H4) AND (L2>L4) AND (H3<H4) AND (L3>L4)) AND (AvgH3<(.50*(H4-L4))+L4))
I wanted to know if I have it written correctly, I am new. I have got a few good signals but get too many signals sometimes that don't look what I am looking for
Any help will be appriciate it!
|
Bruce, Thank You. Will try these out today
|
Actually I found this better:
100 * ABS(C / AVGC200 - 1) <= 01 (01= .01%) is there a way to make it cent value instead of %?
|
I have found this: ABS(C / H - 1) <=.10
Is there a way to set the condition to a cent increment instead of percentage. look slike percentage ends up being to much
|
Does anyone know a script to use as indicator on the Watchlist for "Approaching 10min 200 SMA"
I know the formula for the daily 200 Day MA, How would I change this for 10 min and that the indicator would tell me when its aprroching?
[(Day 1 + Day 2 + Day 3 + ... + Day 199 + Day 200)/200].
|
Does anyone know a script to use as indicator on the Watchlist for "Approaching 10min 200 SMA"
I know the formula for the daily 200 Day MA, How would I change this for 10 min and that the indicator would tell me when its aprroching?
[(Day 1 + Day 2 + Day 3 + ... + Day 199 + Day 200)/200].
|