Welcome to the Traders Laboratory Forums.
Trading Indicators Post your custom trading indicators. If you download, remember to click INSTALL.

Reply
Scalper Buys/Sell Replica Details »»
Scalper Buys/Sell Replica
Platform: , by traderlu traderlu is offline
Developer Last Online: Jun 2009 Show Printable Version Email this Page

Platform: Unknown Rating: (2 votes - 5.00 average)
Released: 07-27-2007 Last Update: Never Installs: 0
 
No support by the author.

Hi All,

I have been an avid reader of this forum for a while. I just thought I would contribute to an internet that I have taken so much from...

Here is a replica of Scalper Buys and Sells. As far as I can tell, it matches up perfectly. If you would like to use it along with the Heiken-Ashi paintbars, I recommend you set the plot thickness to at least two more than the thickness of the Heiken-Ashi (In the attached picture, the Scalper Indicator is set to 3 and the Heiken-Ashi is set to 1). Also, please note that candlesticks are not supported.

Bugs/feedback are appreciated. I hope you all enjoy. Happy Trading,

Luis

p.s. For those of you who like to use candlesticks, I also have a ShowMe version, which places a dot on the highs/lows...Let me know if there is interest.

Download Now

File Type: eld TTM_SCALPER.ELD (5.8 KB, 2899 views)

Screenshots

Scalper Buys/Sell Replica-ttm_scalper-bare.jpg   Scalper Buys/Sell Replica-ttm_scalper-trend.jpg  

Show Your Support

  • If you like to thanks you by the author -> Click Thanks to the Author
  • This modification may not be copied, reproduced or published elsewhere without the author's permission.
The Following 35 Users Say Thank You to traderlu For This Useful Post:
addvalue (12-23-2009), AZ1950 (10-06-2009), britun (06-17-2009), castille (12-27-2008), chambeaux (12-08-2010), dashlat (12-07-2008), ddarrel (12-15-2008), JKM1 (06-28-2011), joydale (05-02-2009), mailafia (04-28-2010), merweg (05-26-2009), metotron (10-19-2008), mforex (12-03-2009), pidmojim (11-21-2009), saratur (01-03-2009), slider67 (06-06-2010), TradeGnosis (10-15-2010), tradermark2009 (10-21-2009), tradestef (04-13-2009), whoiam426 (02-02-2011), yogibear (10-20-2010), youri (11-01-2008), ZNO (12-02-2008), zoomy (12-07-2008)

Comments
Old 07-31-2007, 06:29 PM   #10

Join Date: Jul 2007
Posts: 1
Ignore this user

Thanks: 0
Thanked 0 Times in 0 Posts

Re: TTM Scalper Buys/Sell

Could you please post the source code so I could port it to Amibroker?
Thanks!
mdb770 is offline  
Reply With Quote
Old 07-31-2007, 06:47 PM   #11

traderlu's Avatar

Join Date: May 2007
Location: Salt Lake City
Posts: 12
Ignore this user

Thanks: 0
Thanked 44 Times in 5 Posts

Re: TTM Scalper Buys/Sell

Quote:
Originally Posted by mdb770 »
Could you please post the source code so I could port it to Amibroker?
Thanks!
sure thing, here goes:
Code:
{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);
All I ask is that my name stay in the code, please. Thanks, and enjoy!
traderlu is offline  
Reply With Quote
The Following 2 Users Say Thank You to traderlu For This Useful Post:
brevco (05-27-2009), u235m (12-27-2009)
Old 08-08-2007, 09:03 PM   #12

Join Date: Feb 2007
Location: Fraser Coast
Posts: 45
Ignore this user

Thanks: 0
Thanked 3 Times in 3 Posts

Re: TTM Scalper Buys/Sell

Hi Trader Lu, Thanks for the code it works in 2000i with some modification. However, the white paint bar completely blots out the colour of the underlying heiken ashi colour (unlike your attached thubnail). I have tried changing the thickness of both the HA and scalper b/s but still get just a white bar.... any suggestions ?

Thanks
dovetree is offline  
Reply With Quote
Old 08-09-2007, 05:11 AM   #13

Blu-Ray's Avatar

