help in Meta Stock Formula Plz

shaded

Junior member
Messages
10
Likes
0
hi for all

first thanks for this great site (y)

i have an formula but it not for metastock .... i want from expert to build it for metastock formula ...

to be an andicator for metastock
this is formula


Code:
DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA  : EMA(DIFF,M);
MACD : 2*(DIFF-DEA), COLORSTICK;


thanks a lot for any one want help me;)

Regards Shaded :eek:
 
Last edited:
any one help me :(

Hi shaded,
I'm not really sure what it is you are trying to attempt - I find it confusing, what "LONG" and "SHORT" stands for; could you explain what it is you are trying to achieve?
Another thing: you cannot code the colours in MS, it is done manually.

Eduardo.:)
 
hi Eduardo

thanks for your respone


look my dear i want this indicator for MetaStock ,,
xLR03015.png


this indicator are found in other program e.g aimibroker ...etc
 
hi Eduardo

thanks for your respone


look my dear i want this indicator for MetaStock ,,
xLR03015.png


this indicator are found in other program e.g aimibroker ...etc

Oh! You want the MACD Histogram...Here it is:

(Mov(C,12,E) - Mov(C,26,E))-(Mov((Mov(C,12,E) - Mov(C,26,E)),9,E))
You must set the line which will be plotted to bars; this is done in the "style" combo on the "color/style" tab in the indicator window.
Hope this helps.

Eduardo.
 
Oh! You want the MACD Histogram...Here it is:

(Mov(C,12,E) - Mov(C,26,E))-(Mov((Mov(C,12,E) - Mov(C,26,E)),9,E))
You must set the line which will be plotted to bars; this is done in the "style" combo on the "color/style" tab in the indicator window.
Hope this helps.

Eduardo.


i don't know how to thanks you ....

but i'll pray for you to be muslim :)

thanks thanks thanks eduardo :eek:
 

i don't know how to thanks you ....

but i'll pray for you to be muslim :)

thanks thanks thanks eduardo :eek:

Er, no, I'm not muslim; but that's OK, if this is useful to you then I feel good that I've been of help.:)
Good luck.

Eduardo.:)
 
Er, no, I'm not muslim; but that's OK, if this is useful to you then I feel good that I've been of help.:)
Good luck.

Eduardo.:)

yeees my dear you help me ... thanks


but i nave problem in mack histogram ... i want to change his color

when it's up (( green ))
when it's down (( red ))

or any color ... just i want to deffrent between it when go up or down

i'll be very happy if you help me in this problem :(

however -- thanks for you :)
 
yeees my dear you help me ... thanks


but i nave problem in mack histogram ... i want to change his color

when it's up (( green ))
when it's down (( red ))

or any color ... just i want to deffrent between it when go up or down

i'll be very happy if you help me in this problem :(

however -- thanks for you :)

That's the tricky bit - unlike with, say, Amibroker or Tradestation, with MS you cannot set the colours with a formula - it must be done by hand!
I'm going to do some work on this and get back to you.

Eduardo.:)
 
yeees my dear you help me ... thanks


but i nave problem in mack histogram ... i want to change his color

when it's up (( green ))
when it's down (( red ))

or any color ... just i want to deffrent between it when go up or down

i'll be very happy if you help me in this problem :(

however -- thanks for you :)

OK, here we are.
First, copy the following formula over of the one you've got:

x:=(Mov(C,12,E) - Mov(C,26,E))-(Mov((Mov(C,12,E) - Mov(C,26,E)),9,E));{Histogram}
x1:=If(x>0,x,0);x1;{green}
x2:=If(x<0,x,0);x2;{red}

When you plot the indicator it will give you two lines: one which plots at and above zero, and one which plots at and below zero.
Double clock on the one which plots above zero, and on the "style" combo choose the bars histogram; then on the "colour" combo select green or any other colour of your choosing.
Do the same with the below zero line, selecting your preferred colour.
Save the chart as a template otherwise you'll have to go through this every time you call on the indicator, and call the template instead.
Good luck.

Eduardo.:)
 
