Before you dive in
- Start from the TradeStation/MultiCharts source block on each product page.
- Compile in PowerLanguage Editor before adding the study to production workspaces.
- Check data series, session, and symbol settings carefully.
- Document any MultiCharts-specific changes you make.
- Verify current-session and prior-session levels against the visible chart before trusting the study.
Session-function focus
The strongest early MultiCharts pages are the transparent ones: session opens, highs, lows, closes, trend, volume, range, and support/resistance studies you can actually read and verify.
Compatibility caution
PowerLanguage is close enough to EasyLanguage to be useful, but platform functions and chart settings can still change behavior.
Good workflow
Start with simple studies, prove the reset logic on a plain chart, then build toward alerts or multi-data scripts.
Use this first when
This page is strongest when the search intent already includes PowerLanguage, session functions, or opens-highs-lows behavior. If the broader question is still charting software or platform choice, use the comparison guides before diving into syntax.
Opens, highs, and lows in PowerLanguage
Open, High, and Low are reserved words that return the current
bar's values. To reference a prior bar, index them with brackets: Open[1], High[1], and Low[1] return the previous bar's open, high, and low.
PowerLanguage does not have a single built-in "session open" word, so a session open is usually
captured by storing Open into a variable the first time a new session is detected, then
holding that variable until the next session reset.
Open or Open[0] Current bar's open.
High[1] Previous bar's high. Replace the index to look further back.
Low[1] Previous bar's low.
Track a boolean for "first bar of session" using Date or SessionStartTime, then assign SessionOpenValue = Open only on that bar.
Hold SessionOpenValue until the next session reset fires.
The same caution applies to highs and lows used for an opening range or session range: confirm whether the study is comparing against the session you intend, the chart's time zone, and whether the script resets on a new calendar day or a custom session template before trusting the output.
How to get something useful out of this page
The quickest way to get value from a platform page is to be honest about what you need. Are you here to install something, study the source, or figure out whether a tool belongs on your chart at all? Those jobs overlap, but they are not the same thing. Download pages help you get up and running. Source pages help you inspect and adapt the logic. Workflow pages help you decide whether the tool is even worth your screen space.
That separation matters even more when you are moving between platforms. A trader who starts on MultiCharts may still need a product page, a guide, or a glossary entry before the question is really answered. The goal here is to make that path shorter and a little less messy.