Easylanguage Candle Ident

post your indicators here

Moderator: moderators

raven4ns
rank: <50 posts
rank: <50 posts
Posts: 23
Joined: Thu Mar 20, 2008 9:07 pm
Reputation: 0
Gender: Male

Easylanguage Candle Ident

Postby raven4ns » Thu Mar 20, 2008 9:10 pm

Hello,
Does anyone have a candle ident script that works with MC? I have been trying to find one but without much success. I use one with Amibroker and would like to find a script for MC as well. Thank you for any and all help.

Kindest regards,


Tim

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

raven4ns
rank: <50 posts
rank: <50 posts
Posts: 23
Joined: Thu Mar 20, 2008 9:07 pm
Reputation: 0
Gender: Male

Postby raven4ns » Sat Mar 29, 2008 12:43 pm

Has anyone seen such a code that identifies candles on a chart in Easylanguage? I have been trying to find such a code without any success. Any help would be most appreciated. Thank you.


Tim

rrobin
rank: 50+ posts
rank: 50+ posts
Posts: 112
Joined: Fri May 19, 2006 11:09 am
Reputation: 0
Location: Cedar Creek Lake, Texas
Gender: Male

Postby rrobin » Tue Apr 01, 2008 11:22 am

"candle ident script" What does it look like on a chart?
What does it ID?

With more info I may be able to help.

raven4ns
rank: <50 posts
rank: <50 posts
Posts: 23
Joined: Thu Mar 20, 2008 9:07 pm
Reputation: 0
Gender: Male

Postby raven4ns » Tue Apr 01, 2008 12:21 pm

rrobin wrote:"candle ident script" What does it look like on a chart?
What does it ID?

With more info I may be able to help.


Here is a screen shot of what the candle ident code looks like Robin.


Tim
Attachments
Coeur D'Alene Mines.PNG
Coeur D'Alene Mines.PNG (84.55 KiB) Viewed 739 times
Tim

"The measure of a man is not how many times he gets knocked down, but how many times he gets back up." Anonymous
"A man has to believe in something, I believe I will go fishing" Henry David Thoreau

rrobin
rank: 50+ posts
rank: 50+ posts
Posts: 112
Joined: Fri May 19, 2006 11:09 am
Reputation: 0
Location: Cedar Creek Lake, Texas
Gender: Male

Postby rrobin » Tue Apr 01, 2008 3:27 pm

Tim

I do not believe the TS has this candle type.

Good Luck

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

flyingdutchmen
rank: <50 posts
rank: <50 posts
Posts: 6
Joined: Thu May 29, 2008 1:02 pm
Reputation: 0
Gender: Male

Postby flyingdutchmen » Fri May 30, 2008 12:59 am

im not sure if you could use this because it is written in equila
which is pretty simmilar to easy language but not everything can be
taken 1/1, for example equila ( TradeSignal5 ) has some shortcuts for indicators and also candlepatterns,
i doubt you could use it but in equila a example of candlepatterns
looks something like this (with shortcuts).....
alternative you could offcourse programm it yourself







