Welcome to the Traders Laboratory Forums.
Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Old 03-01-2008, 03:08 PM   #1

Join Date: Jan 2008
Location: Amarillo
Posts: 24
Ignore this user

Thanks: 0
Thanked 0 Times in 0 Posts

Help with Simple Show Me

I dont understand easy language enough. Any help with these show me's would be appreciated. Rules are described for plot.
Attached Thumbnails
Help with Simple Show Me-doubletopreversalbars.jpg   Help with Simple Show Me-reversalbarshort.jpg   Help with Simple Show Me-reversalbarlong.jpg   Help with Simple Show Me-doublrbottomreversalbars.jpg  
9146894me is offline  
Reply With Quote
Old 03-01-2008, 09:27 PM   #2

Join Date: Feb 2007
Location: US
Posts: 314
Ignore this user

Thanks: 86
Thanked 206 Times in 89 Posts

Re: Help with Simple Show Me

I suggest you take a look at the code for Head & Shoulders ShowMe within TS for example of how to find these patterns. These are not simple one, two or three bar patterns (for example, looking for a doji, which is basically Open=Close for the current bar) and it requires looking at pivots or swing bars over many bars (could be dozens of bars). The code for H&S is about 200 lines. In addition, no two independent implementation of these indicators will look exactly the same because there are too many variables involved.
Even if you don't do Easylanguage, you could start by drawing a few bars of what the rules entailed in the pictures you posted and see if you could have defined them mathmatically (e.g., H[4] < H[3] AND H[3] = H[1] AND C[3] <> H[3] AND C[1] <> H[1] AND C[0] < L[1] in the simplest 5 bar permutation for the Double top reversal bar pattern).
thrunner is offline  
Reply With Quote
Old 03-01-2008, 10:28 PM   #3

Join Date: Jan 2008
Location: Amarillo
Posts: 24
Ignore this user

Thanks: 0
Thanked 0 Times in 0 Posts

Re: Help with Simple Show Me

Thank You I will try to define in more detail and I will look further.
9146894me
Attached Thumbnails
Help with Simple Show Me-double-bottom-reversal-bar-long-big.jpg   Help with Simple Show Me-double-top-reversal-bar-short-big.jpg   Help with Simple Show Me-reversal-bar-short.jpg   Help with Simple Show Me-reversal-bar-long.jpg  
9146894me is offline  
Reply With Quote
Old 03-02-2008, 02:44 AM   #4

Join Date: Feb 2007
Location: US
Posts: 314
Ignore this user

Thanks: 86
Thanked 206 Times in 89 Posts

Re: Help with Simple Show Me

Now I see a sample chart of the bars in question I can see why you say they are simple. In real life, you won't find too many adjacent bar double top or double bottoms like that (I don't think the sample chart is even an actual chart). If you just want to program such a pattern, the logic provided above (or similar logic) will let you program such pattern matching in EL, but you are unlikely to find many matches. There are a lot more practical three bar group patterns you can explore, for example the ones mention in Suri's book

Code:
{Suri TBG1; Go Long above H[3]}

if H[3] > H[2] and C[2] < C[1] and L[1] > L[2] and H[1] > H[2] and C > H[3] then
	TB1Long = true
		else
	TB1Long = false ;


{Suri TBG2; Go Long above H[2]}

if H[3] > H[2] and C[2] < C[1] and L[2] < L[3] and O[1] < C[2] and C[1] > C[2] and 
	L[1] < L[2] and C > H[2] then
		TB2Long = true
	else
		TB2Long = false ;


{Suri TBG3; Go Long above H[1]}

if H[3] > H[2] and C[2] < C[3] and O[1] > C[2] and H[1] > H[3] and
	C > H[1] then
	TB3Long = true
		else
	TB3Long = false ;


{Suri TBG4; Go Long above H[3]}

if H[3] > H[2] and H[2] > H[1] and L[3] < L[2] and L[2] < L[1] and C > H[3] then
	TB4Long = true
		else
	TB4Long = false ;


