# Order Entry for CQG

### [Quick order entry](#quick-order-entry)

### [Keyboard trading](#keyboard-trading)

### [How to place an OCO order](#how-to-place-an-oco-order)

## **General view of the Order Entry panel with CQG connection**

![General view of Order Entry panel with CQG connection](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-MfHIQyjYV9XaCCnL6VE%2F-MfIqGBqSGVcD6CNnr4e%2Fimage.png?alt=media\&token=43d18a6f-6556-45b6-acc0-740b3892d5eb)

The entire panel is conventionally divided into several **zones**:

* choice of trading instrument and trading account;
* setting the required order type, TIF condition, order quantity, and the order side (Buy or Sell);
* setting of the order price, stop loss and take profit prices;
* order placing strategy for advanced trading algorithms
* information on current Ask and Bid prices, spread size, as well as an order placement button

## CQG OrderTypes, Time in Force (TIF), Algorithmic in Quantower

CQG provides various order types for trading via the Order Entry panel:

* Market order
* Limit order
* Stop order
* Stop limit order

![Order types in Quantower for CQG connection](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-MZYMTlz7SN30U3QvdpH%2F-MZYNJcVUK8cnnzRXnO8%2Fimage.png?alt=media\&token=27e50a75-dea5-4299-86a7-8e2a576667b7)

**Time-in-force (TIF)** instructions define the length of time over which an order will continue working before it is canceled. CQG provides various TIFs:

![Time in Force (TIFs) for CQG connection](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-MZZETSNUIfSiLLs8TYB%2F-MZZO3Gg6qhGcvJY1ScE%2Fimage.png?alt=media\&token=638fe339-bb21-4eb6-acb3-09585fccc288)

* **GTC (Good till canceled)** — orders will remain working until they are canceled by trader or the contract expires;
* **FOK (or Fill or Kill)** —  order will be canceled if it is not executed in the entire volume as soon as it becomes available;
* **IOC (Immediate or cancel)** — requires that any portion of an order that is not filled as soon as it becomes available in the market is canceled;
* **DAY** — order will be canceled if it is not executed within the current trading day;
* **GTD (Good till date)** — order will remain working within the system and in the marketplace, until it executes or until the close of the market on the date specified.
* **GTT (Good till time)** — order that remains open until a specified time. At that time, any unfilled lots are canceled.
* **FAK** (**Fill and Kill)** — orders require that any remaining quantity after a partial fill be canceled.
* **ATC (At the Close Order)** — order to buy or sell a stock at the closing price. One of the benefits of this type of order is that it can be placed prior to the actual end of the trading day requested. This would be the opposite of an at-the-open order.
* **ATO (At-The-Open Order)** — order to buy or sell a stock at the opening price. ATO order is allowed during pre-open sessions (morning and afternoon) or even the night before.

Algorithmic orders for CQG

### **How to set TP (take profit) and SL (stop loss)**

To set a bracket order with Sl and Tp, follow these steps as shown in the picture below:&#x20;

* Set the necessary lot to enter&#x20;
* Set Sl in pips&#x20;
* Set Tp in pips

If one of the orders Sl or Tp is executed, the opposite order will be automatically deleted.

### How to set up multiple TP and SL orders for one position

![](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-MfX-MQkqTSH3Ekb1Cz0%2F-MfX2hEyRUpJiM_qnsm-%2F%D0%90%D0%BD%D0%B8%D0%BC%D0%B0%D1%86%D0%B8%D1%8F%20\(1\).gif?alt=media\&token=85b0da3a-5a40-4053-8418-e4d4ff5ff506)

Тo set multiple stop orders or take profit for a single position, you need to switch the **Brackets** to the **Multiple mode**:

* Set the quantity of the initial position.&#x20;
* For the next stops, enter similar data on the next line.
* You can set orders in multiples of your total volume

## **How to place an order from the Chart trading sidebar**

The general view of the Chart trading sidebar for AMP/CQG connection looks like the following and is divided into the following categories:&#x20;

* Account and symbol selection&#x20;
* Order volume selection, TIF, algorithmic settings
* Brackets Mode for Stop Loss and Take Profit.&#x20;
* Order placement parameters (strategy)
* Quick buttons for managing existed orders and positions

![Sidebar Order Entry on the chart ](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-MflvbF6YmihzMyE-XvP%2F-Mfm7BODfKJWR11-7D6Y%2Fimage.png?alt=media\&token=127fba30-df41-4681-95e8-bd1f756a35a0)

### **Quick order quantity buttons**

To set an order, you need to specify the volume in lots according to the chosen symbol. You can do this in several ways.&#x20;

* Specify the volume directly in the quantyti field&#x20;
* Preset your normal trading volume in lots.

![](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-MfXQUPqIpn2HjQjcKhW%2F-MfXUCyfC4H0ryydh3AK%2Fimage.png?alt=media\&token=5df2d114-b201-4bf5-94a6-410bff94d811)

### Quick change order amount buttons&#x20;

The quick change order amount buttons will help you change the specified volume in one click, based on your trading strategy. You can set by default any parameters that you need to quickly change the values. Moreover, the buttons can change not only the specified position volume, but also apply any (!!!) formulas to calculate the order volume. To set your personal values for a quick change of the order, you need to go to the settings of the chart in the menu section "Order entry" and find the field "OE buttons"

![](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-MfXQUPqIpn2HjQjcKhW%2F-MfXUiYsIAzS_5mltVi3%2F%D0%90%D0%BD%D0%B8%D0%BC%D0%B0%D1%86%D0%B8%D1%8F%20\(2\).gif?alt=media\&token=3dc16979-0ad3-4757-95ef-7e30fd67c1b2)

You can set standard values of the order amount, which corresponds to your risks. This is very convenient for manual trading.

