Trailing Stop

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Trailing Stop

Postby Apprentice » Wed Jun 30, 2010 5:57 am

TS.png
Trailing Stop


I made two versions of this trend indicators.
Percent and the ATR-based.
ATRTS.lua
(2.57 KiB) Downloaded 2432 times

PTS.lua
(2.22 KiB) Downloaded 2462 times


TS.lua
(5.66 KiB) Downloaded 2031 times

TickTS.lua
(2.52 KiB) Downloaded 1857 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Trailing Stop

Postby gcardo » Fri Jul 23, 2010 1:48 pm

Is there any signal code for this indicator?

Thank you
gcardo
 
Posts: 15
Joined: Sat May 29, 2010 11:57 am

Re: Trailing Stop

Postby Apprentice » Fri Jul 23, 2010 5:36 pm

Added to developmental cue.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Trailing Stop

Postby gcardo » Sat Jul 24, 2010 8:17 pm

Thanks. Really appreciate
gcardo
 
Posts: 15
Joined: Sat May 29, 2010 11:57 am

Re: Trailing Stop

Postby Apprentice » Tue Jul 27, 2010 12:05 pm

I brought together these two indicators in order to make a common signal.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Re: Trailing Stop

Postby gcardo » Tue Jul 27, 2010 1:39 pm

Thanks again
gcardo
 
Posts: 15
Joined: Sat May 29, 2010 11:57 am

Re: Trailing Stop

Postby Apprentice » Mon Jan 03, 2011 10:14 am

I added a third option, which allows you to define a distance for trailing stop in pips.
TS.lua
(5.66 KiB) Downloaded 1821 times


Tick version has the possibility of defining the TS distance only in the PIPS.
TickTS.lua
(2.52 KiB) Downloaded 1584 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Trailing Stop

Postby BlueBloodedTrader » Fri Feb 18, 2011 5:56 am

on the ATRTS indicator, there is a PERCENTAGE input which doesn't seem to make any difference to the indicator when changed from anything from 0% to 100%. Is this input redundant in this indicator or does it serve some kind of purpose? If so, would you kindly explain the purpose?
BlueBloodedTrader
 
Posts: 11
Joined: Tue Feb 15, 2011 6:02 pm

Re: Trailing Stop

Postby Apprentice » Fri Feb 18, 2011 7:30 am

You're right. Percentage have No purpose, do not affect the final results.
I have overlooked this line.

I have fix this.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Next

Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 57 guests