Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.

vegas_trader

Kelly's Cycle Identifier

Recommended Posts

Looks good in past chart

but when does signal show in real time ?

I've seen a lot of indicator shows after 2~3 bar after.

 

Actually all $TTM Scalper are supposed to wait 2 bars and get they signals at the open of the third bar.

Share this post


Link to post
Share on other sites
{Scalper Buys and Sells		7/18/2007
Written by Luis Gomez 
inspired by John Carters "Mastering the Trade"
This plots swing highs/lows with a strength of 2 bars on each side, on the condition that there is a
	close above/below the high/low the bar after the said swing bar......whew that's a mouthful!

31.07.2007  added some modifications by insideday for displaying on the bottom and with filter
}

inputs:
UsesFilter(1),	//added  (0) = No Filter, 1= ATR , 2 = Points
MinimumDiffPoints(4),	// Points for UsesFilter=2
ATRMult (3),
ATRLen (40);
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),
MinimumDiff (0);


//UsesFilter added

If UsesFilter=0 then MinimumDiff =0 else
if UsesFilter=1 then MinimumDiff = ATRMult *AvgTrueRange(ATRLen)else
MinimumDiff=MinimumDiffPoints;




//***************************************************
//****** 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 
	and (H[highBarsAgo]-L[lowBarsAgo])>= MinimumDiff then begin	//added 
	plot1[highBarsAgo](1,"HL",white);
	//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 
	and (H[highBarsAgo]-L[lowBarsAgo])>= MinimumDiff then begin	//added
	plot1[lowBarsAgo](-1,"HL",white);
	//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;
plot1(0,"HL",white);

Share this post


Link to post
Share on other sites
These are all glorified zigzag indicators. They are what they are, telling you the recent highs and lows after the fact by repainting. They don't teach you how to trade.

 

I can't believe this guy selling a repainting indicator for this kind of money

Share this post


Link to post
Share on other sites

Actually the TTM scapler is useful if you understand how to use it and understand how floor trades scalp.

 

1. You need 2 chart a long term for trend a fast chart for entry.

2. Understand that scalping is buy the breaks and sell the rallies.

3. A trend is continued new highs or lows in a given direction. UP trend is New high followed by a break followed by a higher high. then a break then a HH etc.

 

Simple way to trade. You get a trend direction on your longer chart then look for a trade into that direction on a fast chart.

 

you are not trying to hit pivot tops and bottoms just catch the break between Higher highs for example. Also trend is in one direction until you get a confirmation of a change. for example a string og HH's followed by a LH is a possible change of direction. Until you get that lower high you are always looking for breaks to go long. Trend is also chart specific. For example a daily chart may be in down trend but a 5 min chart may be in uptrend which is inside the longer daily downtrend.

Share this post


Link to post
Share on other sites

How can I make strategy with this code

 

I added bold line in this code and delete plot line

if C < triggerPriceSell and

highest(high,highBarsAgo) < hightoBeat

and (H[highBarsAgo]-L[lowBarsAgo])>= MinimumDiff then begin

sell next bar on market // ADDED

 

if C > triggerPriceBuy and

lowest(L,lowBarsAgo) > lowtoBeat

and (H[highBarsAgo]-L[lowBarsAgo])>= MinimumDiff then begin

Buy next bar on market // ADDED

 

 

but it shows totally diffirent buy/sell signal with indicator

Im not good at EL and strategy

Edited by duhhhh

Share this post


Link to post
Share on other sites
How can I make strategy with this code

 

I added bold line in this code and delete plot line

if C < triggerPriceSell and

highest(high,highBarsAgo) < hightoBeat

and (H[highBarsAgo]-L[lowBarsAgo])>= MinimumDiff then begin

sell next bar on market // ADDED

 

if C > triggerPriceBuy and

lowest(L,lowBarsAgo) > lowtoBeat

and (H[highBarsAgo]-L[lowBarsAgo])>= MinimumDiff then begin

Buy next bar on market // ADDED

 

 

but it shows totally diffirent buy/sell signal with indicator

Im not good at EL and strategy

Sure, we all love to be able to buy or sell something 5 or 10 bars ago.

Share this post


Link to post
Share on other sites

*************************

 

Here is the TTM scalper plotted on bars

 

 

http://www.traderslaboratory.com/forums/f56/storing-pivot-level-eld-6437.html

 

***************************************************************

 

Scalper Buys and Sells 7/18/2007

Written by Luis Gomez

inspired by John Carters "Mastering the Trade"

 

*********************************************************************

 

This plots swing highs/lows with a strength of 2 bars on each side, on the condition that there is a

close above/below the high/low the bar after the said swing bar......

 

****************************************************************

Edited by aaa

Share this post


Link to post
Share on other sites
:crap: I tried to post the code into Easylanguage PowerEditor by Omega Research and got lots of errors. Anyone have a functioning ELA file.

Thanks

 

prob the code won't work on ts2000.

 

 

p.s. if you need help, you should copy and paste the error message here.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.