S-Trader Desktop
S-Trader Desktop
  • Charting
    • Introduction


      • Charting Engine Overview
      • Chart Types
      • Chart Time Frames
      • Symbol Management
    • Core Features


      • Annotations & Tools
      • Built-in Studies
      • Custom Studies
      • SVA Studies
      • Expert Advisers
    • Advanced Features


      • Loop System Steps
      • Chart Trading Panel
      • Consensus Reports
    • Working With Charts


      • Chart Settings
      • Chart Templates
      • Chart Management
  • Quant Script
    • Overview


      • At A Glance
      • Primitives
      • Built-in Studies
      • SVA Studies
    • Core Features


      • Code Editor
      • Code Wizard
    • Basic Applications


      • Custom Studies
      • Expert Advisers
      • Consensus Reports
    • Advanced Applications


      • Scripted Alerts
      • Loop Systems
      • Portfolio Systems
  • Full Modules
    • Trading Modules


      • At A Glance
      • Quote List Module
      • Scripted Alerts
      • Loop Systems
    • Relative Strength Modules


      • At A Glance
      • Portfolio Systems
      • Relative Rotation Graphs
    • Auxiliary Models


      • Trade Panel
      • Event Scheduler
      • Premium News
      • Status Panel
    • Platform Tools


      • Organizer
      • Back-Up and Restore
  • Data Feeds
    • Introduction


      • At A Glance
      • Data Feed Comparison
    • Local Data


      • Supported Formats
      • Data Templates
      • Local Data Utility
    • The Instrument Panel


      • Live Data
      • Local Data
      • Downloaded Data
      • Symbol Search
      • Composite Symbols
    • Symbol Utilities


      • XL to XML Symbol Utility
      • IB Symbol Search
  • Order Routing
    • Introduction


      • At A Glance
      • Broker Manager
    • Order Types


      • Available Order Types
      • Auto-Trading
    • Cross-feed Order Routing


      • At A Glance
      • Symbol Pegging
    • Managing Orders


      • From Charts
      • From Order Dialog
      • From Blotter
  • Portfolio Management
    • Desktop Platform


      • Master Account Link
      • Group Order Routing
  • Get Started
    • New to S-Trader ?


      • Software Installation Guide
      • Video Tutorials
    • Licensing


      • Licensing Options
      • Volume Licensing
    • For Individuals


      • S-Trader Community
    • For Institutions


      • Enterprise Solution
      • Fintech Development
×
Search Results

Intuitive code wizard.

Create any algorithm line-by-line using the drag and drop functionality of the code wizard.

While there is a tiny learning curve to climb in order to begin using the Quant ScriptTM Code Editor, there is a ZERO learning curve to begin using the Quant ScriptTM Code Wizard. Scripts built with either tool will achieve the exact same result and will behave the exact same way so using one or the other is strictly a matter of personal preference.

 

Very importantly, whether you use the Code Editor or the Code Wizard, for scripts to be usable and compatible with all S-Trader modules, they must return a result function as well as its inverse, i.e. a reverse result function. The script structure should therefore be:

  • All script code and programming logic;
  • SET RESULT = code and portion of the script for the function the script is supposed to return;
  • SET REVERSE_RESULT = code and portion of the script for the inverse of the function the script is supposed to return.

Let us look at an example of a simple script built using the script wizard measuring the average percentage deviation of three moving averages for 10, 20 and 30 periods, respectively, from closing prices:


  • Defining the 10, 20 and 30 Exponential Moving Averages of Closing Prices 

 

Step 2

  •  Defining the SUM deviation of the three Exponential Moving Averages from Closing Prices

 

Step 3

  • Defining the RESULT function, i.e. the average percentage deviation of the three Exponential Moving Averages from Closing Prices

 

Step 4

  •  Defining the REVERSE_RESULT inverse function

 

Azoom | Responsive Wordpress Theme

All content on this website is copyright protected material of S-Trader.com and its partners

Quick Links


  • Privacy Policy
  • Legal – Please read carefully
  • Snapshot Gallery

Partners & Affiliates


  • Affiliates Sign-Up
  • Affiliate login
  • Fintech Development
© Copyright www.s-trader.com, 2004-2018