Join Date: Nov 2006
Location: England
Posts: 508
Ignore this user

Thanks: 164
Thanked 292 Times in 105 Posts

Re: TTM Scalper Buys/Sell

Quote:
Originally Posted by dovetree »
Hi Trader Lu, Thanks for the code it works in 2000i with some modification. However, the white paint bar completely blots out the colour of the underlying heiken ashi colour (unlike your attached thubnail). I have tried changing the thickness of both the HA and scalper b/s but still get just a white bar.... any suggestions ?

Thanks
Dovetree

Traderlu has also kindfully done it in a "show me" edition, shown here:

http://www.traderslaboratory.com/for...tion-2127.html

Try transferring your code into a "Show me" indicator.

Cheers

Blu-Ray
__________________

“ Search is the ultimate expression of the power of the individual, using a computer, looking at the world, and finding exactly what they want ” – Eric Schmidt, Google
Blu-Ray is offline  
Reply With Quote
Old 08-09-2007, 02:18 PM   #14

traderlu's Avatar

Join Date: May 2007
Location: Salt Lake City
Posts: 12
Ignore this user

Thanks: 0
Thanked 44 Times in 5 Posts

Re: TTM Scalper Buys/Sell

Quote:
Originally Posted by dovetree »
Hi Trader Lu, Thanks for the code it works in 2000i with some modification. However, the white paint bar completely blots out the colour of the underlying heiken ashi colour (unlike your attached thubnail). I have tried changing the thickness of both the HA and scalper b/s but still get just a white bar.... any suggestions ?

Thanks
Dovetree,

I have had that same problem. I think it has to do with the order in which you add the analysis techniques to your chart. Try adding the Heiken-Ashi first, then the Scalper, or vice-versa. I can't remember which was the right order. Just don't add them at the same time. This should do the trick. And don't forget the thickness! Hope this helps

-Luis
traderlu is offline  
Reply With Quote
Old 08-14-2007, 12:51 AM   #15

Join Date: Aug 2007
Posts: 48
Ignore this user

Thanks: 6
Thanked 1 Time in 1 Post

Re: Scalper Buys/Sell Replica

Hope I'm not out of line here...but I use Sierra charts and the code that they use is C++. Does anyone know how difficult is it to convert code like Traderlu posted to C++. Does anyone have experience doing this or are there any examples of how to convert TS code to C++? Thx
Armand is offline  
Reply With Quote
Old 08-31-2007, 09:03 AM   #16

jjthetrader's Avatar

Join Date: Aug 2007
Location: Canada
Posts: 463
Ignore this user

Thanks: 217
Thanked 218 Times in 100 Posts

Re: Scalper Buys/Sell Replica

Hi, the paintbar shown in the photos of this indicator with the blue and red bars, is there accompanying code for this?
jjthetrader is offline  
Reply With Quote
Old 09-01-2007, 01:49 PM   #17

Join Date: Feb 2007
Location: US
Posts: 314
Ignore this user

Thanks: 86
Thanked 206 Times in 89 Posts

Re: Scalper Buys/Sell Replica

Quote:
Originally Posted by jjthetrader »
Hi, the paintbar shown in the photos of this indicator with the blue and red bars, is there accompanying code for this?
Those are the well known Heikin Ashii bars, http://www.traderslaboratory.com/for...cator-951.html
aka TTM trend borrowed/popularized by John Carter.
thrunner is offline  
Reply With Quote

Reply

Thread Tools
Help Others By Rating This Thread
Help Others By Rating This Thread:


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Scalper Buy/Sell biegea Trading Indicators 14 04-23-2009 09:16 AM
Custom Scalper Buys/Sells - ShowMe Edition traderlu Trading Indicators 13 04-28-2008 12:51 PM
hey hey any scalper here hanz Introduce Yourself 3 03-23-2007 11:35 AM
ER2 with Fibs, Sell Volume, and VAH break Soultrader Technical Analysis 4 02-22-2007 09:21 PM
Method to Anticipate a Sell-off Soultrader Technical Analysis 3 08-25-2006 09:41 PM

All times are GMT -4. The time now is 05:16 AM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.