Page 2 of 3

Re: Non-Lag Moving Average strategy

PostPosted: Sun Aug 07, 2011 12:20 pm
by RJH501
Hi Alexander,

I am getting a buy and/or sell signal on every candle.

What would cause this to happen?

Thanks,

Richard

Re: Non-Lag Moving Average strategy

PostPosted: Mon Jan 14, 2013 10:47 pm
by arieldutchess
I've been testing this indicator as well, has anyone requested an EA to be develop? thanks.

Re: Non-Lag Moving Average strategy

PostPosted: Tue Jan 15, 2013 7:24 am
by Apprentice
RJH501 Try my updated version, See topmost post.
I also use different updated indicator.

Arieldutchess
Can you describe your strategy.

Re: Non-Lag Moving Average strategy

PostPosted: Fri Dec 20, 2013 12:10 pm
by rstar250
I've been working with this for a week or so. Haven't been able to understand how it is working. Set up the non lag indicator and the strategy with the same settings but the entry and exits don't match at all. Anyone have any input that might help?

Re: Non-Lag Moving Average strategy

PostPosted: Sat Dec 21, 2013 7:44 am
by Apprentice
Trade will be generated if we have a change in the slope of Non-Lag Moving Average.

The positive slope
Open Long Trade

Negative Slope
Open Short Trade

Re: Non-Lag Moving Average strategy

PostPosted: Mon Dec 23, 2013 11:31 pm
by rstar250
Thanks Apprentice.

Re: Non-Lag Moving Average strategy

PostPosted: Thu Apr 09, 2015 10:14 pm
by Sedamenta
Apprentice wrote:Trade will be generated if we have a change in the slope of Non-Lag Moving Average.

The positive slope
Open Long Trade

Negative Slope
Open Short Trade


I was having a hard time getting the strategy to execute trades when the indicator would change trends. so when you say the change in slope of the non-lag moving average do you mean it should execute trades at the close of the tick I circled below if the strategy was set with the data source being form the close of each candle stick?

701.png



If not could you make a strategy that places an order when it changes color on the indicator as above?

I was also wondering about the filter.
It was said that
The parameter is set in pips. A zero value means there is no filtering.


so if the filter is set on 1 would that be a 1 pip filter?

sorry about all the questions I am just trying to figure out how it works.

Re: Non-Lag Moving Average strategy

PostPosted: Sun Apr 12, 2015 10:21 am
by Apprentice
As it is Strategy is End of Turn Strategy.
Trade is delayed until end of turn.
Filter parameter is Non-Lag MA Indicator parameter.
Filter parameter will determine the minimum required changes need to change in MA.

Re: Non-Lag Moving Average strategy

PostPosted: Wed Jun 10, 2015 9:27 pm
by Sedamenta
I wanted to change this :
Code: Select all
 if   Indicator[1].DATA[period]> Indicator[1].DATA[period-1]
      and   Indicator[1].DATA[period-2] > Indicator[1].DATA[period-1] 
      then
       
      
            if Direction then
                BUY();
            else
                SELL();
            end
         
      elseif   Indicator[1].DATA[period] < Indicator[1].DATA[period-1]
      and   Indicator[1].DATA[period-2] < Indicator[1].DATA[period-1] 
       then
            if Direction then
                SELL();
            else
                BUY();


To this:
I want this to take in account for the the ColorBarBack and not the actual level of the MA but the color that is printed on the MA


Code: Select all
if Indicator[1].DATA[period] prints GREEN and Indicator[1].DATA[period-1] prints GREEN
then
if Color then
BUY();

if Indicator[1].DATA[period] prints RED and Indicator[1].DATA[period-1] prints RED
then
if Color then
SELL();

Re: Non-Lag Moving Average strategy

PostPosted: Fri Jun 12, 2015 3:15 am
by Apprentice
You mean, Take a trade on color change?