log in     sign up for free
 
There are many different classifications of exits other than your initial stop loss. These include exits that produce a loss but reduce your initial risk, exits that maximize profits, and exits that keep you from giving back too much money, and psychological exits.
Van K. Tharp
 
 
Home
systems (284)
 
Special offer: buy AmiBroker and EOD+Real-Time Data
 

Buy

MetaStock

     (special offer)
 
 
 

Buy

EOD data for MetaStock

     (special offer)
 
 
 

Buy

Realtime data for MetaStock

     (special offer)
 
 
 
Formula Library
 
AmiBroker
MetaTrader
MetaStock
TradeStation
Wealth-Lab
NinjaTrader
 
add your formula
System Library
 
 
Account login
Your email:
Password:
 
Log in
New to s4t? Sign up.
If you forgot your password click here.
Search the Web
 
Custom Search

Volume With Color

Formula for: MetaStock

indicator


 

 

Views:  2521

Added: May 22, 2008
 
Rate this code:  Rate: 1 Rate: 2 Rate: 3 Rate: 4 Rate: 5
This formula has not been rated yet
 

email this link

 
 
Tags: MetaStock, indicator
 
Your Ad Here
Hi There,
Does anyone know how to make volume indicator with volume such when the closing price higher than yesterday then the color is green. When the closing price is lower than yesterday then the color is red. When today closing price is the same with yesterday and the day before was green it will be green and when the day before is red it has red color.

Thank you
Minardi

 

 



Code:

Volume With Color
Red:=If(C AND C=Ref(C,-1)),V,0);
Green:=If(C>Ref(C,-1) OR (Ref(C,-1)>Ref(C,-2)
AND C=Ref(C,-1)),V,0);
Red;
Green;

 






Author: Roy Larsen

 

View similar (indicator for MetaStock):

JKL
Weekly Pivot Point
MACD - General Purpose MACD Indicator
Inertia
Moving Average - Variable
Average Dollar Price Volatility Indicator
Coding Example
Calendar Days <-> Bar Periods
DeMark's Range Expansion Index
MACD Histogram - CCT
...
 
 
all formulas for MetaStock
all formulas

 

 

Email to friend

Top

 

     
However we try to maintain hiqhest possible level of service - most formulas, oscillators, indicators
and systems are submitted by anonymous users.
Therefore S4T™ does not take any responsibility for it's quality.
If you use any of this information, use it at your own risk. You are responsible for your own trading decisions.
Be sure to verify that any information you see on these pages is correct, and is applicable to your particular trade.
In no case will S4T™ be responsible for your trading gains or losses.
 
Privacy note | (c) copyrights systems4trading.com 2006-2012