logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Sam7768  
#1 Posted : Thursday, December 20, 2007 12:42:05 PM(UTC)
Sam7768

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 10/25/2005(UTC)
Posts: 30

Hello Friends...

One more wish to the list....

I would like to see indicator's color change as it changes direction. For example, 20 day MA color changes from say red to blue as it turns up and blue to red as it turns down. I have seen in some softwares and found really useful....especially as eyes get glued to the sceen, change of color gets instant recognition. I know I can program this thro expert to give an arrow or something like that, but the screen becomes much crowded.

Any thoughts?

hayseed  
#2 Posted : Thursday, December 20, 2007 3:59:14 PM(UTC)
hayseed

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

hey sam..... it has always suprised me that feature is not available also.... and by 'available' i mean in the exact manner ensign software employs, if not in a better manner.....

we can of course do work arounds.... plotting moving averages using dots will allow for up/down multiple color changes.... and if we increase the dot size a slight hint of a line appears..... we can have many colors in the dots, so as the ma aproaches extremes the color changes still.......

hopefully somewhere in salt lake city on a 'top secret burner' are plans to blow the competition out of the water with v11's maximum color capabilities......h

Sam7768  
#3 Posted : Thursday, December 20, 2007 8:14:51 PM(UTC)
Sam7768

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 10/25/2005(UTC)
Posts: 30

Hi Hayseed,

Thanks for your post.

Are you saying that by selecting dots, we can code the color changes? can you please give me the formula for...say 20 day ema to change to red on down and to blue on up?

Please advice. Thanks

hayseed  
#4 Posted : Friday, December 21, 2007 5:50:10 AM(UTC)
hayseed

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

hey sam.... it's the use of the histogram style and ploting dots that allows for multi colored ma's or most any line style plot.... check here for steps.....

the formula would be similar to this...

//----------------------------------------

periods:=Input("periods",2,200,20);
a:= Mov(C,periods,S);

aa:=If(a>Ref(a,-1),a,0);
aaa:=If(a<Ref(a,-1),a,0);

aa;
aaa;

//-------------------------------------

and if your wanting to multicolor something like vegas tunnels, which are offset ma's similar to bb bands, you can add the offset amount plus and minus...... h

Sam7768  
#5 Posted : Friday, December 21, 2007 7:00:51 AM(UTC)
Sam7768

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 10/25/2005(UTC)
Posts: 30

Hi Heyseed,

Thank You very much!!

Will check this today and let you know.

Thanks again.

Sam7768  
#6 Posted : Friday, December 21, 2007 9:17:01 AM(UTC)
Sam7768

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 10/25/2005(UTC)
Posts: 30

Hi Heyseed,

I tried and I am not getting it. Sorry for my dumbness [:$]

Let me explain what I did.

1) Created a new indicator with your above formula

2) Dragged that indicator to a new window

3) Clicked on the obvious upline and (a) changed the color to Blue and (b) selected the "style" to dotted wavy histogram style and (c) "Weight to thick line

4) I did the same to down line with color Red and other changes same as above

5) What I got was two horizontal lines of beads (and yes, color of the top line does change as per the MA up-downs)

6) What I am looking for is color change of the MA on the price chart (not straight line beads).

In your picture, I did see the MA on the price chart (not seperate window) with changing colors. How do I get that?

Please advice.

(I tried attached the snap shot, but looks like I don't have that option).

Thanks

hayseed  
#7 Posted : Friday, December 21, 2007 10:31:19 AM(UTC)
hayseed

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

hey sam..... once you have the indicator in it's window, right click on right hand scale and select 'y axis properties'..... one selection says auto and minimum..... uncheck auto and set the minimum to relate to your security..... for csco we might use 15 as a minimum but for ibm we might have to use 70....

and for brk-a we would use 100,000..... well, ok, maybe not we, but that is what henry would use..... word on the street is, he has minimum of a few hundred shares......[:D]

do the same steps when you place it on the price chart, just adust the minimum to a realistic setting.....h

Sam7768  
#8 Posted : Saturday, December 22, 2007 11:39:40 PM(UTC)
Sam7768

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 10/25/2005(UTC)
Posts: 30

Hi Heyseed,

Still could not do. by adjusting the y-axis scale, the horizontal lines moved up or down (depending upon my minimum parameters) and did not become curves and remained same as straight line beads.

I use Metastock 10 Pro and do I need to do any thing differently?

Thanks a lot for your time.

hayseed  
#9 Posted : Sunday, December 23, 2007 6:49:34 PM(UTC)
hayseed

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

hey sam..... using v10 p here also but the version should not matter..... perhaps it's in the way you are rescaling the y axis.....

here is one way........

using 'alcoa' as an example,

on the right hand scale, right click on 35.....

choose the top selection, 'y axis properties'.....

under auto, uncheck minimum..... that should turn the box green but the -numbers should still be faded out ..... now click the green box again, which should turn it white and the -numbers dark...... at this point you can change the -numbers to 30, in alcoa's case.... your setting should match your securities proximity....

that should do it.... you might have to adjust the number again to fine tune it......

let us know how it turns out.....h

Sam7768  
#10 Posted : Sunday, December 23, 2007 8:31:18 PM(UTC)
Sam7768

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 10/25/2005(UTC)
Posts: 30

Hi Heyseed,

I found the real issue. I see in your chart, bottom line of the indicator is straight, but top line of the indicator is curvy (not straight).

But in my indicator, both the top and bottom lines are straight lines and thus even when I apply the scale, I am still getting the straight lines.

I am using this formula...

****

periods:=Input("periods",2,200,20);
a:= Mov(C,periods,S);

aa:=If(a>Ref(a,-1),a,0);
aaa:=If(a<Ref(a,-1),a,0);

aa;
aaa;

****

Regards.

hayseed  
#11 Posted : Sunday, December 23, 2007 9:01:20 PM(UTC)
hayseed

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

hey sam...... hmmm..... what are you applying the indicator to......

if you apply it to the price chart itself, be sure to select merge with scale on right..... you can right click on the top row of colored dots and select merge with scale on right..... don't choose overlay....

do you by chance have scales on both the right and left side of your chart......

try applying to a new empty window and see if it will work after changing the scale......h

Sam7768  
#12 Posted : Sunday, December 23, 2007 10:20:27 PM(UTC)
Sam7768

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 10/25/2005(UTC)
Posts: 30

Hi Heyseed,

I am applying to a new window. (and my chart has only one scale to right). Either way, I see only two lines and not curve at the top.

Can I request a favor?

Try copy this below formula (exactly) into your new indicator and apply to a new window. (I agree that this is your formula :-) but looks like something is missing somewhere).

****

periods:=Input("periods",2,200,20);
a:= Mov(C,periods,S);

aa:=If(a>Ref(a,-1),a,0);
aaa:=If(a<Ref(a,-1),a,0);

aa;
aaa;

********

Do you see curvy line (at top) or straight line?

Regards.

hayseed  
#13 Posted : Monday, December 24, 2007 7:12:47 AM(UTC)
hayseed

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

hey sam..... used the code from your post, works perfect here..... what security are you applying this to.....h
Sam7768  
#14 Posted : Monday, December 24, 2007 7:17:00 AM(UTC)
Sam7768

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 10/25/2005(UTC)
Posts: 30

I normally trade S&P Emini. But i have also applied to AA and other securities and I see the same problem. I would like to send screen shots for your perusal but the web site is not allowing me to post files. How I can send the screen shots?

Regards.

Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.