{Suri TBG4; Go Short below L[3]}

if L[3] < L[2] and L[2] < L[1] and H[3] > H[2] and H[2] > H[1] and C < L[3] then

	TB4Short = true
		else
	TB4Short = false ;
The first ELD ...SURIBARS below is not an actual indicator, just the functions for matching the three bar groups pattern. The second ELD, ...SURI.CANDLEREADER is an indicator, capable of matching several candle stick patterns, written by Suri. You should be able to use that as an example to explore more simple patterns.
Attached Files
File Type: eld 20070716084205SURIBARS 1.ELD (6.5 KB, 56 views)
File Type: eld 20061205194606SURI.CANDLEREADER.ELD (14.3 KB, 56 views)
thrunner is offline  
Reply With Quote
The Following User Says Thank You to thrunner For This Useful Post:
Tams (05-25-2010)
Old 03-02-2008, 11:47 AM   #5

Join Date: Jan 2008
Location: Amarillo
Posts: 24
Ignore this user

Thanks: 0
Thanked 0 Times in 0 Posts

Re: Help with Simple Show Me

Again Thank You, I hope others will benifit from the code also. I will soon contribute some code and Ideas I came across. Ultimatly what i am looking for is:
Find a confirmed major pivot P1
Confirm a P2 pivot
Get a P3 pivot that dosent exceed the P1 pivot and enter on the reversal bar types above. But rather than just seeing them on the chart I thought getting a plot after the conditions above have occured would be a excellent entry. (providing the trend is in your direction and others). But overall finding major reversals in the market and trading with them would be a low risk place to enter trend changes.
9146894me is offline  
Reply With Quote
Old 03-02-2008, 12:26 PM   #6

Join Date: Jan 2008
Location: Amarillo
Posts: 24
Ignore this user

Thanks: 0
Thanked 0 Times in 0 Posts

Re: Help with Simple Show Me

http://www.surinotes.com/tradestatio...adingABCs.html

Suri seems to have an auto ABC with Fib projections for the C pivot. This is very similar to what I am looking for. Is this indicator available? Is the code in his book?
Thanks to all!
9146894me is offline  
Reply With Quote
Old 03-02-2008, 02:00 PM   #7

Join Date: Jan 2008
Location: Amarillo
Posts: 24
Ignore this user

Thanks: 0
Thanked 0 Times in 0 Posts

Re: Help with Simple Show Me

I attached another picture Suri with my markup comments.
Attached Thumbnails
Help with Simple Show Me-abc-reversal-bar-long-example.jpg  
9146894me is offline  
Reply With Quote
Old 03-02-2008, 09:37 PM   #8

Join Date: Feb 2007
Location: US
Posts: 314
Ignore this user

Thanks: 86
Thanked 206 Times in 89 Posts

Re: Help with Simple Show Me

Quote:
Originally Posted by 9146894me »
http://www.surinotes.com/tradestatio...adingABCs.html
Suri seems to have an auto ABC with Fib projections for the C pivot. This is very similar to what I am looking for. Is this indicator available? Is the code in his book? Thanks to all!
Not that I am aware of. Suri has begun to market quite of few of his indicators, although the prices are not explicitly listed on his website. The closest free indicator is the Suri ZigzagFib from the TS forum.
thrunner is offline  
Reply With Quote

Reply

Tags
showme study

Thread Tools
Display Modes Help Others By Rating This Thread
Help Others By Rating This Thread:


Similar Threads
Thread Thread Starter Forum Replies Last Post
K.I.S.S. Keep It Simple Stupid! Soultrader Trading Articles 36 04-27-2009 11:20 PM
Simple fib Strategy feb2865 Technical Analysis 1 09-19-2007 06:59 PM
Simple Paintbar Request MrPaul Coding Forum 4 06-20-2007 08:10 PM
Show us your roots! Nick1984 General Discussion 13 06-18-2007 11:41 PM
Simple = Smart?? pierre General Discussion 7 10-29-2006 11:25 AM

All times are GMT -4. The time now is 09:27 AM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.