0% found this document useful (0 votes)
3 views

Getting Started

The document provides a comprehensive guide on working with charts and technical indicators in trading. It explains the functionality of various technical indicators, their calculation methods, and how to utilize them for trading decisions. Additionally, it covers trading operations, order types, and the mechanics of opening, modifying, and closing trade positions.

Uploaded by

jiaqing.peng
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Getting Started

The document provides a comprehensive guide on working with charts and technical indicators in trading. It explains the functionality of various technical indicators, their calculation methods, and how to utilize them for trading decisions. Additionally, it covers trading operations, order types, and the mechanics of opening, modifying, and closing trade positions.

Uploaded by

jiaqing.peng
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 27

Getting Started

Working with Charts


Chart Opening
Setup
Chart Management
Publishing Charts Online
Quick Trading
Chart Print
Deleted Charts
Templates and Profiles

Analytics

Graphical objects

Technical Indicators
Technical indicator is a mathematical manipulation of a security price and/or volumes aimed at
forecasting of future price changes. Decisions about how and when to open or close positions can
be made on basis of signals from technical indicators. According to their functionalities, indicators
can be divided into two groups: trend indicators and oscillators. Trend indicators help to assess the
price direction and detect the turn moments synchronously or with a delay. Oscillators allow to
find the turning moments ahead or synchronously.

Indicators are imposed into the chart from the "Navigator" window by means of Drag`n`Drop
technique, by execution of the "Insert – Indicators" menu command, or by pressing of the
tb_charts_indicators button of the "Charts" toolbar. A technical indicator can be drawn in a
separate indicator window that has a specific vertical scale (for example, MACD)

or it can be imposed directly into the price chart (for example,


Moving Average).
At that, indicators can be drawn not only for price data and derivatives thereof (Median Price,
Typical Price, Weighted Close), but also for other indicators. For example, Moving Average for
Awesome Oscillator can be drawn, and a signal line can be obtained additionally to AO in this way.
To do so, one has to draw AO indicator first, and then, using Drag`n`Drop technique, impose MA
into AO and select "Previous Indicator Data" option in its settings in the "Apply to" option. If the
"First Indicator Data" option is selected, MA will be drawn on basis of data of the very first
imposed indicator that can be other than AO.

Besides analytical parameters, one can set colors for various elements, thickness of lines, and sizes
of signs used, at setting up of the indicator. Moreover, the visualization mode of the object for
different timeframes can be changed in the "Visualization" tab. At that, indicator will be shown on
at timeframes that have been selected. This function can be useful if the tool has different settings
for different timeframes. Using the "Show in the Data Window" option in the same tab, one can
control over visualization of information about indicators in the "Data Window".

All settings can be changed. To do so, one has to select the desired indicator in the "Indicators List"
window and press the "Edit" button or execute the "Properties..." command of the indicator
context menu.
Indicator context menu can be called by clicking with the right mouse button on a line, sign, or
diagram of the desired indicator. To remove an indicator, one has to execute the "Delete Indicator"
indicator context menu command or the "Delete Indicator Window" command in the chart or
indicator context menus. The "Delete Indicator Window" command closes the indicator window.

Attention: Having placed cursor near a line, a sign, or a column border of an


indicator histogram, one can determine precise value of this given indicator in this point.
Acceleration/Deceleration Oscillator (AC)

Accumulation/Distribution

Average Directional Movement Index (ADX)

Average True Range (ATR)

Awesome Oscillator (AO)

Bears Power

Bollinger Bands (BB)

Bulls Power

Commodity Channel Index (CCI)

Demarker

Envelopes
Force Index

Fractals

Gator Oscillator

Ichimoku Kinko Hy

Market Facilitation Index (BW MFI)

Momentum

Money Flow Index (MFI)

Moving Average

