Wilders Trailing Stop indicator

Custom MT4 expert advisors published here.

Moderator: admin

Re: Wilders Trailing Stop indicator

Postby evansrono » Fri Jul 10, 2020 6:24 am

:D Hi,

It works fine. Appreciate your work. BIG THANKYOU!!

Regards
evansrono
 
Posts: 35
Joined: Thu Jun 25, 2020 9:11 am

Re: Wilders Trailing Stop indicator

Postby sonychen59 » Fri Nov 27, 2020 12:00 pm

Hi,

The "Wilders_Trailing_Stop_MTF" indicator shows the entry on chart very almost correctly.

If I create an EA with this indicator, that will be great.
But I try to get this indicator's return values and figure it out as a rule for entry,
the rule is not good exactly.

Would you make this indicator return 1 for buy entry and -1 for sell entry?

I appreciate it.

P.S.:
The indicator returns two values.
My rule is:
Buy entry => 1st value = 1800.12, 2nd value = 1800.12
Sell entry => 1st value = 1800.12, 2nd value = 2147483647
sonychen59
 
Posts: 10
Joined: Fri Nov 27, 2020 10:48 am

Re: Wilders Trailing Stop indicator

Postby sonychen59 » Fri Nov 27, 2020 2:02 pm

Alexander.Gettinger wrote: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

Wilders_Trailing_Stop_MTF.mq4

Wilders_Trailing_Stop_dashboard.mq4

Wilders Trailing Stop MTF Alert.mq4


Dear Sir,

Could you make these indicators return 1 for 'Buy' and -1 for 'Sell' ?
sonychen59
 
Posts: 10
Joined: Fri Nov 27, 2020 10:48 am

Re: Wilders Trailing Stop indicator

Postby Apprentice » Sun Nov 29, 2020 3:13 am

Your request is added to the development list.
Development reference 2371.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36490
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Wilders Trailing Stop indicator

Postby Apprentice » Mon Nov 30, 2020 10:34 am

Why do you need that? To use in EA?
Wilders Trailing Stop MTF Alert.mq4 does have two streams for that: up and down
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36490
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Wilders Trailing Stop indicator

Postby sonychen59 » Sat Dec 05, 2020 1:37 pm

Apprentice wrote:Why do you need that? To use in EA?
Wilders Trailing Stop MTF Alert.mq4 does have two streams for that: up and down


Hi, Sir,

The "Wilders Trailing Stop MTF Alert.mq4" seems to work not well as below shown:
Image
sonychen59
 
Posts: 10
Joined: Fri Nov 27, 2020 10:48 am


Re: Wilders Trailing Stop indicator

Postby sonychen59 » Sun Dec 06, 2020 7:29 am

Apprentice wrote:Can you elaborate on what's wrong?


Hi Sir,

The "Wilders Trailing Stop MTF Alert" indicator with default value on the chart is floating over the K bars.

Is it normal?
sonychen59
 
Posts: 10
Joined: Fri Nov 27, 2020 10:48 am

Re: Wilders Trailing Stop indicator

Postby sonychen59 » Sun Dec 06, 2020 9:10 am

Apprentice wrote:Can you elaborate on what's wrong?


Hi Sir,

The picture shows the "Wilders Trailing Stop MTF Alert" and "Wilders Trailing Stop MTF" indicators on the chart.

The "Wilders Trailing Stop MTF" indicator can tell the trend
but the "Wilders Trailing Stop MTF Alert" not.

The "Wilders Trailing Stop MTF Alert" indicator is always above the K bars.
The "Wilders Trailing Stop MTF" indicator shows Blue and below the K bars for Trend Up,
then shows Yellow and above the K bars for Trend Down.

Image
sonychen59
 
Posts: 10
Joined: Fri Nov 27, 2020 10:48 am

Re: Wilders Trailing Stop indicator

Postby Apprentice » Wed Dec 09, 2020 5:31 am

I don't have any difference between these two indicators.
They both show the same values
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36490
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

PreviousNext

Return to MT4 Expert Advisors

Who is online

Users browsing this forum: No registered users and 73 guests