TTM Scalper - EFS

eSignal indicators

Moderator: moderators

NYSEplaya
rank: <50 posts
rank: <50 posts
Posts: 8
Joined: Wed Aug 29, 2007 6:26 am
Reputation: 0
Gender: None specified

TTM Scalper - EFS

Postby NYSEplaya » Tue Sep 11, 2007 5:48 am

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 ... sc&start=0

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

NYSEplaya
rank: <50 posts
rank: <50 posts
Posts: 8
Joined: Wed Aug 29, 2007 6:26 am
Reputation: 0
Gender: None specified

Postby NYSEplaya » Fri Oct 19, 2007 6:48 am

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);

NYSEplaya
rank: <50 posts
rank: <50 posts
Posts: 8
Joined: Wed Aug 29, 2007 6:26 am
Reputation: 0
Gender: None specified

Postby NYSEplaya » Sat Nov 03, 2007 9:33 am

any help? :D

rebkwez
rank: <50 posts
rank: <50 posts
Posts: 8
Joined: Thu Jan 25, 2007 7:24 am
Reputation: 0
Gender: None specified

Postby rebkwez » Sat Nov 03, 2007 6:48 pm

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

NYSEplaya
rank: <50 posts
rank: <50 posts
Posts: 8
Joined: Wed Aug 29, 2007 6:26 am
Reputation: 0
Gender: None specified

Postby NYSEplaya » Tue Nov 06, 2007 9:59 pm

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

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

Haifeschak
rank: <50 posts
rank: <50 posts
Posts: 7
Joined: Thu Aug 02, 2007 1:50 pm
Reputation: 0
Gender: Male
Contact:

Scalper Buy Sell

Postby Haifeschak » Tue Feb 05, 2008 4:40 pm

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

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 15544
Joined: Sun May 14, 2006 9:31 pm
Reputation: 3035
Location: Oregon
Real name: Avery T. Horton, Jr.
Gender: None specified
Contact:

Postby TheRumpledOne » Tue Feb 05, 2008 7:29 pm

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.

Haifeschak
rank: <50 posts
rank: <50 posts
Posts: 7
Joined: Thu Aug 02, 2007 1:50 pm
Reputation: 0
Gender: Male
Contact:

TTM Scalper

Postby Haifeschak » Tue Feb 05, 2008 8:23 pm

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

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 15544
Joined: Sun May 14, 2006 9:31 pm
Reputation: 3035
Location: Oregon
Real name: Avery T. Horton, Jr.
Gender: None specified
Contact:

Postby TheRumpledOne » Tue Feb 05, 2008 11:24 pm

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.

Haifeschak
rank: <50 posts
rank: <50 posts
Posts: 7
Joined: Thu Aug 02, 2007 1:50 pm
Reputation: 0
Gender: Male
Contact:

TTM Scalper

Postby Haifeschak » Wed Feb 06, 2008 1:05 am

Hi TRO,

sorry, but I couldn't find.

Anyway thanks

Rob

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


Return to “eSignal indicators”