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 ....
Chart Basic Candlestick for Amibroker (AFL)
Rating:
3 / 5 (Votes 2)
Tags:
Basicly are the Chandlestick signal with arrows
Screenshots
Indicator / Formula
Copy & Paste Friendly
_SECTION_BEGIN("chart basic Candle stick ");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
if (SetBarFillColor( IIf( (C < O) AND (C < Ref( C, -1)), colorRed, colorGreen ) ) );
else
(SetBarFillColor( IIf( (C > O)AND (C < Ref( C, -1)), colorWhite,colorWhite)));
Plot( C, "Close",IIf( Close < Ref( Close, -1), colorRed, colorGreen ), styleCandle );
_SECTION_END();
_SECTION_BEGIN("reversal code");
//Long Reversal Bar
//H < H1 AND L < L1 AND ((H + L) / 2) < C
Lrev= H < Ref(H,-1) AND L < Ref(L,-1) AND ((H+L)/2) < C ;
//Short Reversal Bar
//H > H1 AND L > L1 and C < ((H + L) / 2)
Srev= H > Ref(H,-1) AND L > Ref(L,-1) AND C < ((H + L)/2);
PlotShapes(Lrev*shapeUpArrow,colorGreen);
PlotShapes(Srev*shapeDownArrow,colorRed);
_SECTION_END();0 comments
Leave Comment
Please login here to leave a comment.
Back