kreslik.com - Traders Community Forum Index Home Page
 FAQ  •  Search  •  Preferences  •  Usergroups  •  Register  •  Profile  •  My Watched Topics  •  Log in to check your PMs  •  Log in
Calendar 
View next topic
View previous topic

Post new topicReply to topic View previous topicEmail to a Friend.List users that have viewed this topicSave this Topic as filePrintable versionLog in to check your PMsView next topic
Author Message
NYSEplaya
rank: <50 posts
rank: <50 posts



Joined: 29 Aug 2007
Posts: 8

blank.gif
PostPosted: Tue Sep 11, 2007 5:48 am  Post subject:  TTM Scalper - EFS Reply with quoteBottom of PageBack to top

that looks like a very interesting tool. can someone please convert that to the EFS? thanks.

there is a thread talk about the code in the beginners forum:

http://kreslik.com/forums/viewtopic.php?t=843&postdays=0&postorder=asc&start=0


   OfflinePersonal Gallery of NYSEplayaView user's profileSend private message
NYSEplaya
rank: <50 posts
rank: <50 posts



Joined: 29 Aug 2007
Posts: 8

blank.gif
PostPosted: Fri Oct 19, 2007 6:48 am  Post subject:  (No subject) Reply with quoteBottom of PageBack to top

here is the code for ELD:


{Scalper Buys and Sells 7/18/2007
Written by Luis Gomez
inspired by John Carters "Mastering the Trade"
}

inputs:
buyColor(white),
sellColor(white),
width(3);
variables:
highBarsAgo(1),
possibleHighBarsAgo(1),
possibleHigh(-2),
hightoBeat(-1),
barsSincePaint(1),
lowBarsAgo(1),
possibleLowBarsAgo(1),
possibleLow(10000001),
lowtoBeat(10000000),
triggerPriceSell(-1),
triggerPriceBuy(1000000),
trend(1),
_UP(1),
_DOWN(-1),
_ON(1),
_OFF(-1);


// **************************************************
*
//****** Find and plot the highest swing high *******
// **************************************************
*

if trend = _UP then begin
if swingHighBar(1,H,2,barsSincePaint+2) > -1 then begin
possibleHighBarsAgo = swingHighBar(1,H,2,barsSincePaint+2);
possibleHigh = H[possibleHighBarsAgo];
end;

if possibleHigh >= hightoBeat then begin
highBarsAgo = possibleHighBarsAgo;
hightoBeat = possibleHigh;
triggerPriceSell = L[HighBarsAgo - 1];
end;

if C < triggerPriceSell and
highest(high,highBarsAgo) < hightoBeat then begin
plotpb[highBarsAgo](H[highBarsAgo],L[highBarsAgo
],"",sellColor);
alert("Scalper Sell");
trend = _DOWN;
barsSincePaint = highBarsAgo-1;
hightoBeat = -1;
lowtoBeat = 10000000;
triggerPriceBuy = 10000000;
triggerPriceSell = -1;
highBarsAgo = 1;
possibleHigh = -2;
end;

end;

// **************************************************
*
//****** Find and plot the lowest swing low *********
// **************************************************
*

if trend = _DOWN then begin
if swingLowBar(1,L,2,barsSincePaint+2) > -1 then begin
possibleLowBarsAgo = swingLowBar(1,L,2,barsSincePaint+2);
possibleLow = L[possibleLowBarsAgo];
end;

if possibleLow <= lowtoBeat then begin
lowBarsAgo = possibleLowBarsAgo;
lowtoBeat = possibleLow;
triggerPriceBuy = H[LowBarsAgo - 1];
end;

if C > triggerPriceBuy and
lowest(L,lowBarsAgo) > lowtoBeat then begin
plotpb[lowBarsAgo](H[lowBarsAgo],L[lowBarsAgo],"",buyColor);
alert("Scalper Buy");
trend = _UP;
barsSincePaint = lowBarsAgo-1;
possibleLow = 10000001;
lowtoBeat = 10000000;
hightoBeat = -1;
triggerPriceBuy = 10000000;
triggerPriceSell = -1;
lowBarsAgo = 1;
end;

end;

barsSincePaint = barsSincePaint+1;
if trend = _UP then highBarsAgo = highBarsAgo + 1;
if trend = _DOWN then lowBarsAgo = lowBarsAgo + 1;
setPlotWidth(1,width);


   OfflinePersonal Gallery of NYSEplayaView user's profileSend private message
NYSEplaya
rank: <50 posts
rank: <50 posts



Joined: 29 Aug 2007
Posts: 8

blank.gif
PostPosted: Sat Nov 03, 2007 9:33 am  Post subject:  (No subject) Reply with quoteBottom of PageBack to top

any help? Very Happy


   OfflinePersonal Gallery of NYSEplayaView user's profileSend private message
rebkwez
rank: <50 posts
rank: <50 posts



