Traderji.com - Discussion forum for Stocks Commodities & Forex

Help with Formula

Discuss Help with Formula at the MetaStock within the Traderji.com - Discussion forum for Stocks Commodities & Forex; hi, I need help with two things I want write an indicator of volume that ...


Go Back   Traderji.com - Discussion forum for Stocks Commodities & Forex > TOOLS & RESOURCES > Software > MetaStock

Notices


Advertise Here

Reply
 
Thread Tools
Sponsored Links
  #1  
Old 2nd March 2007, 01:28 AM
Member
 
Join Date: Feb 2007
Posts: 2
Appreciation: 20
apollojr is on a distinguished road
Default Help with Formula

hi,
I need help with two things

I want write an indicator of volume that make volume in Negative value in days that close < ref(close,-1). In the bull price days the volume mantain equal to original.


Another thing is to separate the values of volume in if the close is bull or bear in two indicators. I trie write but i do not obtain anything.

Thanks in advance
Reply With Quote
  #2  
Old 2nd March 2007, 08:49 AM
Member
 
Join Date: Sep 2006
Location: Chennai
Posts: 898
Appreciation: 63
oxusmorouz will become famous soon enough
Default Re: Help with Formula

Quote:
Originally Posted by apollojr View Post
hi,
I need help with two things

I want write an indicator of volume that make volume in Negative value in days that close < ref(close,-1). In the bull price days the volume mantain equal to original.


Another thing is to separate the values of volume in if the close is bull or bear in two indicators. I trie write but i do not obtain anything.

Thanks in advance
From what I have understood from the first statement, I have coded the formula...
Try this:
a:= V ;
b:= C < Ref(C,-1);
If(b, -a, a);

Interpretation: when Close < Ref(C,-1) , plot volume in negetive value and when C > ref(c,-1) plot volume in positive value.
Correct me if I have misunderstood.

Regarding your 2nd statement, could you please be more explanatory?
Reply With Quote
  #3  
Old 2nd March 2007, 09:59 PM
Member
 
Join Date: Feb 2007
Posts: 2
Appreciation: 20
apollojr is on a distinguished road
Default Re: Help with Formula

hi oxusmorouz
Many thanks for the first formula. Is exactly this. Sorry for the quality of my English

The secon indicator i try to build is the difference between the positive and negative volume.
What i need?
A Formula to isolate the volume of the Bull and Bear days, i think is anything like this:

Positivevolume:= close > Ref(Close,-1) "it lacks to me part to it of the volume "

Negativevolume:= close < Ref(Close,-1) "it lacks to me part to it of the volume "

positivevolume-negativevolume

thanks in advance
Reply With Quote
  #4  
Old 3rd March 2007, 11:12 AM
Member
 
Join Date: Sep 2006
Location: Chennai
Posts: 898
Appreciation: 63
oxusmorouz will become famous soon enough
Default Re: Help with Formula

Quote:
Originally Posted by apollojr View Post
hi oxusmorouz
Many thanks for the first formula. Is exactly this. Sorry for the quality of my English

The secon indicator i try to build is the difference between the positive and negative volume.
What i need?
A Formula to isolate the volume of the Bull and Bear days, i think is anything like this:

Positivevolume:= close > Ref(Close,-1) "it lacks to me part to it of the volume "

Negativevolume:= close < Ref(Close,-1) "it lacks to me part to it of the volume "

positivevolume-negativevolume

thanks in advance
Try this:
a:= Ref(V,-1);
b:= Ref(C,-1);

If(C > b, If( V > a, V - a, 0), If( V < a, V - a ,0))

It plots the difference in today's volume and yesterday's volume as positive when C > Ref(C,-1) And V > Ref(V,-1)
and difference in volumes as negetive when C < Ref(C,-1) And V < Ref(V,-1).

Tell me if there is any correction to be made.
Glad to be of assistance.

Oxymoron
Reply With Quote
Sponsored Links


Reply

Bookmarks


Advertise Here


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads for: Help with Formula
Thread Thread Starter Forum Replies Last Post
need help on formula cmlee MetaStock 23 8th October 2007 07:55 PM
Metastock Formula ccitrader MetaStock 2 19th August 2006 02:41 PM
ERS Formula rajakrsnan Trading Resources 2 10th August 2006 09:49 AM
Meta Formula bjj9126 MetaStock 0 25th June 2006 10:32 AM


All times are GMT +5.5. The time now is 03:24 AM.

Indemnity, Disclaimer & Disclosure Notice:
• By visiting Traderji.com you indicate your acceptance of our Forum Rules Disclaimer & Disclosure and indemnify Traderji.com, its associates and related parties of all claims howsoever resulting from the usage of the forum.
Disclaimer: Trading or investing in stocks & commodities is a high risk activity. Any action you choose to take in the markets is totally your own responsibility. Traderji.com will not be liable for any, direct or indirect, consequential or incidental damages or loss arising out of the use of this information.
Disclosure: The information in this forum is neither an offer to sell nor solicitation to buy any of the securities mentioned herein. The writers may or may not be trading in the securities mentioned.
• All names or products mentioned are trademarks or registered trademarks of their respective owners.
General Content Disclaimer Notice:
In light of our policy of encouraging candid, open exchanges of views and the rapid distribution of information originating from many sources, Traderji.com cannot determine the accuracy of information that may be uploaded to the forum. Opinions, advice and all other information expressed by participants in discussions are those of the author. You rely on such information at your own risk. You are urged to seek professional advice for specific, individual situations and not rely solely on advice or opinions given in the discussions. Since Traderji.com is an open and free discussion forum, any comments made by members of this forum in their posts reflect their own views and not of the owner or administrator of Traderji.com. Thus the owner/administrator indemnify themselves of all claims whatsoever and will not be liable or responsible for any members comments/views in this forum Traderji.com. If you find any objectionable or offensive posts made by members of this forum which you would like to bring to our notice for removal then please Contact Us.
 


Copyright © 2001 - 2008, Traderji.com All Rights Reserved.

Recommended Websites - www.TradersEdgeIndia.com - www.TradingPicks.com - www.MasterOfTrading.com