Slope LEVEL -- or DIRECTION?

Post Reply
User avatar
Baluda
Trader
Posts: 330
Joined: Mon Feb 06, 2012 2:00 pm
Location: An insignificant village in the Netherlands

Re: Slope LEVEL -- or DIRECTION?

Post by Baluda »

New version TMA Slope MTF, v1.0.2, in this post.
TMASlopeMTF, screen II.png
Changes:
  • Added option to display a MA for one of the TMA Slope buffers.
  • Removed option to display TMA Slope buffer for M1.
May the pips be with you.

Paul
You do not have the required permissions to view the files attached to this post.
Check the MQL4 Market for my best EA's and Indicators.
spotdespot
Trader
Posts: 768
Joined: Sun Jan 22, 2012 11:38 pm

Re: Slope LEVEL -- or DIRECTION?

Post by spotdespot »

Hi Baluda - looks awesome as it solves the D1 scaling issue with what I have been doing. However there is one thing I am confused with. If you see the attached screen shot the 21 MA as displayed on your indi (lighter blue) doesn't seem to match with the 21 MA I have added on top - both should be LWMA's from what I can see from a quick code peak.

It may be a result of the way Empty4 deals with adding the LWMA? What I had to do was apply to "previous indicator's data" then change it to apply to "close" once added (otherwise it shows nothing).

As you can see from screen shot crosses of the TMA and your MA show an earlier entry point but the Empty4 one would allow staying longer in the trade (April/May).

Any ideas?

Thanks very much - I really appreciate all your indi's and tools,

Dave.
You do not have the required permissions to view the files attached to this post.
User avatar
Baluda
Trader
Posts: 330
Joined: Mon Feb 06, 2012 2:00 pm
Location: An insignificant village in the Netherlands

Re: Slope LEVEL -- or DIRECTION?

Post by Baluda »

spotdespot wrote:As you can see from screen shot crosses of the TMA and your MA show an earlier entry point but the Empty4 one would allow staying longer in the trade (April/May).

Any ideas?
Dave,

This is because the indicator's D1 Slope is not the first buffer (index 0). Check this by showing the W1 Slope which is the first buffer. A superimposed indicator will follow that data when 'First Indicator's Data' is selected.

Trust me if I say that the blue line 'TMA Slope MTF' shows is the MA of the TMA Slope selected. Here is the code that does this:

Code: Select all

MABuffer[i] = iMAOnArray( D1Buffer, 0, MAPeriod, 0, MODE_LWMA, i );
Satisfied?

Paul
Check the MQL4 Market for my best EA's and Indicators.
spotdespot
Trader
Posts: 768
Joined: Sun Jan 22, 2012 11:38 pm

Re: Slope LEVEL -- or DIRECTION?

Post by spotdespot »

Hi Paul,

Yes - I was always pretty sure yours was correct - what I didn't know was why!!

Thanks again.

Cheers,
Dave.
spotdespot
Trader
Posts: 768
Joined: Sun Jan 22, 2012 11:38 pm

Re: Slope LEVEL -- or DIRECTION?

Post by spotdespot »

Hi Paul,

Just to be 100 % sure I understand - so what I have as the "stock" LWMA is actually the W1 LWMA(21) shown on the current (D1 in this case) timeframe as it uses the index 0 buffer, which is for the W1 Slope?

Thanks,
Dave.
User avatar
Baluda
Trader
Posts: 330
Joined: Mon Feb 06, 2012 2:00 pm
Location: An insignificant village in the Netherlands

Re: Slope LEVEL -- or DIRECTION?

Post by Baluda »

spotdespot wrote:Just to be 100 % sure I understand - so what I have as the "stock" LWMA is actually the W1 LWMA(21) shown on the current (D1 in this case) timeframe as it uses the index 0 buffer, which is for the W1 Slope?
It seems that you are right. There are all sorts of caveats when attaching indicators to another object than they were meant to be attached to. It is not possible to select an other buffer than the first one when putting an indicator over another one.

Read this for more information.

Paul
Check the MQL4 Market for my best EA's and Indicators.
cmeade2
Trader
Posts: 459
Joined: Thu May 24, 2012 12:51 pm
Location: Washington DC

Re: Slope LEVEL -- or DIRECTION?

Post by cmeade2 »

Hey Spot

That setup you shared yesterday with the TMA crossover is great.

Thanks so much

Had a 200 pip basket with it today.
spotdespot
Trader
Posts: 768
Joined: Sun Jan 22, 2012 11:38 pm

Re: Slope LEVEL -- or DIRECTION?

Post by spotdespot »

Baluda wrote:
spotdespot wrote:Just to be 100 % sure I understand - so what I have as the "stock" LWMA is actually the W1 LWMA(21) shown on the current (D1 in this case) timeframe as it uses the index 0 buffer, which is for the W1 Slope?
It seems that you are right. There are all sorts of caveats when attaching indicators to another object than they were meant to be attached to. It is not possible to select an other buffer than the first one when putting an indicator over another one.

Read this for more information.

Paul

Mmm - that's messy. I think I will just use what works for me and not worry too much about the workings. Even after reading that I am not entirely sure what is happening with each.

Cheers,
Dave.
spotdespot
Trader
Posts: 768
Joined: Sun Jan 22, 2012 11:38 pm

Re: Slope LEVEL -- or DIRECTION?

Post by spotdespot »

cmeade2 wrote:Hey Spot

That setup you shared yesterday with the TMA crossover is great.

Thanks so much

Had a 200 pip basket with it today.
No worries - be aware - imo this will not work with short timeframes - trades should normally last days/weeks unless you made a mistake (which I have :oops: )

Cheers,
Dave.
cmeade2
Trader
Posts: 459
Joined: Thu May 24, 2012 12:51 pm
Location: Washington DC

Re: Slope LEVEL -- or DIRECTION?

Post by cmeade2 »

spotdespot wrote:
cmeade2 wrote:Hey Spot

That setup you shared yesterday with the TMA crossover is great.

Thanks so much

Had a 200 pip basket with it today.
No worries - be aware - imo this will not work with short timeframes - trades should normally last days/weeks unless you made a mistake (which I have :oops: )

Cheers,
Dave.
Actually my basket today was entirely on the M15. And it was totally helped by Bernake's speech. For additional confirmation I use the RSI(2) applied to the TMA slope. I have described this in other posts. Basically if you get a cross of the TMA and the RSI(2) is pinned high or low, that's good confirmation for the trade as illustrated below on the M15 for the EU.
You do not have the required permissions to view the files attached to this post.
Post Reply

Return to “Nanningbob 10.x”