The Moving Average Technical Indicator shows the mean instrument price
value for a certain period of time. When one calculates the moving average,
one averages out the instrument price for this time period. As the price
changes, its moving average either increases, or decreases.
There are four different types of moving averages: Simple (also referred to as
Arithmetic), Exponential, Smoothed and Linear Weighted. Moving averages
may be calculated for any sequential data set, including opening and closing
prices, highest and lowest prices, trading volume or any other indicators. It is
often the case when double moving averages are used.
The only thing where moving averages of different types diverge considerably
from each other, is when weight coefficients, which are assigned to the latest
data, are different. In case we are talking of simple moving average, all prices
of the time period in question, are equal in value. Exponential and Linear
Weighted Moving Averages attach more value to the latest prices.
The most common way to interpreting the price moving average is to
compare its dynamics to the price action. When the instrument price rises
above its moving average, a buy signal appears, if the price falls below its
moving average, what we have is a sell signal.
This trading system, which is based on the moving average, is not designed
to provide entrance into the market right in its lowest point, and its exit right
on the peak. It allows to act according to the following trend: to buy soon
after the prices reach the bottom, and to sell soon after the prices have
reached their peak.
Moving averages may also be applied to indicators. That is where the
interpretation of indicator moving averages is similar to the interpretation of
price moving averages: if the indicator rises above its moving average, that
means that the ascending indicator movement is likely to continue: if the
indicator falls below its moving average, this means that it is likely to
continue going downward.
Here are the types of moving averages on the chart:
 Simple Moving Average (SMA)
 Exponential Moving Average (EMA)
 Smoothed Moving Average (SMMA)
 Linear Weighted Moving Average (LWMA)
Calculation

Simple Moving Average (SMA)

Simple, in other words, arithmetical moving average is calculated by summing up the prices of
instrument closure over a certain number of single periods (for instance, 12 hours). This value is
then divided by the number of such periods.

SMA = SUM(CLOSE, N) / N

Where:
N — is the number of calculation periods.

Exponential Moving Average (EMA)

Exponentially smoothed moving average is calculated by adding the moving average of a certain
share of the current closing price to the previous value. With exponentially smoothed moving
averages, the latest prices are of more value. P-percent exponential moving average will look like:

EMA = (CLOSE(i) * P) + (EMA(i - 1) * (100 - P))

Where:
CLOSE(i) — the price of the current period closure;
EMA(i-1) — Exponentially Moving Average of the previous period closure;
P — the percentage of using the price value.

Smoothed Moving Average (SMMA)

The first value of this smoothed moving average is calculated as the simple moving average (SMA):

SUM1 = SUM(CLOSE, N)

SMMA1 = SUM1/N

The second and succeeding moving averages are calculated according to this formula:

PREVSUM = SMMA(i - 1) * N

SMMA(i) = (PREVSUM - SMMA(i - 1) + CLOSE(i)) / N

Where:
SUM1 — is the total sum of closing prices for N periods;
PREVSUM — smoothed sum of previous bar;
SMMA1 — is the smoothed moving average of the first bar;
SMMA(i) — is the smoothed moving average of the current bar (except for the first one);
CLOSE(i) — is the current closing price;
N — is the smoothing period.

The formula can be simplified as a result of arithmetic manipulations:

SMMA (i) = (SMMA(i - 1) * (N - 1) + CLOSE (i)) / N

Linear Weighted Moving Average (LWMA)

In the case of weighted moving average, the latest data is of more value than more early data.
Weighted moving average is calculated by multiplying each one of the closing prices within the
considered series, by a certain weight coefficient.

LWMA = SUM(Close(i)*i, N) / SUM(i, N)

Where:
SUM(i, N) — is the total sum of weight coefficients.

Moving Average Convergence/Divergence


Moving Average of Oscillator
On Balance Volume Technical Indicator (OBV)
Parabolic SAR

Relative Strength Index (RSI)


The Relative Strength Index Technical Indicator (RSI) is a price-following oscillator that ranges
between 0 and 100. When Wilder introduced the Relative Strength Index, he recommended using
a 14-day RSI. Since then, the 9-day and 25-day Relative Strength Index indicators have also gained
popularity.

A popular method of analyzing the RSI is to look for a divergence in which the security is making a
new high, but the RSI is failing to surpass its previous high. This divergence is an indication of an
impending reversal. When the Relative Strength Index then turns down and falls below its most
recent trough, it is said to have completed a "failure swing". The failure swing is considered a
confirmation of the impending reversal.

Ways to use Relative Strength Index for chart analysis:


