Deriv Bot Builder Help Guide
Deriv Bot Builder Help Guide
About Martingale
Exploring the Martingale strategy in Deriv Bot
The Martingale strategy involves increasing your stake after each loss to recoup prior losses with a single successful trade.
This article explores the Martingale strategy integrated into Deriv Bot, a versatile trading bot designed to trade assets such
as forex, commodities, and derived indices. We will delve into the strategy's core parameters, its application, and provide
essential takeaways for traders looking to use the bot effectively.
Key Parameters:
These are the trade parameters used in Deriv Bot with Martingale strategy.
Initial stake: The amount that you are willing to place as a stake to enter a
trade. This is the starting point for any changes in stake depending on the
dynamic of the strategy being used.
Multiplier: The multiplier used to increase your stake if you're losing a
trade. The value must be greater than 1.
Profit threshold: The bot will stop trading if your total profit exceeds this
amount.
Loss threshold: The bot will stop trading if your total loss exceeds this
amount.
Maximum stake: The maximum amount you are willing to pay to enter a
single trade. The stake for your next trade will reset to the initial stake if it
exceeds this value. This is an optional risk management parameter.
With Deriv Bot, traders can set the profit and loss thresholds to secure potential
profits and limit potential losses. This means that the trading bot will automatically
stop when either the profit or loss thresholds are reached. It's a form of risk
management that can potentially enhance returns. For example, if a trader sets the
profit threshold at 100 USD and the strategy exceeds 100 USD of profit from all
trades, then the bot will stop running.
R = log(B/s) / log(m)
Where:
R is the number of rounds a trader can sustain given a specific loss
threshold.
B is the loss threshold.
s is the initial stake.
m is the Martingale multiplier.
For instance, if a trader has a loss threshold (B) is 1000 USD, with an initial
stake (s) is 1 USD, and the Martingale multiplier (m) is 2, the calculation
would be as follows:
R = log(100/1) / log(2)
Summary :
The Martingale strategy in trading may offer substantial gains but also
comes with significant risks. With your selected strategy, Deriv Bot provides
automated trading with risk management measures like setting initial stake,
stake size, maximum stake, profit threshold and loss threshold. It's crucial for
traders to assess their risk tolerance, practice in a demo account, and
understand the strategy before trading with real money.
Disclaimer:
Please be aware that while we may use rounded figures for illustration, a
stake of a specific amount does not guarantee an exact amount in successful
trades. For example, a 1 USD stake does not necessarily equate to a 1 USD
profit in successful trades.
Trading inherently involves risks, and actual profits can fluctuate due to
various factors, including market volatility and other unforeseen variables.
As such, exercise caution and conduct thorough research before engaging in
any trading activities.
The Reverse Martingale strategy involves increasing your stake after each
successful trade and resets to the initial stake for every losing trade as it
aims to secure potential profits from consecutive wins.
This article explores the Reverse Martingale strategy integrated into Deriv
Bot, a versatile trading bot designed to trade assets such as forex,
commodities, and derived indices. We will delve into the strategy's core
parameters, its application, and provide essential takeaways for traders
looking to use the bot effectively.
Key Parameters :
These are the trade parameters used in Deriv Bot with Reverse Martingale
strategy.
Initial stake: The amount that you are willing to place as a stake to enter a
trade. This is the starting point for any changes in stake depending on the
dynamic of the strategy being used.
Multiplier: The multiplier used to increase your stake if your trade is
successful. The value must be greater than 1.
Profit threshold: The bot will stop trading if your total profit exceeds this
amount.
Loss threshold: The bot will stop trading if your total loss exceeds this
amount.
Maximum stake: The maximum amount you are willing to pay to enter a
single trade. The stake for your next trade will reset to the initial stake if it
exceeds this value. This is an optional risk management parameter.
With Deriv Bot, traders can set the profit and loss thresholds to secure potential
profits and limit potential losses. This means that the trading bot will automatically
stop when either the profit or loss threshold is reached. This is a form of risk
management that can potentially boost successful trades whilst limiting the impact
of loss. For example, if a trader sets the profit threshold at 100 USD and the
strategy exceeds 100 USD of profit from all trades, then the bot will stop running.
Summary :
The Reverse Martingale strategy in trading may offer substantial gains but
also comes with significant risks. With your selected strategy, Deriv Bot
provides automated trading with risk management measures like setting
initial stake, stake size, maximum stake, profit threshold and loss threshold.
It's crucial for traders to assess their risk tolerance, practice in a demo
account, and understand the strategy before trading with real money.
Disclaimer:
Please be aware that while we may use rounded figures for illustration, a
stake of a specific amount does not guarantee an exact amount in successful
trades. For example, a 1 USD stake does not necessarily equate to a 1 USD
profit in successful trades.
Key Parameters :
These are the trade parameters used for D’Alembert strategy in Deriv Bot.
Initial stake: The amount that you are willing to place as a stake to enter a
trade. This is the starting point for any changes in stake depending on the
dynamic of the strategy being used.
Unit: The number of units that are added in the event of a trade resulting in
loss or the number of units removed in the event of a trade resulting in
profit. For example, if the unit is set at 2, the stake increases or decreases by
two times the initial stake of 1 USD, meaning it changes by 2 USD.
Profit threshold: The bot will stop trading if your total profit exceeds this
amount.
Loss threshold: The bot will stop trading if your total loss exceeds this
amount.
1. Start with the initial stake. In this example, we’ll use 1 USD.
2. Set your preferred unit. In this example, it is 2 units or 2 USD.
3. If the first trade results in profit, the stake for the following trade will not
reduce but remain at the initial stake. The strategy minimally trades at the
initial stake of 1 USD. See A1.
4. If the second trade results in a loss, the Deriv Bot will automatically
increase your stake for the next trade by 2 USD. Deriv Bot will continue to
add 2 USD to the previous round’s stake after every losing trade. See A2.
5. If the next trades are profitable, the stake for the following trade will be
reduced by 2 USD. This can be shown above where the stake of 3 USD is
reduced to 1 USD. See A3.
The D’Alembert strategy is less risky than Martingale, but you can still
determine how long your funds will last with this strategy before trading.
Simply use this formula.
B = s * [ R + ( (R + 1) / 2 ) * (R * f) ]
Where:
R is the number of rounds a trader can sustain given a specific loss
threshold.
B is the loss threshold.
s is the initial stake.
f is the unit increment.
For instance, if a trader has a loss threshold (B) of 100 USD, with an initial
stake (s) of 1 USD and 2 units of increment (f), the calculation would be as
follows:
100 = s * [ R + ( (R + 1) / 2 ) * (R * 2) ]
Summary:
The D'Alembert system offers more balanced trading through controlled stake
progression. With prudent risk management like stake limits, it can be effectively
automated in Deriv Bot. However, traders should thoroughly assess their risk
appetite, test strategies on a demo account to align with their trading style before
trading with real money. This allows optimising the approach and striking a balance
between potential gains and losses whilst managing risk.
The Reverse D'Alembert strategy involves increasing your stake after a successful
trade and reducing it after a losing trade by a predetermined number of unit
Key Parameters:
These are the trade parameters used in Deriv Bot with Reverse D’Alembert
strategy.
Initial stake: The amount that you are willing to place as a stake to enter a
trade. This is the starting point for any changes in stake depending on the
dynamic of the strategy being used.
Unit: The number of units that are added in the event of successful trades or
the number of units removed in the event of losing trades. For example, if
the unit is set at 2, the stake increases or decreases by two times the initial
stake of 1 USD, meaning it changes by 2 USD.
Profit threshold: The bot will stop trading if your total profit exceeds this
amount.
Loss threshold: The bot will stop trading if your total loss exceeds this
amount.
With Deriv Bot, traders can set the profit and loss thresholds to secure potential
profits and limit potential losses. This means that the trading bot will automatically
stop when either the profit or loss threshold is reached. This is a form of risk
management that can potentially boost successful trades whilst limiting the impact
of loss. For example, if a trader sets the profit threshold at 100 USD and the
strategy exceeds 100 USD of profit from all trades, then the bot will stop running.
The Oscar’s Grind strategy is designed to potentially gain a modest yet steady profit
in each trading session. This strategy splits trades into sessions and has three
principles.
Key Parameters :
These are the trade parameters used for Oscar’s Grind strategy in Deriv Bot.
Initial stake: The amount that you are willing to place as a stake to enter a
trade. This is the starting point for any changes in stake depending on the
dynamic of the strategy being used.
Profit threshold: The bot will stop trading if your total profit exceeds this
amount.
Loss threshold: The bot will stop trading if your total loss exceeds this
amount.
Principle 1: Strategy aims to potentially make one unit of profit per
session
The table above demonstrates this principle by showing that when a
successful trade occurs and meets the target of one unit of potential profit
which is 1 USD in this example, the session ends. If trading continues, a new
session will begin.
Principle 2: The stake only increases when a loss trade is followed
by a successful trade
The table illustrates this principle in the second session. After a trade
resulting in loss in round 4 followed by a successful trade in round 5, the
stake will increase to 2 USD for round 6. This is in line with the strategy's rule
of raising the stake only after a loss is followed by a successful trade.
Principle 3: The stake adjusts to the gap size between current loss
and the target profit for the session
In round 7, the stake is adjusted downwards from 2 USD to 1 USD, to meet
the target profit of 1 USD.
The stake adjustment: target session profit (1 USD) - current session profit (0
USD) = 1 USD
The second session concludes upon reaching the aim of one unit of potential
profit per session, equivalent to 1 USD. If trading continues, a new session
will commence again.
Profits and Loss Limits :
With Deriv Bot, traders can set the profit and loss thresholds to secure potential
profits and limit potential losses. This means that the trading bot will automatically
stop when either the profit or loss threshold is reached. This is a form of risk
management that can potentially boost successful trades whilst limiting the impact
of loss. For example, if a trader sets the profit threshold at 100 USD and the
strategy exceeds 100 USD of profit from all trades, then the bot will stop running.
Summary :
The Oscar's Grind strategy provides a disciplined approach for incremental gains
through systematic stake progression. When integrated into Deriv Bot with proper
risk management like profit or loss thresholds, it offers traders a potentially
powerful automated trading tech
The 1-3-2-6 strategy aims to maximise potential profits with four consecutive successful trades. One unit
is equal to the amount of the initial stake. The stake will adjust from 1 unit to 3 units after the first
successful trade, then to 2 units after your second successful trade, and to 6 units after the third
successful trade. The stake for the next trade will reset to the initial stake if there is a losing trade or a
completion of the trade cycle.
This article explores the strategy integrated into Deriv Bot, a versatile trading bot designed to trade
assets such as Forex, Commodities, and Derived Indices. We will delve into the strategy's core
parameters, its application, and provide essential takeaways for traders looking to use the bot effectively.
Key Parameters :
These are the trade parameters used in Deriv Bot with 1-3-2-6 strategy.
Initial stake: The amount that you are willing to place as a stake to enter a
trade. This is the starting point for any changes in stake depending on the
dynamic of the strategy being used.
Profit threshold: The bot will stop trading if your total profit exceeds this
amount.
Loss threshold: The bot will stop trading if your total loss exceeds this
amount.
Example :
2. If the trade is successful, this strategy will automatically adjust your stake to 3 units of your initial stake
for the next trade. In this case, the stake adjustment is 3 units and the initial stake is 1 USD, hence the
next trade will start at 3 USD.
3. If the second trade is also successful, your stake will adjust to 2 USD or 2 units of the initial stake for
the next trade.
4. However, if any trade results in a loss, your stake will reset back to the initial stake of 1 USD for the
next trade. The third trade results in a loss hence the stake resets to the initial stake of 1 USD for the
next trade.
5. Upon reaching the initial stake, if the next trade still results in a loss, your stake will remain at the
initial stake of 1 USD. This strategy will minimally trade at the initial stake. Refer to the fourth and fifth
trade.
6. If consecutive successful trades were to happen, the stake would follow a sequence of adjustment
from 1 to 3, then 2, and 6 units of initial stake. After 4 consecutive successful trades, it completes one
cycle and then the strategy will repeat itself for another cycle. If any trade results in a loss, your stake will
reset back to the initial stake for the next trade.
The 1-3-2-6 strategy is designed to capitalise on consecutive successful trades while minimising losses
during losing streaks. The rationale behind this strategy lies in statistical probabilities, with adjustments
to stake sizes based on the perceived likelihood of success. There is a higher likelihood of success in the
second trade after one successful trade. Hence the stake adjusts to 3 in the second trade. In the third
trade, the stake adjusts to 2 units due to a lower probability of a successful trade. If the third trade is also
successful, the strategy then allocates all the previous gains (a total of 6 units of initial stake) into the
fourth trade with the aim of doubling the potential profits. If the fourth trade results in a positive
outcome, the strategy helps achieve a total gain of 12 units. However, it is crucial to exercise caution, as
the risk can escalate quickly with this strategy, and any loss in the fourth trade forfeits all previous gains.
With Deriv Bot, traders can set the profit and loss thresholds to secure potential
profits and limit potential losses. This means that the trading bot will automatically
stop when either the profit or loss threshold is reached. This is a form of risk
management that can potentially boost successful trades whilst limiting the impact
of loss. For example, if a trader sets the profit threshold at 100 USD and the
strategy exceeds 100 USD of profit from all trades, then the bot will stop running.
The 1-3-2-6 strategy in trading may offer substantial gains but also comes
with significant risks. Each stake is independent, and the strategy does not
increase your chances of successful trades in the long run. If you encounter a
series of losses, the strategy can lead to significant losses. Therefore, it is
crucial for traders to assess their risk tolerance, practice in a demo account,
utilise profit and loss thresholds, and fully comprehend the strategy before
engaging in real-money trading.
ANOTHER IMPORTANT INFORMATION FOR BOT BUILDER, WHERE IT REFLECTS THE MAIN PAGE TO
INTERACT LIKE FRONT END :
Trade Parameters :
This block is mandatory. It's added to your strategy by default when you create new strategy. You can not
add more than one copy of this block to the canvas.
1. Market
Select your desired market and asset type. For example, Forex > Major pairs > AUD/JPY
2. Trade Type
Select your desired trade type. For example, Up/Down > Rise/Fall
3. Contract Type
Choose what type of contract you want to trade. For example, for the Rise/Fall trade type you can
choose one of three options: Rise, Fall, or Both. Selected option will determine available options for the
Purchase block.
Sets the default time interval for blocks that read list of candles.
Place blocks here to perform tasks once when your bot starts running.
8. Trade Options
The desired duration, stake, prediction, and/or barrier(s) for the contract is defined here.
Restart last trade on error (bot ignores the unsuccessful trade):✓Restart buy/sell on error (disable for be
tter performance):Default Candle Interval:1 minuteContract Type: Trade Type: > Market: > > 1. Trade par
ametersRun once at start:Trade options:
This block is used to define trade options within the Trade parameters root block. Some options are only
applicable for certain trade types. Parameters such as duration and stake are common among most trade
types. Prediction is used for trade types such as Digits, while barrier offsets are for trade types that
involve barriers such as Touch/No Touch, Ends In/Out, etc.
11Duration: Stake:USD
Click the multiplier drop-down menu and choose the multiplier value you want to trade with.
Your potential profit will be multiplied by the multiplier value you’ve chosen.
Your contract is closed automatically when your profit is more than or equals to this
amount. This block can only be used with the multipliers trade type.
Your contract is closed automatically when your loss is more than or equals
to this amount. This block can only be used with the multipliers trade type.
0Stop Loss:USD
Define your trade options such as accumulator and stake. This block can only
be used with the accumulator trade type. If you select another trade type,
this block will be replaced with the Trade options block.
1Growth Rate: Stake:USD
Your contract is closed automatically when your profit is more than or equals to this
amount. This block can only be used with the accumulator trade type.
Purchase Conditions :
This block is mandatory. Only one copy of this block is allowed. It is added to the canvas
by default when you open Deriv Bot.
Purchase
Use this block to purchase the specific contract you want. You may add multiple Purchase blocks
together with conditional blocks to define your purchase conditions. This block can only be used within
the Purchase conditions block.
Purchase
Sell Conditions :
Here is where you can decide to sell your contract before it expires. Only one
copy of this block is allowed.
Use this block to sell your contract at the market price. Selling your contract is optional.
You may choose to sell if the market trend is unfavourable.
Use this block to sell your contract at the market price. Selling your contract is optional.
You may choose to sell if the market trend is unfavourable.
This block is mandatory. Here is where you can decide if your bot should continue
trading. Only one copy of this block is allowed.
This block is commonly used to adjust the parameters of your next trade and to
implement stop loss/take profit logic.
Trade Again :
This block will transfer the control back to the Purchase conditions block, enabling you
to purchase another contract without manually stopping and restarting your bot.
ANALYSIS :
INDICATORS :
SMA adds the market price in a list of ticks or candles for a number of time
periods, and divides the sum by that number of time periods.
10PeriodInput Listsetsmato Simple Moving Average
SMA serves as an indicator of the trend. If the SMA points up then the market
price is increasing and vice versa. The larger the period number, the
smoother SMA line is.
This will display the SMA for the specified period, using a candle list.
You may compare SMA values calculated on every bot run to identify the
market trend direction. Alternatively, you may also use a variation of the
SMA block, the Simple Moving Average Array block.
This block returns the entire SMA line, containing a list of all values for a
given period.
The below image illustrates how Simple Moving Average Array block works:
Last Digit:
This block gives you the last digit of the latest tick value of the selected market. If the
latest tick value is 1410.90, this block will return 0. It’s useful for digit-based contracts
such as Even/Odd, Matches/Differs, or Higher/Lower.
Similar to SMA, this block gives you the entire SMA line containing a list of all
values for a given period.
10PeriodInput Listsetsmaato Simple Moving Average Array
Similar to BB. This block gives you a choice of returning the values of either the lower
band, higher band, or the SMA line in the middle.
EMA is a type of moving average that places more significance on the most recent data
points. It’s also known as the exponentially weighted moving average. EMA is different
from SMA in that it reacts more significantly to recent price changes.
RSI is a technical analysis tool that helps you identify the market trend. It will give you a
value from 0 to 100. An RSI value of 70 and above means that the asset is overbought
and the current trend may reverse, while a value of 30 and below means that the asset
is oversold.
Similar to RSI, this block gives you a list of values for each entry in the input
list.
10PeriodInput Listsetrsiato Relative Strength Index Array
MACD is calculated by subtracting the long-term EMA (26 periods) from the short-term
EMA (12 periods). If the short-term EMA is greater or lower than the long-term EMA than
there’s a possibility of a trend reversal.
Any blocks placed within this block will be executed at every tick. If the default candle
interval is set to 1 minute in the Trade Parameters root block, the instructions in this
block will be executed once every minute. Place this block outside of any root block.
You can check the result of the last trade with this block. It can only be placed within the
"Restart trading conditions" root block.
If "Win" is selected, it will return "True" if your last trade was successful.
Otherwise, it will return an empty string.
If "Loss" is selected, it will return "True" if your last trade was unsuccessful.
Otherwise, it will return an empty string.
Last tick
Current Stat
This block gives you a list of the cuurent stats of the last 1000 tick values.
Current stat list
Tick list
This block gives you a list of the last 1000 tick values.
Ticks list
This block gives you a list of the last digits of the last 1000 tick values.
Last digits list
Market Direction:
This block is used to determine if the market price moves in the selected
direction or not. It gives you a value of "True" or "False".
Direction isRise
Examples:
1. If the selected direction is "Rise", and the previous tick value is less than
the current tick value, the output will be "True". Otherwise, the output will be
an empty string.
2. If the selected direction is "Fall", and the previous tick value is more than
the current tick value, the output will be "True". Otherwise, the output will be
an empty string.
Is Candle Back?
This block returns "True" if the last candle is black. It can be placed
anywhere on the canvas except within the Trade parameters root block.
Is candleblack?
The term "candle" refers to each bar on the candlestick chart. Each candle
represents four market prices for the selected time interval:
Each candlestick on the chart represents 4 market prices for the selected
time interval:
A black (or red) candle indicates that the open price is higher than the close
price. This represents a downward movement of the market price.
A white (or green) candle indicates that the open price is lower than the
close price. This represents an upward movement of the market price.
The time interval for each candle can be set from one minute to one day.
This block gives you the specified candle value for a selected time interval. You can
choose which value you want:
In the example below, the opening price is selected, which is then assigned
to a variable called "op".
This block gives you the selected candle value such as open price, close
price, high price, low price, and open time. It requires a candle as an input
parameter
In this example, the open prices from a list of candles are assigned to a
variable called "cl".
Create a List of candle Values (1)
This block gives you the selected candle value from a list of candles within the selected
time interval. You can choose from open price, close price, high price, low price, and
open time.
In this example, the open prices from a list of candles are assigned to a variable called
"candle_list".
This block gives you the selected candle value from a list of candles. You can choose
from open price, close price, high price, low price, and open time.
In this example, the open prices from a list of candles are assigned to a
variable called "cl".
Get candle :
This block gives you a specific candle from within the selected time interval.
PreviousNext
This block gives you a list of candles within a selected time interval.
In this example, this block is used with another block to get the open prices
from a list of candles. The open prices are then assigned to the variable
called "cl".
Candles List with interval here 2:DefaultMake a list ofOpenvalues from candl
es listsetclto
CONTRACT :
You can check the result of the last trade with this block. It can only be placed within the
"Restart trading conditions" root block.
If "Win" is selected, it will return "True" if your last trade was successful.
Otherwise, it will return an empty string.
If "Loss" is selected, it will return "True" if your last trade was unsuccessful.
Otherwise, it will return an empty string.
Contract Details:
You can choose to see one of the following:
- Contract type: the name of the contract type such as Rise, Fall, Touch, No
Touch, etс.
This block gives you the potential profit or loss if you decide to sell your contract. It can
only be used within the "Sell conditions" root block.
In the example below, the contract will only be sold if the potential profit or
loss is more than the stake.
Potential payout
This block returns the potential payout for the selected trade type. This block
can be used only in the "Purchase conditions" root block.
Payout
Potential payout
This block returns the potential payout for the selected trade type. This block
can be used only in the "Purchase conditions" root block.
Payout
Account Balance:
Total profit/loss
This block gives you the total profit/loss of your trading strategy since your
bot started running. You can reset this by clicking “Clear stats” on the
Transaction Stats window, or by refreshing this page in your browser.
Total profit/loss
Number of runs
This block gives you the total number of times your bot has run. You can
reset this by clicking “Clear stats” on the Transaction Stats window, or by
refreshing this page in your browser.
Number of runs
CUSTOM FUNCTIONS:
Function : do something
This block creates a function, which is a group of instructions that can be executed at
any time. Place other blocks in here to perform any kind of action that you need in your
strategy. When all the instructions in a function have been carried out, your bot will
continue with the remaining blocks in your strategy. Click the “do something” field to
give it a name of your choice. Click the plus icon to send a value (as a named variable)
to your function.
Function that returns a value
This block is similar to the one above, except that this returns a value. The
returned value can be assigned to a variable of your choice.
functiondo something return
Conditional Return: Used within a function block, this block returns a value
when a specific condition is true.
ifreturn
Set Vairable:
setNext%20Trade%20Conditionto
Creating a variable
1. From the block library, enter a name for the new variable and click Create.
Print:
This block displays a dialog box with a customised message. When the dialog box is
displayed, your strategy is paused and will only resume after you click "OK".
Abcprint
Request an Print:
Notify
This block displays a message. You can specify the color of the message and
choose from 6 different sound options.
abcNotifygreenwith sound:Silent
Notify Telegram:
This block sends a message to a Telegram channel. You will need to create your own
Telegram bot to use this block.
Here’s how:
1. Create a Telegram bot and get your Telegram
API token. Read more on how to create bots in
Telegram here:
https://core.telegram.org/bots#6-botfather
2. Start a chat with your newly created Telegram
bot and make sure to send it some messages
before proceeding to the next step. (e.g. Hello
Bot!)
3. Get the chat ID using the Telegram REST API
(read more:
https://core.telegram.org/bots/api#getupdates)
- Visit the following URL, make sure to replace
<access_token> with the Telegram API token
you created in Step 1:
https://api.telegram.org/bot<access_token>/get
Updates
- Find the chat ID property in the response, and
copy the value of the id property
4. Come back to Deriv Bot and add the Notify
Telegram block to the workspace. Paste the
Telegram API token and chat ID into the block
fields accordingly.
access_tokenchat_idEnjoy!Notify TelegramAcces
s Token:Chat ID:Message:
Time:
Math:
Number
Enter an integer or fractional number
into this block. Please use `.` as a
decimal separator for fractional
numbers.
0
Arithmetical operations
This block performs arithmetic
operations between two
numbers.Learn more
11+
Operations on a given number
This block performs the selected
operations to a given number.Learn
more
9square root
Trigonometric functions
This block performs trigonometric
functions.
45sin
Mathematical constants
This block gives you the selected
constant values.
π
Test a number
This block tests a given number
according to the selection and it
returns a value of “True” or “False”.
Available options: Even, Odd, Prime,
Whole, Positive, Negative, Divisible
0iseven
Change variable
This block adds the given number to
the selected variable.
1changeitemby
Aggregate operations
This block performs the following
operations on a given list: sum,
minimum, maximum, average,
median, mode, antimode, standard
deviation, random item.
sumof list
Rounding operation
This block rounds a given number
according to the selection: round,
round up, round down.
3.1round
Remainder after division
Returns the remainder after the
division of the given numbers.
6410remainder of÷
Constrain within a range
This block constrains a given number
so that it is within a set range.Learn
more
constrainlowhigh
Random integer
Text:
Text
A block that can contain text.
abc
Text join
Creates a single text string from
combining the text value of each
attached item, without spaces in
between. The number of items can be
added accordingly.
abcsettextto create text with
Text Append
Appends a given text to a variable.
abctotextappend text
Text String Length
Returns the number of characters of a
given string of text, including
numbers, spaces, punctuation marks,
and symbols.
length of
Text Is empty
Tests whether a string of text is
empty. Returns a boolean value (true
or false).
textis empty
Search for string
Searches through a string of text for a
specific occurrence of a given
character or word, and returns the
position.
in textfindfirstoccurence of text
Get character
Returns the specific character from a
given string of text according to the
selected option.
in textgetletter #
Get substring
Returns a specific portion of a given
string of text.
in textletter #letter #text02
Change text case
LOGIC :
Conditional block
This block evaluates a statement and
will perform an action only when the
statement is true.Learn more
ifthen
Compare
This block compares two values and is
used to build a conditional structure.
=
Logic operation
This block performs the "AND" or the
"OR" logic operation.Learn more
and
Logic negation
This block converts the boolean value
(true or false) to its opposite.
not
True-False
This is a single block that returns a
boolean value, either true or false.
true
Null
LIST :
Create list
This block creates a list with strings
and numbers.
setlistto create list with
Repeat an item
Creates a list with a given item
repeated for a specific number of
times.
5create list with itemrepeatedtimes
List Length
This block gives you the total number
of items in a given list.
length of
Is list empty?
This block checks if a given list is
empty. It returns “True” if the list is
empty, “False” if otherwise.
listis empty
List item position
This block gives you the position of an
item in a given list.
in listfindfirstoccurence of item
Get list item
This block gives you the value of a
specific item in a list, given the
position of the item. It can also
remove the item from the list.
in listget#
Set list item
Repeat (1)
This block repeats the instructions
contained within for a specific number
of times.
repeat10timesdo
Repeat (2)
This block is similar to the block
above, except that the number of
times it repeats is determined by a
given variable.
repeattimesdo
Repeat While/Until
This block repeats instructions as long
as a given condition is true.Learn
more
repeatwhiledo
Iterate (1)
This block uses the variable “i” to
control the iterations. With each
iteration, the value of “i” is
determined by the items in a given
list.Learn more
count withifromtobydo
Iterate (2)
Miscellaneous