MotiveWave Docs
MotiveWave.com
  • User Guide
    • Welcome
    • Quick Start Guide
      • Getting Started
      • Installation
      • Customization Options
      • Advanced Features
      • Troubleshooting and Support
      • Next Steps
    • Console Overview
      • Preferences
      • Changing the Look and Feel
      • Desktops
      • Quote Sheets
      • Backup and Restore
      • Repository
      • Email Configuration
      • Docking Framework Guide
        • Introduction
        • Stations
        • Pages
        • Layouts
        • Customization
    • Accounts Panel
      • Simulated Account
      • Commissions
    • Alerts
    • Charts
      • Settings
      • Chart Spacing
      • Bar Sizes
      • Importing Data
      • Exporting Data
      • Birds Eye View
      • Cursor Data
      • Depth Of Market
      • Chart Labels
      • News
      • Watermark
      • Scaling
      • Analyses
      • Ratios
      • Time and Price Guides
      • Percent Change Charts
      • Software Development Kit
      • Lock Studies
      • Lock Scroll
      • Study Templates
      • Linking Charts
      • Working With Chart Windows
      • Ticker Tape
      • Chart Trading
      • Data Export Groups
      • Analyses Guide
        • Introduction
        • Managing Analyses
        • Sharing Analyses
    • Components
    • Depth Of Market
    • Elliott Wave
    • Hurst Cycles
      • Introduction
      • Study Overview
      • Using the Hurst Cycle Study
    • Instruments
      • Custom Instruments
    • Option Chain
    • Order Flow
      • Introduction
      • Time Price Opportunity (TPO) Study
      • Volume Imprint
      • Depth of Market
      • Time and Sales
      • Delta Volume
      • Cumulative Delta
      • Bid/Ask Volume
      • Speed of Tape
      • DOM Power
      • Order Heatmap
      • Big Trades
      • Speed Gauges
      • Components
    • Pages
    • Preferences
      • General
      • Theme
      • Chart
      • Toolbar
      • Sounds
      • Ratios
      • Elliott Wave
      • Harmonics
      • Historical Data
      • Orders
      • Alerts
      • Email
      • Trade History
      • Buy/Sell
    • Replay Mode
    • Scanner
      • Scanner
      • Creating a Scan
      • Executing a Scan
      • Editing a Scan
      • Elliott Wave Scanner
      • Harmonic Scanner
      • Study Scanner
    • SDK Programming Guide
      • Preface
      • Change History
      • Introduction
      • Fundamental Classes
      • Overlay Example
      • Study Plot Example
      • Drawing Figures
      • Signals
      • Tick Data
      • Strategies
      • Logging
      • Internationalization
      • Deployment
      • Environment Setup
    • Shortcuts
    • Strategies & Backtest
      • Strategy Back Testing
      • Creating a Strategy Analysis
      • Strategy Analysis
      • Strategies
    • Studies
    • Time and Sales
    • Tool Bar
    • Trade Report
    • Watch List
    • Workspaces
  • Release Notes
    • Release Notes
    • What's New In Version 6.5
    • What's New in Version 6.4
    • What's New in Version 6.3
    • What's New in Version 6.1
    • What's New in Version 6.0
  • Knowledge Base
    • Getting Started
      • Add a Symbol to a Watch List
      • Create a New Page
      • Create a New Workspace
      • Free Data Sources
      • Linux Installation
      • Resize Console Panels
      • Set Up a Simulated Account
      • Does MotiveWave Come With Data?
      • Can MotiveWave Be Used on Multiple Computers?
      • Futures Symbol Table
    • Connection
      • Connection Details
      • Add a Connection to a Workspace
      • Rithmic - Connection Issues and Troubleshooting
      • Connect MotiveWave to R|Trader Pro Gateway
      • GAIN Connection
      • Indian Market Connections
      • Interactive Brokers Connection
        • Troubleshooting Interactive Brokers Connection
        • Historical Data is Slow with Interactive Brokers
      • CQG Symbology
      • TD Ameritrade Search
      • Rithmic Eurex Symbology
      • Computer Sleep Mode
      • IQFeed Data
      • Another Instance of MotiveWave Is Using License Key
    • Workspace
      • Add a Connection to a Workspace
      • Create a New Workspace
      • Create a Workspace Backup
      • Restore a Workspace Backup
      • Switch Connections in a Workspace
      • Workspaces Not Showing Up
    • Charts
      • Adjust for a Stock Split
      • Assign Trading Hours to an Instrument
      • Component and Study Visibility
      • Different Charts for the Same Instrument
      • Make Studies Stick to a Chart
      • Trend Lines Don't Line up on Different Bar Sizes
      • Use a Display Mask
      • Create Tick, Range, PnF, or Renko Chart
      • Clicking on the Tab of One Chart Changes Tab of Other Charts
      • Charts Stopped Streaming Data
      • Charts Show Incorrect Historical Data
      • Time Range Measurements Are Incorrect
      • Limited Tick Data on Charts
      • Set Start Time for Chart Bars
      • View List of Studies and Components on Chart
      • Show ETH or Extended Data
    • Trading
      • Position Average Is Changing Overnight
      • Execute Trades on Another Account
    • General
      • Change Themes
      • Define Trading Hours
      • Futures Contract Backfill
      • Reset the Console Layout
      • Set a Default Account
      • Set Up a Repository
      • Set Up Gmail for Email Alerts
      • Set Up iCloud Mail for Email Alerts
      • MotiveWave Covers Windows Taskbar
      • Limit Instruments in Quick Search
      • Can’t See My Menu Anymore
      • Trade Report Is Incorrect
    • Study
      • Component and Study Visibility
      • Order Heatmap Study Not Showing
      • Forex With Volume Related Studies
      • Add a Custom Study
      • Volume Imprint or TPO Overlap
      • Use Real Values
    • Elliott Wave
      • Elliott Wave Data Window vs Start Date
      • Elliott Wave Functionality
      • Show Multiple Elliott Wave Ratios
      • Stacked Wave Labels
    • Scan
      • What Do the Scanner Results Fair, Good, Etc. Mean?
    • SDK
      • Create a Custom Study or Strategy
    • Optimize - Backtest
      • Backtesting Limitations
    • Support
      • Access Log Files
      • Active Session Exists
      • Create a Workspace Backup
      • Find My License Key and Edition
      • Minimum System Requirements
      • MotiveWave Extensions Directory
      • Uninstall MotiveWave
      • Data Loss
      • Trendlines Shift on Nonlinear Charts
      • Slow Application Performance
    • Error Messages
      • Forex.com - Error Placing Order: 75
      • Binance - Connection Failed: Invalid API Key
      • Binance Futures - Unable to load listen keys
      • IQFeed - Error: Index 1 out of bounds for length 1
      • IQFeed - Connection Failed
      • State Error
      • Error Placing Order(s)
    • Purchase
      • Upgrade from a Lease to a Purchased License
      • Upgrade from a Lower Edition Purchased License to a Higher Edition Purchased License
      • Recently Purchased Where Is My License Key?
      • PayPal Payments
      • How Do I Cancel My Lease?
      • Are Updates to the Software Free?
    • FAQ
      • Can I Add Commentary
      • Can I Have a Simulated and a Live Trading Account
      • Can I Have More Than One Broker Account
      • Can I Save My Analysis
      • Can I Trade from the Chart
      • Can I Use MotiveWave on Multiple Computers
      • Does MotiveWave Support macOS
      • Does MotiveWave Support Multiple Computer Screens
      • How Do I Log in to MotiveWave
      • How Do I Make Point & Figure and Hybrid Renko Charts
      • How Do I Position and Size the Chart Windows on a Specific Screen
      • How Do I Save My Charts
      • How Do I Sync MotiveWave Between Two Computers
      • What Instruments Does MotiveWave Support
      • What Is Compact Mode for Chart Windows
      • Where Are the Chart Tools
  • Video Tutorials
    • Product Demos
    • Startup and Installation
    • Workspaces
    • Broker and Data Feed Connections
    • Overviews
    • General Configuration
    • Configuring Preferences
    • Charts
    • Analyses vs Alternate Analyses
    • Studies and Strategies
    • Trading
    • Alerts
    • Replay Mode
    • Scanners
    • Fibonacci
    • Harmonics
    • Elliott Wave
    • Webinars
    • Third Party Webinars
  • Studies
    • A - B
    • C - D
    • E - F
    • G - H
    • I - J
    • K - L
    • M - N
    • O - P
    • Q - R
    • S - T
    • U - V
    • W - X
    • Y - Z
