What it does
Weekly Levels gives traders a clean higher-timeframe map without switching away from the chart they trade. It is useful when you want to know where price sits versus the prior week before leaning too hard on intraday noise.
Who this is for
This page is a good fit for traders who want a readable Weekly Levels workflow without having to reverse-engineer the setup from forum posts or screenshots.
Key terms for this tool
Review the core trading and platform terms tied to this page before changing settings or using the study in a live workspace.
What it is not
Weekly Levels is a chart-context tool. It does not place trades, manage risk automatically, or promise that a specific pattern will resolve in one direction. Use it to organize decisions, not to outsource them.
Chart examples
This chart capture shows the study on a real NinjaTrader workspace. Use it as visual reference, then confirm behavior on your own instrument, session, and timeframe.
Weekly reference map on chart
A chart showing Weekly Levels carrying prior-week structure forward into the current session.
Best fit
- Keeping broader weekly context visible on intraday charts.
- Comparing trend continuation against prior-week extremes.
- Watching how price reacts around the current week's open.
Before using it live
- Import the NinjaTrader 8 ZIP through NinjaTrader's normal import flow.
- Apply it to an intraday chart if you want higher-timeframe context on lower timeframes.
- Confirm your chart's timezone and session template before relying on the lines.
- Review how the tool behaves on your actual session template, chart type, and instrument.
Settings to review
Shows the prior week's high.
Shows the prior week's low.
Shows the current week's opening price.
Installation notes
- Import the NinjaTrader 8 ZIP through NinjaTrader's normal import flow.
- Apply it to an intraday chart if you want higher-timeframe context on lower timeframes.
- Confirm your chart's timezone and session template before relying on the lines.
Downloads
Source code
These source examples are provided for copy/paste workflows on other charting platforms. Review and test any script in a simulator before using it on a live chart.
{
Weekly Levels
FreeIndicators.com source example.
Works as a starting point for TradeStation EasyLanguage and MultiCharts PowerLanguage.
}
Vars: PriorWeekHigh(0), PriorWeekLow(0), PriorWeekClose(0), CurrentWeekOpen(0);
If DayOfWeek(Date) < DayOfWeek(Date[1]) Then Begin
PriorWeekHigh = Highest(High, 5);
PriorWeekLow = Lowest(Low, 5);
PriorWeekClose = Close[1];
CurrentWeekOpen = Open;
End;
Plot1(PriorWeekHigh, "PWH");
Plot2(PriorWeekLow, "PWL");
Plot3(PriorWeekClose, "PWC");
Plot4(CurrentWeekOpen, "PWO"); // Weekly Levels
// FreeIndicators.com source example for MetaTrader 4.
#property indicator_chart_window
#property indicator_buffers 3
#property indicator_color1 DodgerBlue
#property indicator_color2 Crimson
#property indicator_color3 SeaGreen
double Buffer1[];
double Buffer2[];
double Buffer3[];
int init() {
SetIndexBuffer(0, Buffer1);
SetIndexBuffer(1, Buffer2);
SetIndexBuffer(2, Buffer3);
return(0);
}
int start() {
int counted = IndicatorCounted();
int limit = Bars - counted - 1;
for(int i = limit; i >= 0; i--) {
int shift = iBarShift(Symbol(), PERIOD_W1, Time[i], true) + 1;
Buffer1[i] = iHigh(Symbol(), PERIOD_W1, shift);
Buffer2[i] = iLow(Symbol(), PERIOD_W1, shift);
Buffer3[i] = iClose(Symbol(), PERIOD_W1, shift);
}
return(0);
} // Weekly Levels
// FreeIndicators.com source example for MetaTrader 5.
#property indicator_chart_window
#property indicator_buffers 3
#property indicator_plots 3
double Buffer1[];
double Buffer2[];
double Buffer3[];
int OnInit() {
SetIndexBuffer(0, Buffer1, INDICATOR_DATA);
SetIndexBuffer(1, Buffer2, INDICATOR_DATA);
SetIndexBuffer(2, Buffer3, INDICATOR_DATA);
return(INIT_SUCCEEDED);
}
int OnCalculate(const int rates_total,
const int prev_calculated,
const datetime &time[],
const double &open[],
const double &high[],
const double &low[],
const double &close[],
const long &tick_volume[],
const long &volume[],
const int &spread[]) {
int start = prev_calculated > 1 ? prev_calculated - 1 : 1;
for(int i = start; i < rates_total; i++) {
int shift = iBarShift(_Symbol, PERIOD_W1, time[i], true) + 1;
Buffer1[i] = iHigh(_Symbol, PERIOD_W1, shift);
Buffer2[i] = iLow(_Symbol, PERIOD_W1, shift);
Buffer3[i] = iClose(_Symbol, PERIOD_W1, shift);
}
return(rates_total);
} //@version=5
indicator("Weekly Levels", overlay=true)
pwh = request.security(syminfo.tickerid, "W", high[1])
pwl = request.security(syminfo.tickerid, "W", low[1])
pwc = request.security(syminfo.tickerid, "W", close[1])
plot(pwh, "Prior week high", color=color.green)
plot(pwl, "Prior week low", color=color.red)
plot(pwc, "Prior week close", color=color.blue) After the download
Keep the next step tied to this exact tool
Install it cleanly, subscribe for future updates if this workflow matters, or move straight into a structured request if the tool needs another platform or a custom version.
Install guide
Keep the workspace stable
Use the clean import flow before a promising download turns into a platform cleanup project.
Open install guideEmail follow-up
Get updates if this tool changes
Use the email signup if you want future indicator and workflow updates without checking back manually.
Join updatesCustom NT8 work
Turn this into a custom NinjaTrader build
Use Moore Tech when the free indicator needs a private modification, NT8 repair, platform port, alert upgrade, or strategy version built around your exact rules.
Paid next step
Get the Daily Trading Plan PDF after the download
Use the $29.99 PDF when you want the key levels, scenarios, and invalidation points mapped before the session instead of building the day from scratch.
Daily Trading Plan PDF - $29.99Limitations
- Weekly references are broad and can feel distant on very fast charts.
- Session definitions still affect what gets treated as a new week.
- The lines are context, not complete trade plans.
Frequently asked questions
Does it repaint?
This tool can revise its most recent labels or levels until enough bars have formed to confirm the swing or range it is using. Older confirmed values should be more stable than the most recent developing ones.
Which platforms are covered?
NinjaTrader 8, TradeStation EasyLanguage, MultiCharts PowerLanguage, MetaTrader 4, MetaTrader 5, TradingView Pine Script are currently represented through downloads or source pages.
Is source code included?
Yes. This page includes source examples or links to platform-specific source pages where applicable.