SSL with NRTR 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

SSL with NRTR indicator

Postby Alexander.Gettinger » Tue Jun 18, 2013 1:09 pm

This indicator is a ported MQL5 indicator from http://www.mql5.com/en/code/1682

SSL_With_NRTR.PNG


Download:
SSL_with_NRTR.lua
(5.28 KiB) Downloaded 1765 times


For this indicator must be installed Averages indicator (viewtopic.php?f=17&t=2430).


MTF SSL_with_NRTR.png

MTF SSL_with_NRTR.lua
(8.49 KiB) Downloaded 1367 times

SSL_with_NRTR with Alert.lua
(15.15 KiB) Downloaded 805 times


The indicator was revised and updated
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: SSL with NRTR indicator

Postby 7510109079 » Fri Jun 21, 2013 5:39 am

thx for this port which works quite nicely.

Can you make this into a strategy?

If so. is it possible to somehow specify a custom stop amount or is this built in?

rgrds
7510109079
FXCodeBase: Graduate
 
Posts: 410
Joined: Wed May 18, 2011 7:23 am

Re: SSL with NRTR indicator

Postby Apprentice » Sun Jun 23, 2013 2:26 pm

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

Re: SSL with NRTR indicator

Postby 7510109079 » Thu Jul 11, 2013 2:55 am

many thx. Just checking in again. This indicator continues to perform well
7510109079
FXCodeBase: Graduate
 
Posts: 410
Joined: Wed May 18, 2011 7:23 am

Re: SSL with NRTR indicator

Postby 7510109079 » Thu Jul 11, 2013 3:25 am

Evaluating this indicator further it shows to be performing well. However for it to function efficiently as a strategy, provision would have to be made for the use of Stops to limit losses and secure profits.

It would be beneficial if the user would be able to specify:

(i) a stop loss either as a percentage price move compared to that of current price or an absolute currency amount

(ii) a trailing stop to capture profits

Would it be possible to build in such functionality to the strategy?

many thx in advance
Lawrence
7510109079
FXCodeBase: Graduate
 
Posts: 410
Joined: Wed May 18, 2011 7:23 am

Re: SSL with NRTR indicator

Postby 7510109079 » Thu Jul 11, 2013 1:39 pm

Would it also make sense to be able to change the k value of the NRTR offset?

What is this set to be default in your code?
7510109079
FXCodeBase: Graduate
 
Posts: 410
Joined: Wed May 18, 2011 7:23 am

Re: SSL with NRTR indicator

Postby Apprentice » Sun Jul 14, 2013 2:40 am

NRTR offset Is not set by variable.

This is the formula.
DN[period]=math.min(HMA.DATA[period-1], DN[period-1]);
UP[period]=math.max(LMA.DATA[period-1], UP[period-1]);
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: SSL with NRTR indicator

Postby 7510109079 » Tue Jul 16, 2013 3:07 am

Ah OK , then I don't understand it clearly , but do not be put off by that, as the indicator still works well.

Is it still possible to put stop loss and trailing stop functionality into the strategy?

thx
7510109079
FXCodeBase: Graduate
 
Posts: 410
Joined: Wed May 18, 2011 7:23 am



Next

Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot] and 35 guests