•Tops and bottoms
The Relative Strength Index usually tops above 70 and bottoms below 30. It usually forms these
tops and bottoms before the underlying price chart;
•Chart Formations
The RSI often forms chart patterns such as head and shoulders or triangles that may or may not be
visible on the price chart;
•Failure swing (Support or Resistance penetrations or breakouts)
This is where the Relative Strength Index surpasses a previous high (peak) or falls below a recent
low (trough);
•Support and Resistance levels
The Relative Strength Index shows, sometimes more clearly than price themselves, levels of
support and resistance.
•Divergences
As discussed above, divergences occur when the price makes a new high (or low) that is not
confirmed by a new high (or low) in the Relative Strength Index. Prices usually correct and move in
the direction of the RSI.
Calculation
RSI = 100-(100/(1+U/D))
Where:
U — is the average number of positive price changes;
D — is the average number of negative price changes.

Relative Vigor Index Technical Indicator (RVI)


Standard Deviation

Stochastic Oscillator

Williams’ Percent Range Technical Indicator (%R)

Trading
The fundamental and simple rule of profitable trading at financial markets is to buy cheaper and
sell dearer. Thus, the entire trading activities at financial markets come to the successive
operations performed to sell or buy securities. To do so, one has to open, modify, and close trade
positions. Trade position is a market commitment (order), the number of bought or sold contracts
for which no set-off transactions have been made. The entire trading in the terminal is
implemented through trade positions.
To open a trade position, one has to make a transaction, and to close a position, one has to make an inverse
operation. A position can be opened by a brokerage company at a market order or at execution of a pending order.
An open position can be modified if values of the Stop Loss and Take Profit orders levels attached to the position
are changed. Positions can be closed on the trader's demand or at execution of Stop Loss or Take Profit orders.
Besides, positions can be opened, modified, or closed with an expert advisor — this mechanism is described in
another section.

Order Types
Client terminal allows to prepare requests and request the broker for execution of trading operations. Moreover,
terminal allows to control and manage open positions. For these purposes, several types of trading orders are
used. Order is a client's commitment to brokerage company to perform a trade operation. The following orders are
used in the terminal: Market order, Pending order, Stop Loss and Take Profit.

Market Order

Market order is a commitment to the brokerage company to buy or sell a security at the current price. Execution of
this order results in opening of a trade position. Securities are bought at ASK price and sold at BID price. Stop Loss
and Take Profit can be attached to a market order. Execution mode of market orders depends on security traded.
Pending Order
Pending order is the client’s commitment to the brokerage company to buy or sell a security at predefined price in
the future. This type of orders is used for opening of a trade position provided the future quotes reach the
predefined level. There are four types of pending orders available in the terminal:

 Buy Limit -- buy provided the future “ASK” price is equal to the predefined value. The current price level is
higher than the value of the placed order. Orders of this type are usually placed in anticipation of that the
security price, having fallen to a certain level,will increase;
 Buy Stop -- buy provided the future “ASK” price is equal to the predefined value. The current price level is
lower than the value of the placed order. Orders of this type are usually placed in anticipation of that the
security price,having reached a certain level,will keep on increasing;

 Sell Limit -- sell provided the future "BID" price is equal to the predefined value. The current price level is
lower than the value of the placed order. Orders of this type are usually placed in anticipation of that the
security price, having increased to a certain level, will fall;
 Sell Stop -- sell provided the future "BID" price is equal to the predefined value. The current price level is
higher than the value of the placed order. Orders of this type are usually placed in anticipation of that the
security price, having reached a certain level, will keep on falling.

Orders of Stop Loss and Take Profit can be attached to a pending order. After a pending order has triggered, its Stop Loss and Take Profit

levels will be attached to the open position automatically.

Stop Loss
This order is used for minimizing of losses if the security price has started to move in an unprofitable direction. If
the security price reaches this level, the position will be closed automatically. Such orders are always connected to
an open position or a pending order. The brokerage company can place them only together with a market or a
pending order. Terminal checks long positions with BID price for meeting of this order provisions (the order is
always set below the current BID price), and it does with ASK price for short positions (the order is always set
above the current ASK price).
To automate Stop Loss order following the price, one can use Trailing Stop.
Take Profit
Take Profit order is intended for gaining the profit when the security price has reached a certain level. Execution of
this order results in closing of the position. It is always connected to an open position or a pending order. The order
can be requested only together with a market or a pending order. Terminal checks long positions with BID price for
meeting of this order provisions (the order is always set above the current BID price), and it does with ASK price for
short positions (the order is always set below the current ASK price).
Attention:

execution prices for all trade operations are defined by the broker;

Stop Loss and Take Profit orders can only be executed for an open position, but not for pending orders;

history charts are drawn only for BID prices in the terminal. At that, a part of orders shown in charts is drawn for ASK prices. To enable