{% hint style="success" %}
Buttons can change not only to a given amount of position, but also apply any formulas
{% endhint %}

### How to set up Profit and Stop orders&#x20;

Then you can set **automatic stop loss and profit** in pips. It's very convenient to set the lot size and protect it. Specify your values in the appropriate fields.

* Use the Qquick Ttrade toolbar&#x20;
* Set your values for stop loss or profit. You can also use any one parameter only.&#x20;
* Execute an order on the market

![](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-MfX_DtsLTlL4lcF1gAg%2F-MfXdMyj37kP4WqnzPi-%2F%D0%90%D0%BD%D0%B8%D0%BC%D0%B0%D1%86%D0%B8%D1%8F%20\(5\).gif?alt=media\&token=1705b07c-6346-47a3-89a9-676737547adb)

### How to set up  **several** Profit and Stop orders foe one position

![](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-MfX_DtsLTlL4lcF1gAg%2F-MfXdxy6--XD-kjpk1jP%2F%D0%90%D0%BD%D0%B8%D0%BC%D0%B0%D1%86%D0%B8%D1%8F%20\(6\).gif?alt=media\&token=bcb1d18c-59e2-4afd-8d83-cc57a7d62244)

To set multiple **Stop loss and Take profit** **orders** for a single position, do the following :

* Press the multi-mode button
* Enter data for setting the first limit orders and how many lots should be
* For the next Stop loss orders, enter similar data on the next line.
* Execute an order on the market

### **Quickly placing orde**r buttons

1. Next comes a block of buttons for **quickly placing an orde**r

![](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-MfXWyVWkHE1_dgrPTiF%2F-MfXXaWToYhTOrWimM-8%2Fimage.png?alt=media\&token=f4c32542-2ddc-467a-9f8d-170faa82f53a)

2\.  Next comes a large block of functions for managing the current position. You can cancel or limit orders or stops. You can also reverse your position with one button or set it to break even. These are very functional buttons, do not miss them.

## Mouse trading

### How to set up Profit and Stop orders for limit order

You can set **automatic stop loss and profit** in pips. It's very convenient to set the lot size and protect it. Specify your values in the appropriate fields.

![](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-McEd0jG8-qUqMa3ZDmt%2F-McEpLAiLffvt_eH0I2o%2F%D0%90%D0%BD%D0%B8%D0%BC%D0%B0%D1%86%D0%B8%D1%8F%20\(3\).gif?alt=media\&token=bcbaa4c1-03d5-4107-9c68-ab9ccfca8f85)

* Use the Quick trade toolbar&#x20;
* Set your values for stop loss and profit. You can also use any one parameter only.&#x20;
* Use the **mouse trading button** to activate the trade with the mouse to set a limit order

{% hint style="warning" %}
If you execute an order at market, the specified stop parameters will keep their values and will be set immediately.
{% endhint %}

### How to set up several Profit and Stop orders for the limit order

![](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-McEd0jG8-qUqMa3ZDmt%2F-McEs_Q8n1MAh1RK4lVW%2F%D0%90%D0%BD%D0%B8%D0%BC%D0%B0%D1%86%D0%B8%D1%8F%20\(4\).gif?alt=media\&token=df3f2315-1da9-44e2-8dec-e2a284fec51a)

To set multiple **Stop loss and Take profit** **orders** for a single position, do the following :

* Press the multi-mode button
* Enter data for setting the first limit orders and how many lots should be
* For the next Stop loss orders, enter similar data on the next line.
* You can set orders in multiples of your total volume.

### **How to set up many limit orders**

![](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-MfXYd0qZdyX3sXiRCHL%2F-MfXYtsXkUrqvahXUKpc%2F%D0%90%D0%BD%D0%B8%D0%BC%D0%B0%D1%86%D0%B8%D1%8F%20\(4\).gif?alt=media\&token=f7804d57-6fc8-4686-9d2c-14e8d457109b)

{% hint style="warning" %}
To place several orders in a row hold down CTRL
{% endhint %}

If the mouse position i**s higher than the current price** then&#x20;

* right click of the mouse will set a **Sell limit order**&#x20;
* left click of the mouse will set a **Buy stop marke**t order

If position of the mouse is **under the current price** then

* right click of the mouse will set **Sell stop market**&#x20;
* left click of the mouse will set **Buy limit order**

## Quick order entry

### How to open Quick order entry

To access the quick trade toolbar, click the button in the upper right corner. If you don't see this button, turn it on in the[ settings](https://help.quantower.com/quantower/analytics-panels/chart/chart-settings)

![](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-MfY76Syl6fHkI2k_xed%2F-MfY9A-tvEq7Q8WJ9zPH%2F%D0%90%D0%BD%D0%B8%D0%BC%D0%B0%D1%86%D0%B8%D1%8F%20\(8\).gif?alt=media\&token=b36da019-c1c9-4850-92fc-b56842863f51)

### How to set volume quantity

{% hint style="warning" %}
Note that in order to make a transaction from the Quick order entry panel, you must enter the lot volume. And this volume does not coincide with the Quick trading panel&#x20;
{% endhint %}

## Keyboard trading

### How to activate trading with hot keys

To access the quick trade toolbar, click the button in the upper right corner. If you don't see this button, turn it on in the[ settings](https://help.quantower.com/quantower/analytics-panels/chart/chart-settings)

![](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-MfXf55zveocE_Usx09_%2F-MfXfzLAos6X54rFMf6U%2Fimage.png?alt=media\&token=7e913da8-3b21-4871-9fb5-82cf3216e0c0)

You can set your own values for the hot buttons in the chart settings

## How to place an OCO order

{% embed url="<https://youtu.be/GrJBUYSxvHE>" %}