Meta:
Synopsis( "Detects and highlights the presence of a specific candlestick
pattern which can be selected in the indicator's properties." ),
ShortCode( "CANPAT" ),
Subchart( False );

Inputs:
Pattern( Hammer, HangingMan, BullishEngulfing, BearishEngulfing, DarkCloudCover, PiercingLine, MorningStar, EveningStar, InvertedHammer, ShootingStar, BullishHarami, BearishHarami, Doji, HaramiCrossBearish, HaramiCrossBullish, DragonflyDoji, GravestoneDoji, TweezerTops, TweezerBottoms, BullishPitFall, BearishPitFall, BullishSunrise, BearishSunset, BullishCounterattack, BearishCounterattack, RisingWindow, FallingWindow, BearishTasukiGap, BullishTasukiGap, ThreeBlackCrows, ThreeWhiteSoldiers, ConfirmedHammer, ConfirmedHangingMan, ConfirmedInvertedHammer, ConfirmedShootingStar, BigBlackCandle, BigWhiteCandle ) = Hammer,
TrendFilter( True ),
TrendFilterPrice( Close ),
TrendFilterPeriod( 5, 1 );

Variables:
trend, upTrend, downTrend, drawMarker, rHammer, rHangingMan, rBullishEngulfing, rBearishEngulfing,
rDarkCloudCover, rPiercingLine, rMorningStar, rEveningStar, rInvertedHammer, rShootingstar,
rBullishHarami, rBearishHarami, rDoji, rHaramiCrossBearish, rHaramiCrossBullish, rDragonflyDoji,
rGravestoneDoji, rTweezerTops, rTweezerBottoms, rBullishPitFall, rBearishPitFall, rBullishSunrise,
rBearishSunset, rBullishCounterattack, rBearishCounterattack, rRisingWindow, rFallingWindow,
rBearishTasukiGap, rBullishTasukiGap, rThreeBlackCrows, rThreeWhiteSoldiers, rConfirmedHammer,
rConfirmedHangingMan, rConfirmedInvertedHammer, rConfirmedShootingStar, rBigBlack, rBigWhite;

// Determine the trend, in this case using a simple method
trend = XAverage( TrendFilterPrice, TrendFilterPeriod );
upTrend = ( TrendFilter = False Or TrendFilterPrice > trend );
downTrend = ( TrendFilter = False Or TrendFilterPrice < trend );

// Identify which patterns are present on this bar
CandlePatterns( 20, 2.0, upTrend, downTrend,
rHammer, rHangingMan, rBullishEngulfing, rBearishEngulfing, rDarkCloudCover, rPiercingLine,
rMorningStar, rEveningStar, rInvertedHammer, rShootingstar, rBullishHarami, rBearishHarami,
rDoji, rHaramiCrossBearish, rHaramiCrossBullish, rDragonflyDoji, rGravestoneDoji,
rTweezerTops, rTweezerBottoms, rBullishPitFall, rBearishPitFall, rBullishSunrise,
rBearishSunset, rBullishCounterattack, rBearishCounterattack, rRisingWindow, rFallingWindow,
rBearishTasukiGap, rBullishTasukiGap, rThreeBlackCrows, rThreeWhiteSoldiers, rConfirmedHammer,
rConfirmedHangingMan, rConfirmedInvertedHammer, rConfirmedShootingStar, rBigBlack, rBigWhite );

// Depending on the chosen pattern determine if we have to draw a marker
drawMarker = False;
If Pattern = Hammer And rHammer Then drawMarker = True
Else If Pattern = HangingMan And rHangingMan Then drawMarker = True
Else If Pattern = BullishEngulfing And rBullishEngulfing Then drawMarker = True
Else If Pattern = BearishEngulfing And rBearishEngulfing Then drawMarker = True
Else If Pattern = DarkCloudCover And rDarkCloudCover Then drawMarker = True
Else If Pattern = PiercingLine And rPiercingLine Then drawMarker = True
Else If Pattern = MorningStar And rMorningStar Then drawMarker = True
Else If Pattern = EveningStar And rEveningStar Then drawMarker = True
Else If Pattern = InvertedHammer And rInvertedHammer Then drawMarker = True
Else If Pattern = Shootingstar And rShootingstar Then drawMarker = True
Else If Pattern = BullishHarami And rBullishHarami Then drawMarker = True
Else If Pattern = BearishHarami And rBearishHarami Then drawMarker = True
Else If Pattern = Doji And rDoji Then drawMarker = True
Else If Pattern = HaramiCrossBearish And rHaramiCrossBearish Then drawMarker = True
Else If Pattern = HaramiCrossBullish And rHaramiCrossBullish Then drawMarker = True
Else If Pattern = DragonflyDoji And rDragonflyDoji Then drawMarker = True
Else If Pattern = GravestoneDoji And rGravestoneDoji Then drawMarker = True
Else If Pattern = TweezerTops And rTweezerTops Then drawMarker = True
Else If Pattern = TweezerBottoms And rTweezerBottoms Then drawMarker = True
Else If Pattern = BullishPitFall And rBullishPitFall Then drawMarker = True
Else If Pattern = BearishPitFall And rBearishPitFall Then drawMarker = True
Else If Pattern = BullishSunrise And rBullishSunrise Then drawMarker = True
Else If Pattern = BearishSunset And rBearishSunset Then drawMarker = True
Else If Pattern = BullishCounterattack And rBullishCounterattack Then drawMarker = True
Else If Pattern = BearishCounterattack And rBearishCounterattack Then drawMarker = True
Else If Pattern = RisingWindow And rRisingWindow Then drawMarker = True
Else If Pattern = FallingWindow And rFallingWindow Then drawMarker = True
Else If Pattern = BearishTasukiGap And rBearishTasukiGap Then drawMarker = True
Else If Pattern = BullishTasukiGap And rBullishTasukiGap Then drawMarker = True
Else If Pattern = ThreeBlackCrows And rThreeBlackCrows Then drawMarker = True
Else If Pattern = ThreeWhiteSoldiers And rThreeWhiteSoldiers Then drawMarker = True
Else If Pattern = ConfirmedHammer And rConfirmedHammer Then drawMarker = True
Else If Pattern = ConfirmedHangingMan And rConfirmedHangingMan Then drawMarker = True
Else If Pattern = ConfirmedInvertedHammer And rConfirmedInvertedHammer Then drawMarker = True
Else If Pattern = ConfirmedShootingStar And rConfirmedShootingStar Then drawMarker = True
Else If Pattern = BigBlackCandle And rBigBlack Then drawMarker = True
Else If Pattern = BigWhiteCandle And rBigWhite Then drawMarker = True;

If drawMarker Then
DrawSymbol( low, "Candle Pattern", SymbolTriangleUp, 8 );

raven4ns
rank: <50 posts
rank: <50 posts
Posts: 23
Joined: Thu Mar 20, 2008 9:07 pm
Reputation: 0
Gender: Male

Postby raven4ns » Fri May 30, 2008 9:15 pm

Thank you Dutchman for your kindness, I appreciate it. I'm surprised that TS doesn't have a pattern recognition study. In any event, thank you again.

Kindest regards,

Tim
Tim



"The measure of a man is not how many times he gets knocked down, but how many times he gets back up." Anonymous

"A man has to believe in something, I believe I will go fishing" Henry David Thoreau

rrobin
rank: 50+ posts
rank: 50+ posts
Posts: 112
Joined: Fri May 19, 2006 11:09 am
Reputation: 0
Location: Cedar Creek Lake, Texas
Gender: Male

Postby rrobin » Sat May 31, 2008 4:15 pm

Run a search for "pattern recognition" in the TS forums.

I think you may find some ideas.

https://www.tradestation.com/Discussion ... c_ID=58299

https://www.tradestation.com/Discussion ... xactMatch=

Good Luck

rr
Attachments
20060125132011SMAA_DYNAMIC_CPR.ELD
(24.76 KiB) Downloaded 50 times

raven4ns
rank: <50 posts
rank: <50 posts
Posts: 23
Joined: Thu Mar 20, 2008 9:07 pm
Reputation: 0
Gender: Male

Postby raven4ns » Sat May 31, 2008 7:07 pm

Hi rrobin,
You have to be a user of TS in order to use the forums I believe. I use MultiCharts and don't qualify. Thank you for your thoughtfulness though, it is appreciated.

Tim
Tim



"The measure of a man is not how many times he gets knocked down, but how many times he gets back up." Anonymous

"A man has to believe in something, I believe I will go fishing" Henry David Thoreau

flyingdutchmen
rank: <50 posts
rank: <50 posts
Posts: 6
Joined: Thu May 29, 2008 1:02 pm
Reputation: 0
Gender: Male

Postby flyingdutchmen » Thu Jun 05, 2008 2:24 pm

Maybe this could be interesting for you

http://www.markplex.com/tutorial16.php
Last edited by flyingdutchmen on Thu Jun 05, 2008 2:38 pm, edited 1 time in total.

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.


Return to “Tradestation indicators”