displaying of the latest bar ASK price, one has to flag the "Show Ask line" in the terminal settings.

Trailing Stop
Stop Loss is intended for reducing of losses where the symbol price moves in an unprofitable direction. If the
position becomes profitable, Stop Loss can be manually shifted to a break-even level. To automate this process,
Trailing Stop was created. This tool is especially useful when price changes strongly in the same direction or when
it is impossible to watch the market continuously for some reason

Trailing Stop is always attached to an open position and works in client terminal, not at the server like Stop Loss, for
example. To set the trailing stop, one has to execute the open position context menu command of the same name
in the "Terminal" window. Then one has to select the desirable value of distance between the Stop Loss level and
the current price in the list opened. Only one trailing stop can be set for each open position.
After the above actions have been performed, at incoming of new quotes, the terminal checks whether the open
position is profitable. As soon as profit in points becomes equal to or higher than the specified level, command to
place the Stop Loss order will be given automatically. The order level is set at the specified distance from the
current price. Further, if price changes in the more profitable direction, trailing stop will make the Stop Loss level
follow the price automatically, but if profitability of the position falls, the order will not be modified anymore. Thus,
the profit of the trade position is fixed automatically. After each automatic Stop Loss order modification, a record
will be made in the terminal journal.
Trailing stop can be disabled by setting "None" in managing menu. And trailing stops of all open positions and
pending orders will be disabled if the "Delete All" command of the same menu has been executed.

Trailing Stop works in the client terminal, not in the server (like Stop Loss or Take Profit). This is why it will not work, unlike the above
orders, if the terminal is off. In this case, only the Stop Loss level will trigger that has been set by trailing stop.

Trailing Stop is processed once per tick. If multiple orders with Trailing Stop are open for one symbol, only the trailing stop of the latest

open order is processed.

Types of Execution
There are three order execution modes in the client terminal:
Instant Execution
In this mode, the order is executed at the price offered to the broker. At sending the order to be executed, terminal
sets the current prices in the order. If broker accepts the prices, the order will be executed. If not, the so-called
"Requote" will occur: Broker returns prices at which the order can be executed.
Execution on Request
In this mode, the market order is executed at the price previously received from the broker. Prices for a certain
market order are requested from the broker before the order is sent. When the prices comes, order execution at
the given price can be either confirmed or rejected.
Execution by Market
In this order execution mode, broker makes a decision about the order execution price without any additional
discussion with the trader. Sending of the order in such a mode means advance consent to its execution at this
price.
Attention: Execution mode for each security is defined by the brokerage company.

Trade Positions
The fundamental and simple rule of profitable trading at financial markets is to buy cheaper and sell dearer. Thus,
the entire trading activities at financial markets come to the successive operations performed to sell or buy
securities. To do so, one has to open, modify, and close trade positions. Trade position is a market commitment
(order), the number of bought or sold contracts for which no set-off transactions have been made. The entire
trading in the terminal is implemented through trade positions. Client Terminal gives a large amount of
opportunities in controlling and managing trade positions. Trader gives instructions (orders), and brokerage
company opens or closes a position. Managing trade positions consists in:
•opening of a position — buying or selling of a security as a result of a market or a pending order execution;
•modifying of a position — changing of the Stop Loss and Take Profit levels attached to the open position;
•placing of pending orders — placing of pending orders like Buy Limit, Buy Stop, Sell Limit, or Sell Stop;
•modifying and deletion of pending orders — modifying or deletion of pending orders that did not trigger;
•closing of a position — buying or selling a security in order to close the existing open position.

Open Positions
Opening of a position, or entering the market, is the first buying or selling of a certain amount of the security
traded. Position can be opened either by execution of a market order or by automatic triggering of a pending
order.
Market Order
To open a position using a market order, one has to execute the "Tools — New Order" menu command, press the
New Order button of the "Standard" toolbar, press F9, or double-click on the symbol name in the "Market Watch"
window. One can also execute the "New Order" context menu command of the windows of "Market Watch" and
"Terminal — Trade". At that, the "Order" window will open that is used for managing trade positions.

When opening a position, one has to:


•Symbol — select a security symbol for which the position is to be opened;
•Volume — specify the trade volume (amount of lots);
•Stop Loss — set the Stop Loss level (optionally);
•Take Profit — set the Take Profit level (optionally);

