Monthly & Weekly grid for EOD for Amibroker (AFL)
extremist over 13 years ago Amibroker (AFL)
Very first thanx to BrockQAW.
this code is alteration of his code.
this code cane be handy for those who work on EOD charts.
Indicator / Formula
Copy & Paste Friendly
_SECTION_BEGIN("Grid_HourDay");
ShowGrid = ParamToggle("Show Grid", "No|Yes", 1);
if (ShowGrid == 1)
{
grid_DAY = IIf(Month() != Ref(Month(), -1), 1, 0);
grid_DAY_color = ParamColor("?olorDAY", colorBlue);
Plot(grid_DAY, "", grid_DAY_color, styleHistogram|styleThick|styleNoLabel|styleNoRescale|styleOwnScale);
grid_HOUR = IIf(DayOfWeek() < Ref(DayOfWeek(), -1), 1, 0);
grid_HOUR_color = ParamColor("?olorHOUR", colorBrown);
Plot(grid_HOUR, "", grid_HOUR_color, styleHistogram|styleDashed|styleNoLabel|styleNoRescale|styleOwnScale);
}
else
{}
_SECTION_END();0 comments
Leave Comment
Please login here to leave a comment.