Joined: 25 Jan 2007
Posts: 8

usa.gif
PostPosted: Sat Nov 03, 2007 6:48 pm  Post subject:  (No subject) Reply with quoteBottom of PageBack to top

I've coded an esignal version. But I just detected a bug in the logic. So I've been working on a fix. My version doesn't match up excactly with the TTM version, but it's very close. Hopefully will have something posted next week.

If any TS coders could post a description of what the exact parameters are for the swingHigh/swingLow function(s) are, I would appreciate it. There seems to be no TS documentation for function parameters.

-Elliot


   OfflinePersonal Gallery of rebkwezView user's profileSend private message
NYSEplaya
rank: <50 posts
rank: <50 posts



Joined: 29 Aug 2007
Posts: 8

blank.gif
PostPosted: Tue Nov 06, 2007 9:59 pm  Post subject:  (No subject) Reply with quoteBottom of PageBack to top

rebkwez wrote:
I've coded an esignal version. But I just detected a bug in the logic. So I've been working on a fix. My version doesn't match up excactly with the TTM version, but it's very close. Hopefully will have something posted next week.

If any TS coders could post a description of what the exact parameters are for the swingHigh/swingLow function(s) are, I would appreciate it. There seems to be no TS documentation for function parameters.

-Elliot


cool, looking forward to it


   OfflinePersonal Gallery of NYSEplayaView user's profileSend private message
Haifeschak
rank: <50 posts
rank: <50 posts


Age: 39
Joined: 02 Aug 2007
Posts: 7

germany.gif
PostPosted: Tue Feb 05, 2008 4:40 pm  Post subject:  Scalper Buy Sell Reply with quoteBottom of PageBack to top

Hey rebkwez,

just wanted to ask wheather you already did the translation of the TTM Scalper ELD into eSignal EFS code?

In case could you please post it?

thanks

Rob


Aries Gender:Male Cat OfflinePersonal Gallery of HaifeschakView user's profileSend private messageICQ Number
TheRumpledOne
rank: 1000+ posts
rank: 1000+ posts


Age: 58
Joined: 14 May 2006
Posts: 8241
Location: Oregon
usa.gif
PostPosted: Tue Feb 05, 2008 7:29 pm  Post subject:  (No subject) Reply with quoteBottom of PageBack to top

I think a version may be in the eSignal Motherlodes.

_________________
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!

Please do NOT PM me with trading or coding questions, post them in a thread.

Gemini Gender:Male Monkey OfflinePersonal Gallery of TheRumpledOneView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
Haifeschak
rank: <50 posts
rank: <50 posts


Age: 39
Joined: 02 Aug 2007
Posts: 7

germany.gif
PostPosted: Tue Feb 05, 2008 8:23 pm  Post subject:  TTM Scalper Reply with quoteBottom of PageBack to top

Thanks TRO,

but I am looking for the exact translation of the TTM scalper ELD into EFS.
The motherlode contains obviously a lot of really sophisticated EFS code.
But most of them are without any description how the indicator works. So
for me the best developed indicator is nothing worth if I do not exactly know how to use it. This is my personal problem.

Rob


Aries Gender:Male Cat OfflinePersonal Gallery of HaifeschakView user's profileSend private messageICQ Number
TheRumpledOne
rank: 1000+ posts
rank: 1000+ posts


Age: 58
Joined: 14 May 2006
Posts: 8241
Location: Oregon
usa.gif
PostPosted: Tue Feb 05, 2008 11:24 pm  Post subject:  (No subject) Reply with quoteBottom of PageBack to top

I know someone implemented it in eSignal and I thought I had it.

In fact, someone on this forum started a thread about it, I think... SEARCH!!

_________________
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!

Please do NOT PM me with trading or coding questions, post them in a thread.

Gemini Gender:Male Monkey OfflinePersonal Gallery of TheRumpledOneView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
Haifeschak
rank: <50 posts
rank: <50 posts


Age: 39
Joined: 02 Aug 2007
Posts: 7

germany.gif
PostPosted: Wed Feb 06, 2008 1:05 am  Post subject:  TTM Scalper Reply with quoteBottom of PageBack to top

Hi TRO,

sorry, but I couldn't find.

Anyway thanks

Rob


Aries Gender:Male Cat OfflinePersonal Gallery of HaifeschakView user's profileSend private messageICQ Number
Display posts from previous:      
Post new topicReply to topic View previous topicEmail to a Friend.List users that have viewed this topicSave this Topic as filePrintable versionLog in to check your PMsView next topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


All times are GMT

Protected by CBACK CrackerTracker
65653 Attacks blocked.
Powered by phpBB2 Plus, phpBB Styles and Kostenloses Forum based on phpBB © 2001/6 phpBB Group :: FI Theme :: Mods and Credits

[ Time: 2.3251s ][ Queries: 23 (0.2317s) ][ Debug on ]