Page 1 of 4

### Triangle and Wedges Patterns recognition

Posted: Mon Aug 02, 2010 12:10 pm

Triangles often form as uncertainty fills the market, and traders are unsure in which direction is market moving.
Triangle are continuation patterns, represent lines of supply and demand.
But modern technical analysis is not limited by this narrow description.
There are three different types of triangles, Ascending triangle, the Descending triangle and the Symmetrical triangle.
Because of their similarities, we can add them, and growing or declining Wedge pattern.

If confirmed, the main application of the triangle pattern is to give price targets.
The direction the trend is determined by the direction of breakout.

An example of entry signals and exit target obtained using this this method.
Time frame a few weeks, max. profit over 1000 pips.

There are some basic validation rules.
1.The pattern upper and lower sloping trendlines must have at least two points of confirmation.
2. Volume usually decreases as the pattern progresses and increases at the point of breakout, forming wide spread candle.
3. Market (Closing price) "must" respect the pattern.
4.Closing price above the trendline in a bullish pattern and below the trendline in bearish chart pattern.
5.Strong pattern breake through the trend line in the first 2 / 3 of pattern.

Triangle.lua

This is an indicator that we've written a few months ago,
one of the first indicators that I have help to write, One of the most valuable.
I did almost forget and lost It.

### Re: Triangle and Wedges Patterns recognition

Posted: Wed Jan 12, 2011 10:41 am
Hi! Thanks a lot! Maybe this is what I've been looking for for a long time...
Now that I'vetasted blood, I have some short questions:
Can you explain the parameters "Max. Base/ Side Ratio" and "Max. Side / Side Ratio" and the "Frame Size"?
Is it possible to play a configurable Soundfile, when a triangle is drawn?
Is it possible to draw the price target in a way you did it in your sample chart?
Is ist possible to play the sound only if a certain condition is met - for example RSI is in a Range between 35 and 65?

I would be very thankful for an answer. Perhaps you can give me some sample lines of code, if you haven't the time to work on some of my audacious requests - I'm a programmer and could try it on my own like a script kiddy...

Again, thanks a lot!

schnuggelbugge

### Re: Triangle and Wedges Patterns recognition

Posted: Wed Jan 12, 2011 2:27 pm
First, this is one of the first things I wrote, helped write.

You can try of course.

Code is available here just opened it using any text editor.

The parameters are used in the comparison of triangles.

Base - Open, Or No Line Triangle Side
Side - Triangle Side indicated by Triange line, lines.

Frame Size -Length of time in which we seek triangle pattern.

### Re: Triangle and Wedges Patterns recognition

Posted: Mon Jan 17, 2011 12:39 pm
Triangle.lua

I presented an additional option, Lookback Search lengt,
which defines the Triangle searching area starting from last candle.
In order to improve performance.

### Re: Triangle and Wedges Patterns recognition

Posted: Mon Jan 17, 2011 4:44 pm
You mentioned..."If confirmed, the main application of the triangle pattern is to give price targets.
The direction the trend is determined by the direction of breakout
." but I don't see it on the chart. I see the triangles, wedges and etc but price targets?

### Re: Triangle and Wedges Patterns recognition

Posted: Mon Jan 17, 2011 5:41 pm
This is normal and expected.
In this version, the indicator does not give price targets.

Price target example I have added only as an example.

### Re: Triangle and Wedges Patterns recognition

Posted: Wed Jan 26, 2011 4:27 pm
Is there a strategy for this? I think it would be a good development idea. The trade could be placed on a retest of the triangle in the appropriate direction?

### Re: Triangle and Wedges Patterns recognition

Posted: Sun Dec 04, 2011 9:31 pm
hi apprendice,

can you create strategy based on this indicator.

### Re: Triangle and Wedges Patterns recognition

Posted: Tue Dec 06, 2011 3:17 am
Such a thing is possible.

### Re: Triangle and Wedges Patterns recognition

Posted: Sun Mar 17, 2013 10:33 am
Does this in fact identify wedges also? That would be very desirable behavior. In fact, if you could also add channels while you are at it it would deal with all three circumstances: paralle, converging,l diverging. Thanks alot!