Attention: Zero values of Stop Loss/Take Profit orders mean that the orders have not been placed at all.

•Comment — write a comment (optionally). The comment length may not exceed 25 characters. The brokerage
company may add a comment not above 6 characters long, or it can completely replace the existing one. After a
position has been opened, the comment cannot be changed;
•Type — the execution mode specified by the broker for the given symbol is displayed in this filed on default.
You can also choose the "Pending order" in the list here, which allows you to go to placing a pending order.
•Enable maximum deviation from quoted price — enable/disable the use of deviation. If a broker requotes the
price of order execution, the deviation of the new price from the quoted before will be calculated. At that, if the
deviation is below or equal to the specified parameter, the order will be executed at the new price without any
additional notifying. Otherwise, the broker returns new prices at which the order can be executed;
•Maximum deviation — the value of maximum permissible deviation in pips.
•Price deviation at placing of orders is used only in the instant execution mode.
•The trade window displays current best Bid and Ask price (except for the Execution on Request mode).
After all necessary data have been specified, one has to press the "Sell" or "Buy" button. At that, the order for
opening of a short or long position, respectively, will be sent to the broker.
Once the order is sent the window will display the result of its execution — a successful trade operation or a
reason why it has not been executed. If the "One click trading" option is enabled and the order has been
successfully executed the trading window is closed right away without displaying the execution result.

Attention: If orders for a given symbol are executed at request, it is necessary to press the "Request" button to
receive quotes first. Quotes offered after requesting will be active for just a few seconds. If no decision is made
within these seconds, "Sell" and "Buy" buttons will be locked again.

If the Stop Loss or Take Profit level is too close to the current price at opening of a position, the message of "Invalid
S/L or T/P" will appear. It is necessary to shift levels from the current price and re-request for placing of the order. A
trade position will be opened after the brokerage company has made a trade and set Stop Loss and Take Profit. At
that, the status bar of the opened position will appear in the "Terminal — Trade" tab, and open price, Stop Loss
and Take Profit levels will be shown in the chart (if the "Show trade levels" option is enabled).
Pending Orders
To open a position with a pending order, one has to place it first as described in the "Placing of Pending Order"
section. If the current prices meet its provisions, the pending order will be executed automatically, i.e., a new trade
position will be opened. At that, the status bar of the pending order will be deleted in the "Terminal — Trade" tab,
and the newly opened position status bar will appear. If Stop Loss and Take Profit orders were attached to the
pending order, they will be attached to the new position automatically.

Modifying of Positions
Modifying of the current position consists in setting of new levels of Stop Loss or Take Profit attached to it. To
modify a position, one has to execute the "Modify or Delete Order" command of the opened position context
menu or doulbe-click with the left mouse button in the fields of "Stop Loss" or "Take Profit" of the opened position
line in the "Terminal" window.

Then, one has to set new values of Stop Loss or Take Profit and press the "Modify" button.
To change the Stop Loss or Take Profit values, one has to enter the new values in the corresponding fields. To place
the order in points from the current price, one has to set the desired value in the "Level" field and press the "Copy
as" button. If values of these fields are zero, the minimum permissible deviation is used to be set by broker.
If Stop Loss or Take Profit level is too close to the current price, the "Modify" button will be locked. It is necessary
to shift levels from the current price and re-request for position modifying. A trade position will be modified after
the brokerage company has set a new value for Stop Loss or Take Profit, or both. Values in the fields of "S/L" and
"T/P" will be changed in the opened position status bar in the "Terminal — Trade" tab. At that, levels of the
modified orders will be changed if the "Show trade levels" option is enabled.
Attention: Zero values in the fields of "Stop Loss" and "Take Profit" mean that these orders were not placed.

Position Close
Buying or selling of a security opens a trade position. Then, in order to gain profit of the bid-and-ask price
differences, one has to close the position. The latter trade operation is reverse towards to former one. For
example, if the former operation consisted in buying of one lot of GOLD, then one lot of the same symbol must be
sold to close the position. Positions can be closed differently in the client terminal: It can be closing of a single
position, closing of a position by an opposite position, and multiple close by several positions.

Single Position Closing


A single open trade position will be closed automatically if prices equal to values of Stop Loss or Take Profit.
Attention: When a long position is being closed, the Bid price must equal to the value of Stop Loss or Take Profit,
and Ask price must do for short positions.
To close a position manually, one has to execute the opened position context menu command of the "Terminal —
Trade" window or double-click with the left mouse button on this position.
If trade operations for a certain symbol are executed on request, one has first to receive quotes by pressing of the
"Request" button. This activates the button that allows to close position.

