Go Back   Traders Laboratory > Trading Resources > Trading Indicators > Coding Forum

Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Bookmarks
del.icio.us StumbleUpon Google Digg Facebook Furl Reddit Netscape

 
LinkBack Thread Tools Display Modes Language
  #1 (permalink)  
Old 03-01-2008, 03:08 PM
9146894me 9146894me is offline
Registered Trader

Trader Specs
 
Join Date: Jan 2008
Location: Orange County California
Posts: 6
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 Images
File Type: jpg doubletopreversalbars.jpg (46.6 KB, 20 views)
File Type: jpg reversalbarshort.jpg (38.0 KB, 18 views)
File Type: jpg reversalbarlong.jpg (35.7 KB, 11 views)
File Type: jpg doublrbottomreversalbars.jpg (46.1 KB, 10 views)

Reply With Quote
  #2 (permalink)  
Old 03-01-2008, 09:27 PM
thrunner thrunner is offline
Registered Trader

 
Join Date: Feb 2007
Posts: 152
Thanks: 49
Thanked 34 Times in 17 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).

Reply With Quote
  #3 (permalink)  
Old 03-01-2008, 10:28 PM
9146894me 9146894me is offline
Registered Trader

Trader Specs
 
Join Date: Jan 2008
Location: Orange County California
Posts: 6
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 Images
File Type: jpg double bottom reversal bar long big.jpg (88.3 KB, 19 views)
File Type: jpg double top reversal bar short big.jpg (76.6 KB, 13 views)
File Type: jpg reversal bar short.jpg (66.6 KB, 10 views)
File Type: jpg reversal bar long.jpg (77.1 KB, 8 views)

Reply With Quote
  #4 (permalink)  
Old 03-02-2008, 02:44 AM
thrunner thrunner is offline
Registered Trader

 
Join Date: Feb 2007
Posts: 152
Thanks: 49
Thanked 34 Times in 17 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

{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, 18 views)
File Type: eld 20061205194606SURI.CANDLEREADER.ELD (14.3 KB, 18 views)

Reply With Quote
  #5 (permalink)  
Old 03-02-2008, 11:47 AM
9146894me 9146894me is offline
Registered Trader

Trader Specs
 
Join Date: Jan 2008
Location: Orange County California
Posts: 6
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.

Reply With Quote
  #6 (permalink)  
Old 03-02-2008, 12:26 PM
9146894me 9146894me is offline
Registered Trader

Trader Specs
 
Join Date: Jan 2008
Location: Orange County California
Posts: 6
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!

Reply With Quote
  #7 (permalink)  
Old 03-02-2008, 02:00 PM
9146894me 9146894me is offline
Registered Trader

Trader Specs
 
Join Date: Jan 2008
Location: Orange County California
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Help with Simple Show Me

I attached another picture Suri with my markup comments.
Attached Images
File Type: jpg ABC with reversal bar long example.jpg (16.0 KB, 16 views)

Reply With Quote
  #8 (permalink)  
Old 03-02-2008, 09:37 PM
thrunner thrunner is offline
Registered Trader

 
Join Date: Feb 2007
Posts: 152
Thanks: 49
Thanked 34 Times in 17 Posts
Re: Help with Simple Show Me

Quote:
View Post
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.

Reply With Quote
Reply

Tags
showme study



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
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
K.I.S.S. Keep It Simple Stupid! Soultrader Trading Articles 32 02-23-2007 12:44 PM
Simple = Smart?? pierre General Discussion 7 10-29-2006 11:25 AM


All times are GMT -4. The time now is 01:20 PM.

 


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58