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
  • Where do I get the SDK?
  • Installing Java
  • Installing Eclipse
  • Creating a Project
  1. User Guide
  2. SDK Programming Guide

Environment Setup

PreviousDeploymentNextShortcuts

Last updated 12 months ago

You may use any Javaâ„¢ development environment you wish to develop extensions for MotiveWaveâ„¢. This section will explain how to get up and running with the Eclipse Integrated Development Environment (IDE). We have also included a sample Eclipse Project that you may use as a starting point for your own development. This sample project contains a build script (Apache ANT based) that makes it easy to deploy your changes to MotiveWaveâ„¢ and package your extensions for distribution.

Eclipse () is the most popular tool for Java development and best of all its free! There are many different environments for Java development, some of the more notable tools include:

  • NetBeans – This Open Source development environment is free as well and is developed by Sun (now Oracle)

  • IntelliJ – http://www.jetbrains.com/idea

  • JCreator – http://

Where do I get the SDK?

The SDK (Software Development Kit) is built directly into MotiveWaveâ„¢, but if you want to download the mwave_sdk.jar, java doc and sample project you can get it from here:

Installing Java

If you have not done so already, you will need to download and install the Java Development Kit (JDK). Please note: this is different than the Java Runtime Environment (JRE) as it contains development tools such as the Java compiler (javac).

Version 5 of MotiveWaveâ„¢ supports Java 1.8.0_121 and higher. If you are using an older version of MotiveWave, you should check the installed Java version by choosing Help -> About from the console menu bar.

The Java Development Kit can be downloaded here:

Installing Eclipse

Eclipse comes in many different versions (and flavors). For our purposes we just need basic Java functionality so we will download ‘Eclipse IDE of Java Developers’. This can be found at the following website:

There are many different tutorials and books available to help you get started with Eclipse. If you don’t want to search the internet, you can start here:

Creating a Project

The first step to creating your own extensions is to create a project in Eclipse. From the top menu bar of Eclipse choose: File -> New -> Java Project

This will launch the New Project Dialog (see below). Enter a name for the project and click the Finish button. In the next step we will be importing the sample project so there is no need to configure anything specific for this project.

Now that you have created an initial project you can import the sample project files from the zip file ‘MotiveWave Studies.zip’. Right click on the ‘MotiveWave Studies’ project that you just created and choose ‘Import…’ from the menu.

From the Import Dialog, open the ‘General’ folder and choose ‘Archive File’

The next step is to specify the archive (.zip) file. In this case it will be ‘MotiveWave Studies.zip’. If you have not done so already, download this sample project from the MotiveWave™ (see: http://www.motivewave.com/support/sdk.htm)

You may be asked to confirm the overwriting of some files like ‘.classpath’. If this happens, press OK to accept the changes.

Once the import is complete, the structure of you project should look like the screenshot below.

Now that you have the project created, you can deploy this to MotiveWave™. The ‘build.xml’ file (under the ‘build’ folder can be used to compile your code and copy the files to the ‘MotiveWave Extensions’ directory. Right click on this file and choose ‘Run As -> Ant Build’

By default this will run the ‘deploy’ target. This task will compile all of the source code under the ‘src’ folder and then copy it to the MotiveWave Extensions directory. Finally, it will modify the ‘.last_updated’ file to signal MotiveWave™ that it should scan for changes and load them.

The ‘Console’ tab will show the output from this action. It should look similar to the following screen shot:

Finally, if you have MotiveWave™ running, you should see an extra menu ‘Examples’ under the ‘Study’ menu that contains the two sample studies (see below)

Here is a link to an introduction of the Java IDE:

www.eclipse.org
www.jcreator.com
http://support.motivewave.com/sdk/
http://www.oracle.com/technetwork/java/javase/downloads/index.html
http://www.eclipse.org/downloads/
http://www.eclipse.org/resources/?category=Tutorial
http://www.eclipse.org/resources/resource.php?id=505