Powered by GitBook
On this page
  • Gator Oscillator
  • Halloween Indicator
  • Heikin-Ashi Candles Oscillator Long Term
  • Herrick Payoff Index
  • Hilbert Transform Indicator
  • Historical Volatility
  • Hull Moving Average
  • Hurst Cycles
  1. Studies

G - H

PreviousE - FNextI - J

Last updated 6 months ago

Disclaimer: The information provided on this page is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security. Please see our .

How to access the studies in MotiveWave:

Go to the top menu, choose Study>Study Group>Study Name

or Go to the top menu, choose Study>All Studies> Start typing in the study name until you see it appear in the list> Click on the study name> Click OK.

Gator Oscillator

The Gator Oscillator (GO) was authored by Bill Williams. The GO is based on the Alligator, also written by Bill Williams. It shows the degree of convergence/divergence of the balance lines. The top bar is the absolute difference between the Jaw and Teeth lines. The bottom bar is the absolute difference between the Teeth and Lip lines (with a minus sign to display below 0). The user may change input (midpoint), method (SMMA), period and shift lengths. This indicator’s definition is further expressed in the condensed code given in the calculation below.

How To Trade Using Gator Oscillator

No trading signals are calculated for this indicator.

Calculation

//input = price, user defined, default is Midpoint //method = moving average (ma), user defined, default is SMMA //jawPeriod = user defined, default is 13 //jawShift = user defined, default is 8 //teethPeriod = user defined, default is 8 //teethShift = user defined, default is 5 //lipsPeriod = user defined, default is 5 //lipsShift = user defined, default is 3 //index = current bar number, abs = absolute value

