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
TTM Scalper  EFS
Moderator: moderators
Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.
Thank you for your support.
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 = highBarsAgo1;
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 = lowBarsAgo1;
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);
{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 = highBarsAgo1;
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 = lowBarsAgo1;
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);
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
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
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.
Thank you for your support.

 rank: <50 posts
 Posts: 7
 Joined: Thu Aug 02, 2007 1:50 pm
 Reputation: 0
 Gender:
 Contact:
Scalper Buy Sell
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
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: 10000+ posts
 Posts: 10724
 Joined: Sun May 14, 2006 9:31 pm
 Reputation: 5
 Location: Oregon
 Real name: Avery T. Horton, Jr.
 Gender:
 Contact:

 rank: <50 posts
 Posts: 7
 Joined: Thu Aug 02, 2007 1:50 pm
 Reputation: 0
 Gender:
 Contact:
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
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: 10000+ posts
 Posts: 10724
 Joined: Sun May 14, 2006 9:31 pm
 Reputation: 5
 Location: Oregon
 Real name: Avery T. Horton, Jr.
 Gender:
 Contact:

 rank: <50 posts
 Posts: 7
 Joined: Thu Aug 02, 2007 1:50 pm
 Reputation: 0
 Gender:
 Contact:
TTM Scalper
Hi TRO,
sorry, but I couldn't find.
Anyway thanks
Rob
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.
Thank you for your support.