Welcome to the Traders Laboratory Forums.
Trading Indicators Post your custom trading indicators. If you download, remember to click INSTALL.

Reply
Candle pattern Details »»
Candle pattern
Platform: EasyLanguage, by Tams Tams is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

Platform: MultiCharts Rating: (1 votes - 5.00 average)
Released: 04-12-2009 Last Update: Never Installs: 8
 
No support by the author.

CANDLE PATTERN CODE
CONVERTED TO EASYLANGUAGE
by STRATOPT, INC 2008

modified by TAMS
date: 20090201 prints pattern name on bottom of chart
date: 20090211 added option to print log
date: 20090220 added commentary
date: 20090412 added option NOT to print pattern name,
(ie. show pattern name only when you click on the bar)

MC version can adjust text size
(MC = MultiCharts)

note:
1. if you don't believe in seeing the candle names, please move on.
2. this indicator has been tested in MultiCharts. If you don't know how to import it into tradestation, please spend 5min with your user's guide.





Download Now

File Type: txt CANDLE_PATTERN_20090412.txt (11.4 KB, 159 views)
File Type: txt CANDLE_PATTERN_20090412_MC_version.txt (11.4 KB, 134 views)

Screenshots

Candle pattern-candles.gif   Candle pattern-format.gif  

Show Your Support

  • If you like to thanks you by the author -> Click Thanks to the Author
  • This modification may not be copied, reproduced or published elsewhere without the author's permission.
The Following 8 Users Say Thank You to Tams For This Useful Post:
aaa (04-13-2009), berrob (10-11-2010), braza81 (11-09-2010), daedalus (04-18-2009), indicator-master (04-30-2009), TIKITRADER (05-23-2010), Yasha (01-02-2012)

Comments
Old 04-13-2009, 04:42 AM   #2
aaa

aaa's Avatar

Join Date: Jun 2008
Location: Switzerland
Posts: 443
Ignore this user

Thanks: 240
Thanked 283 Times in 136 Posts

Re: Candle pattern

I like this educative indicator

This is a suggestion to have only one candle at a time

Code:
if ((C>O) AND((C-O)/(.001+H-L)>.6)) then 
Message = Message + " LongWhiteCandle"

else if (C>O) then 
Message = Message + " WhiteCandle" 	
	
else if ((C>O) AND ((H-L)>(3*(C-O)))) then 
Message = Message + " SmallWhiteCandle" ; 

if (O>C AND (O-C)/(.001+H-L)>.6) then 
Message = Message + " LongBlkCandle" 
  	
else if (O>C) then 
Message = Message + " BlkCandle"          

else if ((O>C) AND ((H-L)>(3*(O-C)))) then 
Message = Message + " SmallBlkCandle" ;
aaa is offline  
Reply With Quote
Old 04-13-2009, 11:44 AM   #3

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,779
Ignore this user

Thanks: 2,084
Thanked 1,477 Times in 912 Posts

Re: Candle pattern

Quote:
Originally Posted by aaa »
I like this educative indicator
This is a suggestion to have only one candle at a time
The candle name logic was designed by an unknown author.
I have reviewed various codes floating around the internet, I think some of this code can be attributed to Surinote.

My contribution is limited to making the candle names visible on the chart.

I believe the multi-label is due to a candle having multiple attributes.
As in any indicator, one really need to understand the context to make it meaningful.

Last edited by Tams; 04-13-2009 at 12:11 PM.
Tams is offline  
Reply With Quote
Old 04-18-2009, 11:53 AM   #4
aaa

aaa's Avatar

Join Date: Jun 2008
Location: Switzerland
Posts: 443
Ignore this user

Thanks: 240
Thanked 283 Times in 136 Posts

Re: Candle pattern

Like for the Black/white candles to take less space on the screen and avoids duplication

This is an other suggestion to choose only one gap

It
Code:
// Gaps
if GapUp AND GapUp[1] then 
Message = Message + "DoubleGapUp"
else if L > 1.02 * H1 then 
Message = Message + "HugeGapUp"  
else if L > 1.01 * H1 then 
Message = Message + "BigGapUp"    
else if GapUp then 
Message = Message + "GapUp" ;    

if GapDn AND GapDn[ 1] then 
Message = Message + "DoubleGapDown"  
else if H < 0.98 * L1 then 
Message = Message + "HugeGapDown"  
else if H < 0.99 * L1 then 
Message = Message + "BigGapDown"   
else if GapDn then 
Message = Message + "GapDown" ;
aaa is offline  
Reply With Quote
The Following User Says Thank You to aaa For This Useful Post:
Tams (04-18-2009)
Old 04-18-2009, 02:18 PM   #5
aaa

aaa's Avatar

Join Date: Jun 2008
Location: Switzerland
Posts: 443
Ignore this user

Thanks: 240
Thanked 283 Times in 136 Posts

Re: Candle pattern

Tams, could you help me to adapt my suggestion to your "plot" version ?

If condition1 true then
condition1
else if Condition2 true then
condition2
ect..

I have problems with

If * then
begin
*
*
end
else
noplot
aaa is offline  
Reply With Quote
Old 04-18-2009, 02:25 PM   #6

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,779
Ignore this user

Thanks: 2,084
Thanked 1,477 Times in 912 Posts

Re: Candle pattern

Quote:
Originally Posted by aaa »
Tams, could you help me to adapt my suggestion to your "plot" version ?

If condition1 true then
condition1
else if Condition2 true then
condition2
ect..

I have problems with

If * then
begin
*
*
end
else
noplot

I think it will require some major re-engineering work.

I am busy in the next few weeks... let me see if I can schedule it sometime in May.

Last edited by Tams; 04-18-2009 at 03:10 PM.
Tams is offline  
Reply With Quote
The Following User Says Thank You to Tams For This Useful Post:
aaa (04-18-2009)
Old 04-18-2009, 04:29 PM   #7

daedalus's Avatar

Join Date: Jul 2007
Location: Omaha, NE
Posts: 627
Ignore this user

Thanks: 431
Thanked 551 Times in 228 Posts

Re: Candle pattern

Thanks for your continued work Tams! Great stuff!
daedalus is offline  
Reply With Quote
The Following User Says Thank You to daedalus For This Useful Post:
Tams (09-21-2009)
Old 10-08-2010, 12:45 AM   #8

Stock.Jock's Avatar

Join Date: Feb 2010
Posts: 67
Ignore this user

Thanks: 0
Thanked 7 Times in 7 Posts

Re: Candle pattern

Tams,

I sometimes come across some EasyLanguage indicator code that I would like to translate; however, they have the ELD extention and I don't have tradestation. Is there any other way to open these files for me to examine the code? I usually can do the translation myself, but I can't open files with this extention.
Stock.Jock is offline  
Reply With Quote

Reply

Tags
candle, easylanguage, log, multicharts, print

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Easylanguage Candle Ident raven4ns The Candlestick Corner 18 07-01-2009 08:38 AM
Candle Pattern Regnition Study raven4ns Coding Forum 0 02-04-2009 07:42 AM
Anyone Have a MTF Candle Indi for Tradestation? disavowed The Candlestick Corner 1 02-03-2009 12:30 AM
For you candle chartists.... TinGull The Candlestick Corner 9 11-09-2007 01:56 PM
[Candle Patterns and Previous Day High] Soultrader Trading Videos 7 03-20-2007 02:20 AM

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