Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

candle with better color for Amibroker (AFL)

Rating:
4 / 5 (Votes 2)
Tags:
amibroker, candlestick

Candlesticks with better colors.

Similar Indicators / Formulas

Candlestick Commentary
Submitted by loadmaster_mr over 14 years ago
Simple Candlestick Pattern Exploration
Submitted by kaiji over 14 years ago
Bullish & Bearish Candlesick Patterns
Submitted by expert almost 14 years ago
Candle Identification
Submitted by ashokchawla58 about 14 years ago

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Price BetterColor ");
Period = Param("Period", 20, 2, 300, 1, 10 );
LowColor = colorYellow;
ClimaxColor = colorRed;
ChurnColor = colorGreen;
ClimaxChurnColor=colorBlue;
LowChurnColor= colorWhite;
Value1 = C;
Value2 = C*(H-L);
Value3 = C/(H-L);
BarColor = IIf( (Value1 == LLV(Value1,Period)), LowColor,
IIf( (Value2 == HHV(Value2,Period)), ClimaxColor,
IIf( (Value3 == HHV(Value3,Period)), ChurnColor,
IIf( ((Value2 == HHV(Value2,Period) AND (Value3 == HHV(Value3,Period)))), ClimaxChurnColor,
IIf( (Value3 == LLV(Value3,Period)), LowChurnColor, colorBlueGrey)))));
_SECTION_END();

_SECTION_BEGIN("Price");
Plot(C, "", BarColor, styleCandle);
ToolTip=StrFormat("Open: %g\nHigh: %g\nLow: %g\nClose: %g (%.1f%%)\nVolume: "+NumToStr( V, 1 ), O, H, L, C, SelectedValue( ROC( C, 1 )));
_SECTION_END();

2 comments

1. sethmo

Excellent, thank you. Just to clarify, when you say “Churn”, you mean Change of Direction, right?

2. Ayuraveda

http://dhaka-classy.blogspot.com/2011/05/better-volume-indicator-for-amibroker.html

Leave Comment

Please login here to leave a comment.

Back