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

Previous Month low high open close for Amibroker (AFL)

Rating:
5 / 5 (Votes 1)
Tags:
amibroker

To draw Prvious Month High, Low, Open & Close.

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Price");
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 ) ) ));
Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() ); 
_SECTION_END();

_SECTION_BEGIN("To draw previous month  low high");
DayH = TimeFrameGetPrice("H", inMonthly, -1);
DayL = TimeFrameGetPrice("L", inMonthly, -1);
DayC = TimeFrameGetPrice("C", inMonthly, -1);
DayO = TimeFrameGetPrice("O", inMonthly, -1);
Plot(DayC, "",colorWhite,styleLine+styleNoRescale);
Plot(DayH, "",colorAqua,4+8+2048);
Plot(DayL, "",colorAqua,4+8+2048);
Plot(DayO, "",colorWhite,styleLine+styleNoRescale);
_SECTION_END();

0 comments

Leave Comment

Please login here to leave a comment.

Back