Wilders Trailing Stop indicator

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

Wilders Trailing Stop indicator

Postby Alexander.Gettinger » Fri Nov 29, 2013 3:37 pm

Formulas:
WTS[i] = Max(WTS[i-1], Close[i]-loss), if Close[i]>WTS[i-1] and Close[i-1]>WTS[i-1],
WTS[i] = Min(WTS[i-1], Close[i]+loss), if Close[i]<WTS[i-1] and Close[i-1]<WTS[i-1],
WTS[i] = Close[i]-loss, if Close[i]>WTS[i-1],
WTS[i] = Close[i]+loss, in other cases, where
loss = Coeff*ATR,
ATR - Average True Range with Period.

Wilders_Trailing_Stop.PNG


Download:
Wilders_Trailing_Stop.lua
(2.37 KiB) Downloaded 1520 times

Wilders_Trailing_Stop with Alert.lua
(11.04 KiB) Downloaded 1032 times


Wilders_Trailing_Stop Overlay.lua
(4.13 KiB) Downloaded 648 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Wilders Trailing Stop indicator

Postby Alexander.Gettinger » Fri Nov 29, 2013 3:39 pm

MQL4 version of Wilders Trailing Stop indicator: viewtopic.php?f=38&t=60029.
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Wilders Trailing Stop indicator

Postby Apprentice » Mon Nov 03, 2014 5:33 am

A.K.A. Average True Range Trailing Stop
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Wilders Trailing Stop indicator

Postby Apprentice » Mon Nov 03, 2014 5:48 am

Strategy based on this indicator can be found here.
viewtopic.php?f=31&t=61404
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Wilders Trailing Stop indicator

Postby Coondawg71 » Fri Mar 20, 2015 2:56 pm

Can we please request Alert function added to this indicator.

Alert would be triggered upon "touch" or "cross" of the user specified ATR Stop Level.

Thanks!

sjc
User avatar
Coondawg71
FXCodeBase: Graduate
 
Posts: 324
Joined: Sat Jan 15, 2011 11:45 am

Re: Wilders Trailing Stop indicator

Postby Apprentice » Sun Mar 22, 2015 2:38 pm

Wilders_Trailing_Stop with Alert.lua Added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Wilders Trailing Stop indicator

Postby Apprentice » Mon Dec 14, 2015 4:29 am

Compatibility issue Fixed. _Alert helper is not longer needed.

If you want to use updated version of this indicator,
please make sure to use TS Version 01.14.101415. or higher.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Wilders Trailing Stop indicator

Postby Apprentice » Sat Aug 26, 2017 5:41 am

The indicator was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Wilders Trailing Stop indicator

Postby easytrading » Tue Jul 03, 2018 4:12 pm

Hello Apprentice,
if you please, could we have price overlay for Wilders_Trailing_Stop.lua with my appreciation.
easytrading
FXCodeBase: Initiate
 
Posts: 154
Joined: Thu Sep 11, 2014 5:23 pm

Re: Wilders Trailing Stop indicator

Postby Apprentice » Wed Jul 04, 2018 1:38 pm

Wilders_Trailing_Stop Overlay added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Indicators

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], Majestic-12 [Bot] and 157 guests