Attention:
•in the "Execution on request" mode, the offered quotes will be active for just a few seconds. If no decision has
been made within these seconds, the "Close... " button will be locked again;
•client terminal allows to close positions partially. To do so, one has to specify the amount of lots less than that
given for the opened position in the "Volume" field before pressing of the "Close... " button;
•broker can close positions, as well. For example, it can be done when prices reach the "Stop Out" level that was set
by the broker;
•history charts are drawn only on BID prices in the terminal. At that, a part of orders shown in charts is drawn on
ASK prices. To get ASK price of the latest bar shown, one has to flag "Show Ask line" option in the terminal settings.

Close by Opposite Positions


Opposite position towards the given one is a reverse position for the same symbol. If there is one or more opposite
positions among the open positions, one can close the selected position by and together with an opposite one. To
do so, one has first to open the "Order" window (as described above).
Then, the "Close by" must be selected in the "Type" field. After that, the list of all opposite positions will appear in
the lower part of the window. One has to select an opposite position in this list, and after that the "Close... "
button will be activated. It allows to close two positions at the same time. Only one of two opposite positions with
different amounts of lots to be traded will remain. The volume (amount of lots) of this position will equal to the
difference between lots of the two closed positions, and its direction and open price (short or long) will
correspond with those of the larger (in volume) of two closed positions.

Multiple Close by Opposite Positions


Multiple close of several opposite positions allows to close more than two opposite positions at the same time. To
perform this operation, one has also to open the "Order" window (as described above). Then the "Multiple close
by" must be selected in the "Type" window. At that, the list of all opposite positions will appear in the lower part of
the window, and the "Multiple close by... " button will be active. It allows to close opposite positions. Positions will
be closed in pairs, according to the open time, and they will be closed as described above for two opposite
positions. If the difference between the sums of volumes is not zero, a new position will be opened as a result of
the operation, the volume being equal to this difference. The newly opened position will participate in the multiple
close process, but according to its open time, and so on until all positions are closed or the last resulting position is
opened.
Attention: After opposite positions have been closed, the corresponding records will be made in the "Terminal —
Account History" window. At that, overhead information about closing of opposite positions will be entered in the
"Comment" field.

Placing of Pending Orders


To place a pending order, one has to open the "Order" window. This can be done by the "Tools — New Order"
menu command, the New Order button of the "Standard" toolbar, by pressing of F9, by the "New Order" command
of the "Market Watch" and "Terminal — Trade" window context menus, as well as by double-clicking on the symbol
name in the "Market Watch" window. "Pending Order" must be selected in the "Type" field of this window.
Further, a security (symbol) must be selected, the volume and values of Stop Loss and Take Profit orders
must be specified. If necessary, a comment can be written in the field of the same name. In the "Pending
Order" fields one has to:
•Type — select a type of pending order: Buy Limit, Buy Stop, Sell Limit, or Sell Stop;
•at price — set the price level at which the order must trigger;
•Expiry — set the expiry time of the order. If the order has not triggered by this time, it will be deleted
automatically.
Attention: Order may not expire earlier than in 10 minutes!
The "Place" button will send the order to be executed what is performed in two stages. First, the brokerage
company places the order after it has been sent. At that, a line containing the number and status of the
pending order will appear in the "Terminal — Trade" tab. If the "Show trade levels" option is enabled, levels
of the placed pending order (including levels of Stop Loss and Take Profit) will be shown in the chart. At the
second stage, if prices correspond with the order provisions, it will be deleted and a trade position will be
opened instead of it. The trade position ticket will coincide with the pending order ticket. These changes will
be shown in the "Terminal — Trade" window.
Attention: Stop Loss and Take Profit orders trigger only at open positions, but not at pending orders.

Modifying of Pending Orders