jaw = ma(method, index + jawShift, input, jawPeriod); 
teeth = ma(method, index + teethShift, input, teethPeriod); 
lips = ma(method, index + lipsShift, input, lipsPeriod); 
PlotHist1: top = Math.abs(jaw-teeth);
PlotHist2: bottom = -Math.abs(teeth-lips);

Halloween Indicator

The Halloween Indicator was authored by Gerald Gardner in the Stocks And Commodities Magazine Oct,2012. It is a seasonal indicator with a simple strategy. If, in October the price of an instrument is below its 50 period Simple Moving Average, buy it, and in May, sell it. The user may change the input (close), method (SMA) and period length. This indicator’s definition is further expressed in the condensed code given in the calculation below.

How To Trade Using the Halloween Indicator

If the Halloween Indicator (HLWNI) is below the closing price and the month is October a buy signal is generated. If the month is May a sell signal is given.

Calculation

//input = price, user defined, default is closing price //method = moving average, user defined, default is SMA //period = user defined, default is 50 //index = current bar number

Plot: hlwni = ma(method, index, period, price);
// Check for signal events
GregorianCalendar cal = new GregorianCalendar(); 
curBarTime =  getStartTime(index);      
cal.setTimeInMillis(curBarTime);
mth = cal.get(GregorianCalendar.MONTH);
sell = (mth == Calendar.MAY);
buy = (price lessThan hlwni AND mth == Calendar.OCTOBER);

Heikin-Ashi Candles Oscillator Long Term

The Heikin-Ashi Candles Oscillator Long Term was authored by Sylvain Vervoort in the Stocks And Commodities Magazine Aug 2012. For details see the article Long-Term Trading Using Exchange Traded Funds. The user may change the input (WP), methods (TEMA,EMA) and period lengths. This indicator’s definition is further expressed in the condensed code given in the calculation below.

How To Trade Using the Heikin Ashi Candles Oscillator LT

If the Heikin Ashi Candles Oscillator LT (HACOLT) equals 100 buy to take a long position and if the HACOLT is 50 exit the long position. A HACOLT value of 0 provides an opportunity for a short entry.

Calculation

//input = price, user defined, default is weighted price //method1 = moving average, user defined, default is TEMA //temaPeriod = user defined, default is 55 //method2 = moving average, user defined, default is EMA //emaPeriod = user defined, default is 60 //Candle Size Factor = user defined, default is 1.1 //index = current bar number

The Heikin Ashi Candles Oscillator LT code may be available on request

Herrick Payoff Index

The Herrick Payoff Index (HPI) was authored by John Herrick. The HPI is used to analyze futures and commodities. One input parameter called the value of one percent move (pointValue) is required. Herrick recommended 100 for most commodities. A host of highs, lows, opens, closes and volumes are mathematically manipulated to produce a bi-colored histogram. This indicator’s definition is further expressed in the condensed code given in the calculation below.

How To Trade Using Herrick Payoff Index

The Herrick Payoff Index may be used in conjunction with other indicators. No trading signals are calculated.

Calculation

//pointValue = user defined, default is 100 //prev = previous, index = current bar number //abs = absolute value //LT = less than, MT = more than

prevOpen = open[index-1];
prevHigh = high[index-1];
prevLow = low[index-1];
prevClose = close[index-1];
median = (high + low) / 2;
prevMedian = (prevHigh + prevLow) / 2;
i = abs(close - prevClose);
g = min(open, prevOpen);
k = (median-prevMedian) * pointValue * volume;
temp = 1 + ((i/2) / g);
if (median LT prevMedian) temp = 1 - ((i/2) / g);
k = k * temp;
prevK = k[index-1];
PlotHist: hpic = prevK + (k - prevK);

