Page 1 of 2

SSL with NRTR indicator

PostPosted: Tue Jun 18, 2013 1:09 pm
by Alexander.Gettinger
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 1770 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 1370 times

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


The indicator was revised and updated

Re: SSL with NRTR indicator

PostPosted: Fri Jun 21, 2013 5:39 am
by 7510109079
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

Re: SSL with NRTR indicator

PostPosted: Sun Jun 23, 2013 2:26 pm
by Apprentice
Your request is added to the development list.

Re: SSL with NRTR indicator

PostPosted: Thu Jul 11, 2013 2:55 am
by 7510109079
many thx. Just checking in again. This indicator continues to perform well

Re: SSL with NRTR indicator

PostPosted: Thu Jul 11, 2013 3:25 am
by 7510109079
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

Re: SSL with NRTR indicator

PostPosted: Thu Jul 11, 2013 1:39 pm
by 7510109079
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?

Re: SSL with NRTR indicator

PostPosted: Sun Jul 14, 2013 2:40 am
by Apprentice
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]);

Re: SSL with NRTR indicator

PostPosted: Tue Jul 16, 2013 3:07 am
by 7510109079
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

Re: SSL with NRTR indicator

PostPosted: Wed Jul 17, 2013 3:59 am
by Apprentice
Yes it is possible.

Re: SSL with NRTR indicator

PostPosted: Thu Jul 18, 2013 2:11 pm
by Apprentice
MTF Version Added.