Wilders Trailing Stop indicator

Custom MT4 expert advisors published here.

Moderator: admin

Wilders Trailing Stop indicator

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

Original LUA indicator: viewtopic.php?f=17&t=60028.

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_MQL.PNG


Download:
Wilders_Trailing_Stop.mq4
(1.75 KiB) Downloaded 930 times

Wilders_Trailing_Stop_MTF.mq4
(3.28 KiB) Downloaded 477 times

Wilders_Trailing_Stop_dashboard.mq4
(11.23 KiB) Downloaded 465 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3474
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Wilders Trailing Stop indicator

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

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

Re: Wilders Trailing Stop indicator

Postby sathistrader » Wed Mar 07, 2018 11:22 am

can you make mtf for this indicator (including custom time frame to use in offline chart)
sathistrader
 
Posts: 1
Joined: Mon Dec 11, 2017 12:58 pm

Re: Wilders Trailing Stop indicator

Postby Apprentice » Fri Mar 09, 2018 6:32 am

Your request is added to the development list under Id Number 4066
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 20141
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Wilders Trailing Stop indicator

Postby Apprentice » Tue Mar 13, 2018 6:03 am

Wilders_Trailing_Stop_MTF added.
Did you mean a multi-timeframe dashboard?
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 20141
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Wilders Trailing Stop indicator

Postby Apprentice » Thu Mar 15, 2018 2:04 pm

Wilders_Trailing_Stop_dashboard.mq4 added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 20141
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to MT4 Expert Advisors

Who is online

Users browsing this forum: No registered users and 5 guests