## TTM Scalper - EFS

eSignal indicators

Moderator: moderators

NYSEplaya
rank: <50 posts
Posts: 8
Joined: Wed Aug 29, 2007 6:26 am

### TTM Scalper - EFS

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

NYSEplaya
rank: <50 posts
Posts: 8
Joined: Wed Aug 29, 2007 6:26 am
here is the code for ELD:

Written by Luis Gomez
inspired by John Carters "Mastering the Trade"
}

inputs:
sellColor(white),
width(3);
variables:
highBarsAgo(1),
possibleHighBarsAgo(1),
possibleHigh(-2),
hightoBeat(-1),
lowBarsAgo(1),
possibleLowBarsAgo(1),
possibleLow(10000001),
lowtoBeat(10000000),
triggerPriceSell(-1),
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
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);
trend = _DOWN;
hightoBeat = -1;
lowtoBeat = 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
possibleLow = L[possibleLowBarsAgo];
end;

if possibleLow <= lowtoBeat then begin
lowBarsAgo = possibleLowBarsAgo;
lowtoBeat = possibleLow;
end;

lowest(L,lowBarsAgo) > lowtoBeat then begin
trend = _UP;
possibleLow = 10000001;
lowtoBeat = 10000000;
hightoBeat = -1;
triggerPriceSell = -1;
lowBarsAgo = 1;
end;

end;

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

NYSEplaya
rank: <50 posts
Posts: 8
Joined: Wed Aug 29, 2007 6:26 am
any help?

rebkwez
rank: <50 posts
Posts: 8
Joined: Thu Jan 25, 2007 7:24 am
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
Posts: 8
Joined: Wed Aug 29, 2007 6:26 am
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

Haifeschak
rank: <50 posts
Posts: 7
Joined: Thu Aug 02, 2007 1:50 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

TheRumpledOne
rank: 1000+ posts
Posts: 8420
Joined: Sun May 14, 2006 9:31 pm
Location: Oregon
Contact:
I think a version may be in the eSignal Motherlodes.

Haifeschak
rank: <50 posts
Posts: 7
Joined: Thu Aug 02, 2007 1:50 pm

### TTM Scalper

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

TheRumpledOne
rank: 1000+ posts
Posts: 8420
Joined: Sun May 14, 2006 9:31 pm
Location: Oregon
Contact:
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!!

Haifeschak
rank: <50 posts
Posts: 7
Joined: Thu Aug 02, 2007 1:50 pm

### TTM Scalper

Hi TRO,

sorry, but I couldn't find.

Anyway thanks

Rob