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 ....
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Candle Ccolor Modified for Amibroker (AFL)
Rating:
3 / 5 (Votes 5)
Tags:
amibroker
Price Modified for better colors
Indicator / Formula
Copy & Paste Friendly
_SECTION_BEGIN("Price Mod_BetterColor "); Period = Param("Period", 14, 2, 300, 1, 10 ); LowColor = colorLightBlue; ClimaxColor = colorRed; ChurnColor = colorGreen; ClimaxChurnColor=colorDarkBlue; 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(); _SECTION_BEGIN("Bollinger Bands"); P = ParamField("Price field",-1); Periods = Param("Periods", 14, 2, 300, 1 ); Width = Param("Width", 2, 0, 10, 0.05 ); Color = ParamColor("Color", colorCycle ); Style = ParamStyle("Style"); Plot( BBandTop( P, Periods, Width ), "BBTop" + _PARAM_VALUES(), Color, Style ); Plot( BBandBot( P, Periods, Width ), "BBBot" + _PARAM_VALUES(), Color, Style ); _SECTION_END();
0 comments
Leave Comment
Please login here to leave a comment.
Back