When working at the market, one often needs to modify or delete the placed pending order. To do so, one has to
execute the pending order context menu command of "Modify or Delete Order" or double-click with the left
mouse button on the pending order status bar in the "Terminal — Trade" window. The window for order managing
will open. New price of the pending order triggering, new levels of Stop Loss and Take Profit, as well as expiry time
of the order can be set in this window. After the order has been modified, one has to press the "Modify" button.
Attention: Setting of zero values for Stop Loss and Take Profit equals to disabling of these orders.
If the pending order has been successfully modified, the values of the corresponding fields in the "Terminal —
Trade" window will be changed. If the "Show trade levels" option in the terminal settings has been enabled, the
pending order levels and those of Stop Loss and Take Profit attached to it will be shifted correspondingly in the
chart, as well.
Deletion of Pending Orders
If market situation has been changed, there can occur a necessity to delete a pending order. To do so, one has to
execute the "Modify or Delete Order" pending order context menu command or double-click with the left mouse
button on the status bar of the pending order in the "Terminal — Trade" window. The window that manages orders
will open. To delete an order, the button of the same name must be pressed in it. Pending orders can also be
deleted automatically at the time that has been given in the "Expiry" field. When a pending order has been
deleted, the corresponding record will appear in the "Terminal — Account History" window.

Trading on Chart

The client terminal allows traders to perform trading operations right on the symbol's chart. Combined with one
click trading function, this enables users to open, modify and close positions quickly, as well as manage pending
orders.
If One click trading option is enabled in the terminal settings, trading commands described in this section are
executed without additional confirmation (trading dialog is not displayed).

One Click Trading Panel


A special panel has been implemented to allow performing trading operations right on the chart. To activate it,
execute "One Click Trading One Click Trading" in the chart's context menu.
You can show/hide the panel by clicking One Click Trading icon to the left of OHLC.

Using this panel you can instantly send buy or sell market orders with specified volumes.
•When trading in the instant execution mode, the acceptable deviation of price in the orders is set according to the
"Deviation" option.
•When a getting a requote, the corresponding message is written to the terminal journal and the requote sound is
played.

Placing Pending Orders


Pending orders can be placed from the chart using Trading submenu of the chart's context menu:

Place mouse cursor on the necessary price level on the chart and execute the appropriate command to install a
pending order in the context menu.
According to the cursor's position, available order types are displayed in the menu. If the menu is activated above
the current price, user can place Sell Limit and Buy Stop orders. If the menu is activated below the current price,
Buy Limit and Sell Stop orders can be placed.
Available distance between the selected and current price for the symbol is additionally checked ("Stops level").
The volume for the orders placed is selected via the quick trading panel on the chart.
After executing the command, Order window will appear allowing users to adjust its parameters more precisely. If
"One click trading" option is enabled in the terminal settings, orders are placed at a specified price instantly
without displaying the trading dialog.

Managing Stop Levels on the Chart


Enable "Show trade levels" option in the terminal settings to be able to change Stop Loss and Take Profit levels on
the chart.
To set stop levels, click with the left mouse button on a position level and drag it up (Take Profit for buy position or
Stop Loss for a sell position) or down (Stop Loss for a buy position or Take Profit for a sell position). Release the
mouse button once the cursor is at the required price.
To modify the level on the chart, left-click on it and drag the level up or down to the required value holding the
mouse button (Drag'n'Drop):
When moving a level there is a tooltip displaying potential profit (or loss) in the deposit currency and pips that can
be obtained if the level triggers.
After setting the level, position modification window will appear allowing users to adjust the level more precisely. If
"One click trading" option is enabled in the terminal settings, modification is performed instantly without
displaying the trading dialog.

Managing Pending Orders on the Chart


Enable "Show trade levels" option in the terminal settings to be able to change pending orders on the chart.
For pending orders, it is possible to modify Stop Loss and Take Profit levels separately, as well as modify the order
price along with stop levels:
•In order to modify a stop level on the chart, left-click the necessary level and drag it up or down to the required
value holding the mouse button (Drag'n'Drop).
•Drag the price line to modify the entire order. In this case, both a price and a stop level will be relocated.

When moving an order there is a tooltip displaying the distance to the current price in the deposit currency and
pips.
After setting the level, order modification window will appear allowing users to adjust the level more precisely. If
"One click trading" option is enabled in the terminal settings, modification is performed instantly without
displaying the trading dialog.

Position's Context Menu on the Chart


You can change and close your positions, as well as set trailing stops using position's context menu on the chart:
•Modify or delete Modify — open position modification window;
•Close position Close — open position closing window. If "One click trading" option is enabled in the terminal
settings, position is closed instantly without displaying the trading dialog;
•Trailing Stop — open the menu of Trailing Stop level selection for a position.

