Bot parameters.
Buying and selling strategies.

Important
The bots trades only from a long position.
Bots do not close a position at a loss.
The "Account" field displays your account in IBKR TWS. If you have several accounts in the terminal, then you can choose which account the bot will work on.
The “Symbol” field specifies which ticker the bot trades.
In the "Name bot" field, set the unique name of the bot.
In the "Quantity" field, the base lot is specified in the number of shares.
In the "Limit" field, you set a limit on the amount above which the bot cannot spend on buying shares.
Important
The more bots work, the more diversified your trading will be.
Advice
How to set the "Limit" and calculate the "Quantity" for trading?
Divide the amount of money for trading bots into approximately equal parts, each part is the “Limit” of your bot.
Divide the bot's "Limit" into 4-5 parts depending on the market phase. Then divide one part by the share price, this will be “Quantity”.
Example: Let's set the bot's "Limit" to $10,000. If, for example, the price of a share is about $50, then the “Quantity” for trading will be equal to: $10,000 / 5 parts / $50 = 40 shares.
In the “Take profit” field, you set the minimum percentage of profit at which the bot can take profit.
The "Buy extra" field sets the minimum percentage of indentation from purchases at a higher price for additional purchases at a lower price.
Trading example: Pyramid = off, Extra trading = on, Smart trades = off.
In the "Pyramid" field you can set the percentage through which the bot is allowed to increase its position when the stock price rises.
If the "Smart trades" field is checked, the bot will take into account the chart reversal pattern when buying and selling.
Trading example: Pyramid = on, Extra trading = on, Smart trades = on.
If the "Extra trading" field is not checked, the bot will only trade during regular trading hours from 9:30 to 16:00. If the field is checked, the bot will trade in the Early Trading Session, Core Trading Session and Late Trading Session and the total trading period will be from 4:00 to 20:00 US/Eastern time.
Here you can view the exchange's trading schedule.
If the "Smart trades" field is checked, the bot will take into account the model of price turning points when buying and selling in addition to the "Take profit" value.
Using the "Smart Trades" option may not always be justified. If, for example, the range of movement of a stock is small, then the bot may skip some transactions since two conditions “Take profit” and a reversal pattern will not be met simultaneously.
Trading example: "Take profit" + "Smart trades" vs "Take profit" + non-Smart trades.
If the "Smart quantity" field is checked, the bot will buy a larger quantity when making extra purchases of shares at a lower price.
Example: The bot bought 100 shares at $10. Then the stock dropped to $9, so the bot will make an extra purchase: 100 shares x $10 / $9 = 111 shares.
If the “Save shares” field is checked, so that when taking profits the bot saves the profit in shares, do not sell all the shares, but only in case of a purchase. Thus, when selling shares by a bot, the purchase amount spent will result in $0 profit from the shares. This strategy is beneficial for dividend trading incentives. Agree, it’s nice to have dividends from assets for which you have not returned anything.
Example: The bot bought 100 shares at a price of $10. Then the stock rose to $11 and the bot should take profit, each bot will sell: 100 shares - 100 shares x ($11 - $10) / $11 = 91 shares. The bot will then record 9 profit shares in the database in the “Save” field.
To find out whether a database is needed and how it works, read Why is a database needed?