Hilbert Transform Indicator

The Hilbert Transform Indicator was authored by John Ehlers. The Hilbert Transform itself is an all-pass filter used in digital signal processing. By using present and prior price differences, and some feedback, price values are split into their complex number components of real (inPhase) and imaginary (quadrature) parts. The user may change the input (midpoint), and period length. This indicator’s definition is further expressed in the condensed code given in the calculation below.

How To Trade Using the Hilbert Transform Indicator

The Hilbert Transform Indicator may be used in conjunction with other indicators. No trading signals are calculated in this study. Calculation

//input = price, user defined, default is midpoint price //period = user defined, default is 7 //quad = quadrature = imaginary part of complex number //inPhase = real part of complex number //index = current bar number

iMult = .635;
qMult = .338;

priorPrice = price[index-period];
//v1 = Detrend price
v1 = price - priorPrice;

v2 = v1[index-2]);      
v4 = v1[index-4];      

inPhase3 = inPhase[index-3];      
quad2 = quad[index-2];      

//Hilbert transform complex number components, inPhase (real part), quad (imaginary part)

inPhase = 1.25 * (v4 - (iMult*v2) + (iMult*inPhase3));
quad = v2 - (qMult*v1) + (qMult*quad2); 
Plot1: inPhase;
Plot2: quad;

Historical Volatility

Historical Volatility and Pattern Recognition was authored by Laurence A. Conners and Linda Bradford Raschke, Stocks and Commodities Mag. 08/1996. It uses standard deviation and natural logarithm in its formula. The user may change the input (close), period and annual length. This indicator’s definition is further expressed in the condensed code given in the calculation below.

How To Trade Using Historical Volatility

Historical Volatility may be used in conjunction with other indicators. No trading signals are given.

Calculation

//input = price, user defined, default is close //period = user defined, default is 20 // annual = user defined, default is 365 //prev = previous //log = natural logarithm //std = standard deviation //sqrt = square root //index = current bar number

value = price[index];
prevValue = price[index-1];
temp = log(value/prevValue);
Plot: hv = 100 * std(period, temp) * sqrt(annual);

Hull Moving Average

The Hull Moving Average makes a moving average more responsive while maintaining a curve smoothness. The formula for calculating this average is as follows: HMA[i] = MA( (2*MA(input, period/2) – MA(input, period)), SQRT(period)) where MA is a moving average and SQRT is square root. The user may change the input (close), period length and shift number. This indicator’s definition is further expressed in the condensed code given in the calculation below.

How To Trade Using the Hull Moving Average

The Hull Moving Average is a lagging trend indicator and may be used in conjunction with other studies. No trading signals are calculated.

Calculation

//input = price, user defined, default is close //method = moving average (ma), user defined, default is WMA //period = user defined, default is 20 //shift = user defined, default is 0 //wma = weighted moving average, sqrt = square root //index = current bar number, LOE = less or equal

sqp = Math.sqrt(period);
for(i = period; i lessThan size(); i++)
    if (isComplete(i)) continue;
    ma1 = 2*ma(method, i, period/2, input);
    ma2 = ma(method, i, period, input);
    if (ma2 == null) continue;
    MA_TMP[i] = ma1 - ma2;
endFor
end = size()-1;
start = 0;
if (start LOE period+sqp) start = period + sqp;
lastComplete = size()-1;
if (shift lessThan 0) lastComplete += shift;
for(i = start; i LOE end; i++) 
    if (isComplete(i+shift)) continue;
    value = ma(method, i, sqp, MA_TMP);
    if (value == null) continue;
    Plot: MA[i+shift] = value;
endFor   

Hurst Cycles

Hurst Cycles or Hurst’s Cyclic Theory was developed in the 1970s by J.M.Hurst, an American engineer.

The theory is based on eight principles that explain the price movement of markets and securities, which are influenced by an infinite series of harmonically related cycles of various sizes. These different cycles represent the overall price action.

The key concept behind this theory is that at the beginning or end of a cycle, the markets often achieve significant lows (or troughs). The troughs (as opposed to the peaks) of these cycles align where prices hit significant bottoms (tops). The theory explains the price movements in a market or individual security by showing how these cycles combine, with allowance for some variations. These cycles can be used to predict market reversals and price trends.

How to trade using Hurst Cycles

In general, when the cycles are at troughs (low points), they present buying opportunities and in contrast, the cycles at peaks (high points) suggest selling opportunities. Additionally, sell or buy signals become more reliable when multiple time of cycles align at the same points.

For details on this study, see our

Click here for more information
Click here for more information.
Hurst Cycles Guide
Risk Disclosure and Performance Disclaimer Statement
See also Alligator.