Order's Context Menu on the Chart

You can change or remove your pending orders, as well as set a trailing stop using pending order's context menu
on the chart:
•Modify or delete Modify — open the window of the selected order modification;
•Delete order Delete — open the window for deleting the selected order. If "One click trading" option is enabled in
the terminal settings, deletion is performed instantly without displaying the trading dialog;
•Trailing Stop — open the menu of Trailing Stop level selection for an order.

Auto Trading

Term
Market depth
In finance, market depth is a real-time list displaying the quantity to be sold versus unit price. The list is organized
by price level and is reflective of real-time market activity. Mathematically, it is the size of an order needed to move
the market price by a given amount. If the market is deep, a large order is needed to change the price.
Factors influencing market depth
Tick size. This refers to the minimum price increment at which trades may be made on the market. The major stock
markets in the United States went through a process of decimalisation in April 2001. This switched the minimum
increment from a sixteenth to a one hundredth of a dollar. This decision improved market depth.[1]
Price movement restrictions. Most major financial markets do not allow completely free exchange of the products
they trade, but instead restrict price movement in well-intentioned ways. These include session price change limits
on major commodity markets and program trading curbs on the NYSE, which disallow certain large basket trades
after the Dow Jones Industrial Average has moved up or down 200 points in a session.
Trading restrictions. These include futures contract and options position limits as well as the widely used uptick
rule for US stocks. These prevent market participants from adding to depth when they might otherwise choose to
do so.
Allowable leverage. Major markets and governing bodies typically set minimum margin requirements for trading
various products. While this may act to stabilize the marketplace, it decreases the market depth simply because
participants otherwise willing to take on very high leverage cannot do so without providing more capital.
Market transparency. While the latest bid or ask price is usually available for most participants, additional
information about the size of these offers and pending bids or offers that are not the best are sometimes hidden
for reasons of technical complexity or simplicity. This decrease in available information can affect the willingness of
participants to add to market depth.
In some cases, the term refers to financial data feeds available from exchanges or brokers. An example would be
NASDAQ Level II quote data.

What Is Market Depth? Definition, How It's Used, and Example


What Is Market Depth? Definition, How It's Used, and Example
What Is Market Depth?
Market depth refers to a market's ability to absorb relatively large market orders without significantly impacting
the price of the security. Market depth considers the overall level and breadth of open orders, bids, and offers, and
usually refers to trading within an individual security. Typically, the more buy and sell orders that exist, the greater
the depth of the market—provided that those orders are dispersed fairly evenly around the current market price of
that security.

Key Takeaways
Market depth refers to the market liquidity for a security based on the number of standing orders to buy (bids)
and sell (offers) at various price levels.
In addition to price levels, market depth considers the order size, or volume, at each price level.
The greater the market depth, the less likely that large trades will greatly impact a security's price.
Market depth can be ascertained by looking at level 2 price quotes that can be found in a security's order book.
Bid Price/Ask Price
The term "bid" refers to the highest price a buyer will pay to buy a specified number of shares of a stock at any
given time. The term "ask" refers to the lowest price at which a seller will sell the stock.

The bid price will almost always be lower than the ask or “offer,” price. The difference between the bid price and
the ask price is called the "spread."

Codes for expert advisor on metatrader 4

Q1: provide me with codes for an Expert advisor on Metatrader 4 which works based on the following conditions:

Sure! Please provide the specific conditions you want the Expert Advisor (EA) to
follow. Here are some details to consider:

1. Entry Conditions

 What indicators should the EA use? (e.g., Moving Average, RSI, MACD, Bollinger Bands)
 Should it buy/sell based on crossovers, price action, or other conditions?

2. Exit Conditions

 Do you want a fixed Stop Loss (SL) and Take Profit (TP)?
 Should the EA close trades when an opposite signal appears?

3. Trade Management

 Fixed or dynamic lot size?


 Allow multiple trades or only one at a time?
 Trailing Stop or Break-even feature?

Provide these details, and I'll generate the MQL4 code for you!
Q 2:
provide me with codes for an Expert advisor on Metatrader 4 which works based on the following
conditions:
# Entry Conditions
## indicators should the EA use Moving Average
## Buy based on crossovers
# Exit Conditions
## Do you want a fixed Stop Loss
## the EA close trades when an opposite signal appears
# Trade Management
## Fixed lot size
## only one at a time
## Trailing Stop

You might also like