LogoLogo
Back to HaasOnline.comSwitch to Developer API
4.x
4.x
  • Welcome
  • TradeServer Cloud
    • Overview
    • Security
    • Troubleshooting
  • TradeServer Enterprise
    • Overview
    • Updates
    • Security
    • Installation
      • Windows
      • MacOS
      • Linux
    • Configuration
      • License Key
      • Login credentials
      • Hosting
        • Linux VPS Hosting
    • Special features
      • Price history
      • Backups
      • Machine Learning
        • Built-in Machine Learning
        • Custom Machine Learning
      • Scripted Exchange API (Coming Soon)
      • Local API (Coming Soon)
    • Troubleshooting
  • Interface
    • General Interface
      • Left Menu
      • Upper Right Items
        • Account data
        • Execute trade
        • AI Chatbots
          • Chatbot Julia
          • Chatbot David
          • Chatbot Thomas
        • Notifications
        • Menu
          • Exchange accounts
          • Settings
          • License information
          • Change Logs
          • Logout
      • Status bar
        • Price tickers
    • Dashboard
    • Bots
      • Bot management
      • Bot templates
    • HaasScript
      • Web Editor
      • Backtest Lab
        • Lab test setup
      • Backtest History
      • Manage Scripts
      • Manage Signals
    • Tools
      • Marketview
      • Market intelligence
      • Exchange profiler
      • Markets explorer
      • News
    • Finance
      • Portfolio
      • External Wallet
  • Haasscript
    • About
      • Change Log
    • Tutorials
      • Bot building
        • Trade-bot building
        • Visual bot building
        • Scripted bot building
      • Usage
        • HaasScript
          • Interval
          • Markets
          • Input Fields
          • Memory Management
          • Signal Handling
          • Position Information
          • Positions Handling
            • Fee correction
          • Order Handling
          • Trading
          • Charting
          • Optimizations
        • Visual Editor
          • Blocks
          • Parameters
          • Flow Control
          • Interaction
        • Script Editor
          • Classes
        • Managed Trading
        • Unmanaged Trading
    • Commands
      • Trade Bots
        • TradeBot Containers
        • Easy Indicators
        • Easy Safeties
        • Easy Insurances
      • Helpers
        • Array Helpers
        • Custom Command Helpers
        • Enumerations
        • Equations
        • Mathematical
        • Memory Helpers
        • Signal Helpers
        • String Helpers
        • Miscellaneous
        • Technical Analysis Helpers
      • Input data
        • Bot Settings
        • Input fields
        • Price Market Information
        • Script Settings
        • Time Information
        • Trade Market Information
      • Prices
      • Technical Analysis
      • Charting
      • Trading
        • Managed Trade Commands
        • Unmanaged Trade Commands
        • Order Information
        • Order Handeling
        • Position Information
        • Position Price Information
        • Profit Information
        • Wallet Information
      • Social Media
    • Built-in Bots
      • Version 3 bots
        • C# Scripted Bot
        • Email bot
        • Trendline Bot
        • Triangle Arbitrage Bot
      • Accumulation Bot
      • Enhanced RSI bot
      • FlashCrash (Grid) Bot
      • Crypto Index Bot
      • Intellibot Alice
      • Inter Exchange Arbitrage Bot
      • MadHatter Bot
      • Market Making Bot
      • Order Bot
      • PingPong Bot
      • Scalper bot
      • Zone-Recovery Bot
    • Community Bots
      • Simple Grid Bot (SPOT)
      • Simple Grid Bot (FUTURES)
      • Simple Market Maker (SPOT)
      • Simple Market Maker (FUTURES)
  • Usage
    • First Usage
    • Setup Exchange
      • Adding an API to the Platform
      • Binance
      • Binance US
      • Bit2me
      • Bitfinex
      • Bitget
      • BitMEX
      • ❌Bitpanda
      • Bitstamp
      • ❌Bittrex
      • Bybit
      • ❌Cex.IO (Legacy API)
      • ❌Coinbase
      • ❌Crypto.com
      • Deribit
      • Gemini
      • Gleec
      • ❌HitBTC
      • Huobi
      • ❌Ionomy
      • Kraken
      • Kraken Futures
      • KuCoin
      • KuCoin Futures
      • LBank
      • ❌OKCoin
      • OKX
      • OKX-Futures
      • OKX-Swap
      • Phemex
      • Poloniex
      • Poloniex Futures
      • WooX
    • Setup Telegram Notification Bot
    • Setup Discord Notification Bot
    • Use Signals
  • Other Resources
    • YouTube
    • Guides & Tutorials
    • Questions & Answers
    • Community Projects
  • Need Help?
    • Ask on Discord
    • Submit Support Ticket
Powered by GitBook
On this page
  • Parameter Information
  • Parameter Color
  • Parameter Execute
  • Parameter Multiple Connections
  • Parameter Suggestions
  • Parameter Connection Type
  • Parameter Input Field Hashtag

Was this helpful?

  1. Haasscript
  2. Tutorials
  3. Usage
  4. Visual Editor

Parameters

Parameter Information

Everything you need to know about the parameter for a command is provided in a help window that pops up when you hover with your mouse on information icon on the top right of each command. The window contains information about the parameter name, type and a short description.

Parameter Color

Each input and output has its own type. There are numbers, text, arrays of numbers, enums and dynamics. The color of each connection point will tell you what type it is or it expects to receive. Each type is connectable with the same type and there are a few exceptions.

Type

Color

Connectable with

Number

Blue

Number/Dynamic

Number Array

Cyan

NumberArray/Number/Dynamic

Boolean

Orange

Boolean/Dynamic

Text

Purple

Text/Dynamic

Enum

Olive

Enum/Dynamic

Dynamic

Gold

All

A dynamic value can contain everything. The scipter controls what goes in and what comes out. While the type is connectable with every other, it doesn't mean it will work. Storing a number in the dynamic and using it as a boolean will result in an error.

Parameter Execute

Some command have a specific execute parameter. The result of the input needs to be true before the command is executed. If the command doesn't have this parameter by default we can enable it through the context menu with the "Toggle connector" option.

Parameter Multiple Connections

Input parameters who end with [] are not restricted to a single connection. They can be connected from an unlimited amount of outputs and will execute once all input values are set.

Parameter Suggestions

For every in- and output we have created a default suggestion list. This will help you define every parameter and quickly continue with the next block. If there are any favorites blocks with a valid connection they will be listed in the Favorite option. Any other block with a valid connection will be listed in the Others list.

Parameter Connection Type

Numbers, strings, dynamics & boolean types can switch between connection dots and input fields. Several command have parameter who are by default a field or checkbox. In the context menu of each parameter there is an option to change the type to a dot, field or checkbox depending on the compatibility.

Parameter Input Field Hashtag

The Visual Editor engine has a little tricks that include a #. When we change a parameter to a field and set a name starting with a hashtag, the engine will try to look up the value in different source.

  • Input field values

  • SessionSets results

  • Saved values of Save()

  • Custom command parameters

PreviousBlocksNextFlow Control

Last updated 1 year ago

Was this helpful?