really Mr. Eduardo i don't know how to thanks you ... you help me more than i deserved for helping:eek: ... i take your time with this Requests .. but you are help me :eek:

thanks thanks thanks eduardo thanks from inside my heart for your helping:eek::eek::eek:


last question for you :eek::eek::eek::eek::eek::eek::eek::eek::eek::eek:

how i can do this like what you do for coloring indicatros by hands ... i want to know how :eek:

regards shaded:eek:
 
really Mr. Eduardo i don't know how to thanks you ... you help me more than i deserved for helping:eek: ... i take your time with this Requests .. but you are help me :eek:

thanks thanks thanks eduardo thanks from inside my heart for your helping:eek::eek::eek:


last question for you :eek::eek::eek::eek::eek::eek::eek::eek::eek::eek:

how i can do this like what you do for coloring indicatros by hands ... i want to know how :eek:

regards shaded:eek:

It really depends on the formula; some are quite tricky and you have to understand the formula written - and some programmers (Jose Silva and Roy Larsen to name two) make the formulas big and complex, and it takes some fiddling about to get it right.
The indicator you asked for is quite straight forward: set two variables and rather than show them as a line, make it appear in two by stating them separately.
MetaStock language is very easy to learn compared to Amibroker or EasyLanguage from TradeStation, but it has also got bigger limitations - there is no loopping expression, for example.
Start by visiting this link:
Formula Primer
Then download the Formula Primer, print it in hard copy and study it.
Then it is just question of practice I guess.
I've got here a couple more links for you to visit:
MetaStockTools.com ; this is Jose Silva's site; check the formula section.
Harness the power of the MetaStock Formula Language ; this si roy Larsen's site; check the Trade Equity formulas and behold!
Traders' Consortium ; you'll find help from programmers such as Jose Silva in this forum.
Hope all this will be of some help!
Have a good one.

Eduardo.:)
 
It really depends on the formula; some are quite tricky and you have to understand the formula written - and some programmers (Jose Silva and Roy Larsen to name two) make the formulas big and complex, and it takes some fiddling about to get it right.
The indicator you asked for is quite straight forward: set two variables and rather than show them as a line, make it appear in two by stating them separately.
MetaStock language is very easy to learn compared to Amibroker or EasyLanguage from TradeStation, but it has also got bigger limitations - there is no loopping expression, for example.
Start by visiting this link:
Formula Primer
Then download the Formula Primer, print it in hard copy and study it.
Then it is just question of practice I guess.
I've got here a couple more links for you to visit:
MetaStockTools.com ; this is Jose Silva's site; check the formula section.
Harness the power of the MetaStock Formula Language ; this si roy Larsen's site; check the Trade Equity formulas and behold!
Traders' Consortium ; you'll find help from programmers such as Jose Silva in this forum.
Hope all this will be of some help!
Have a good one.

Eduardo.:)

Thanks My Dear :)
 
OK, here we are.
First, copy the following formula over of the one you've got:

x:=(Mov(C,12,E) - Mov(C,26,E))-(Mov((Mov(C,12,E) - Mov(C,26,E)),9,E));{Histogram}
x1:=If(x>0,x,0);x1;{green}
x2:=If(x<0,x,0);x2;{red}

When you plot the indicator it will give you two lines: one which plots at and above zero, and one which plots at and below zero.
Double clock on the one which plots above zero, and on the "style" combo choose the bars histogram; then on the "colour" combo select green or any other colour of your choosing.
Do the same with the below zero line, selecting your preferred colour.
Save the chart as a template otherwise you'll have to go through this every time you call on the indicator, and call the template instead.
Good luck.

Eduardo.:)











i m new user of meta stock
please help me from begining step by step
rakesh nagar
09336915161
yahoo id [email protected]
 
i m new user of meta stock
please help me from begining step by step
rakesh nagar
09336915161
yahoo id [email protected]

I would suggest that you download and study the Primer on the link above, and take it from there.
Also I suggest that you contact programmers such as Jose Silva on the link above, their experience and ability are well beyond my own.

Eduardo.:)
 
Top