0% found this document useful (0 votes)
175 views8 pages

Trading Box EA

Trading Box EA is a professional expert advisor that allows traders to place orders within the bid price to avoid spread slippage, set unlimited price alerts, and automate trading decisions. It introduces discipline by calculating risk for each trade and integrating money management rules. The EA displays order blocks on the chart that define hidden entry and stop loss levels. Traders can quickly place orders by enabling or disabling order blocks. It also provides tools to optimize trades, including taking multiple entries on a trade and adjusting risk levels.

Uploaded by

mahdi tahiri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
175 views8 pages

Trading Box EA

Trading Box EA is a professional expert advisor that allows traders to place orders within the bid price to avoid spread slippage, set unlimited price alerts, and automate trading decisions. It introduces discipline by calculating risk for each trade and integrating money management rules. The EA displays order blocks on the chart that define hidden entry and stop loss levels. Traders can quickly place orders by enabling or disabling order blocks. It also provides tools to optimize trades, including taking multiple entries on a trade and adjusting risk levels.

Uploaded by

mahdi tahiri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Trading Box EA for MT4

1 WHAT IS TRADING BOX EA?

Trading box is professional EA for price event notification and advanced order execution at bid price. It was developed with
help of some great forex traders. They say that this EA is cherry on top of the cake. Their problem was that even they know
how to read price with great precision (touch trade to the pip) they find hard to trade live, because they missed a lot of great
opportunities and did a lot of mistakes because market conditions are changing fast on lower time frames and therefore most
of the time limit orders are useless. If you want to make money fast, then you need to trade on lower timeframes and you need
to have proper money management which is integrated into Trading box EA. Risk reward rati o and all costs of the trade are
visible to trader on the chart. The biggest advantage of trading box EA is that you place order on the market and you decide
under which condition this order will be activated. This is how you have control over your orders. You can also put on chart
unlimited price alerts which will ensure that you will not miss the trade when price is coming near your order. Limit orders are
not the right tool to enter the market, because you have too much administration work with them ( calculate right order size, set
SL, set target, you cannot delete or place order when market is closed).

When you will get familiar with all functionalities then you will save a lot of time and bad trading decisions because this E A will
introduce discipline and freedom into your everyday trading. You set up your strategy and everything else is then automated.
You don’t need to be behind the charts to capture right price action for your trades. This EA is also very useful for scalping
because orders can be placed in few seconds. Risk Reward ratio is instantly calculated, so you can decide if this trade will suit
your money management strategy.

2 TRADING BOX EA ADVANTAGES:

a. Unlimited Notifications and Alerts on chart placed with horizontal lines. For example, when price engulfs level, before
S&D (Supply and Demand) zone, before order block, at certain price level…
b. Every event is also supported with mobile push notifications
c. Orders and SL are executed within Bid price. This solves problem of spread SL hunt for Sell positions, when ask price
can easily hit your SL during big news.
d. Price is executed inside order block (rectangle with name buybox or sellbox) if spread is below defined value from
EA input parameters. For example, trade can be open with 0.0 spread on EURUSD
e. Orders don’t execute if gap occurs beyond your order block (news, Monday gap, market open…)
f. You can disable all order blocks on all charts before big news with one global variable (time interval). For example,
you can disable executing all orders from 14:45 to 15:15 on all charts
g. When big candle is printed with origin inside order block you will be notified that market is started to move
h. Place order within second. With one click you can change rectangle into order block (buybox or sellbox). Default
trading block parameters are changeable trough EA input parameters or rectangle description
i. Calculated order block SL with spread and commission, order block risk shown in percentage of account. There is also
Risk Reward ratio calculated for order block and displayed on chart
j. You can set rebuy and resell level inside order block at better price
k. You can enable or disable order block with one button click or automatically when price reach defined level with sellon
or selloff and buyon or buyoff horizontal line
l. All order blocks from all charts are visible on Trading box dashboard EA, which needs to be placed on separate
chart. There you can see in pips what is the distance for each order block. All order blocks are listed in one view. You
can also sort order blocks based on pips until order block. This is how you can see which order block need attention
because price is close
3 ORDER BLOCK

Order block is presented on chart as rectangle (sellbox or buybox) which defines hidden trade entry and hidden SL. Your
pending orders are hidden because broker cannot see your order block (we don’t use limit orders). Order parameters are
defined in rectangle Description (marked with yellow on picture below), which are generated automatically from EA input
parameters. You can also change order block parameters in rectangle Description. Parameters are separated with _ sign.

When you have EA on the chart and you rename one rectangle to sellbox, the order block is generated. Faster way to create
order block is to select rectangle and click on button SBox for sellbox or BBox for buybox and order block will be generated.
On picture below, we have buy order block which is disabled. If we click on BUY button it will enable order block.

Order block
parameters

Number of orders Entry


and position size Risk in deposit
currency

Order block ID Risk in % of account


SL

1st parameter: is always buy for buybox or sell for sellbox


2nd parameter: number of orders in order block defined with whole number (1, 2, 3, 4) - max 4 orders
3rd parameter: order size defined (min 0.01 and max 10000 lots)
4th parameter: number of pips for target 1 defined with whole number
5th parameter: trading box ID (visible in order comment). It is automatically generated with increased number ID
6th parameter: risk per trading box in percentage % (min 0.01)
7th parameter: number of pips for target 2 defined with whole number
4 TRADING BOX BUTTONS & RISK REWARD CALCULATION

Green colored button means that functionality is ON. Red colored button means that functionality is OFF. Below buttons is
Risk Reward calculation for target 1 and target 2 based on your order block size and target.

SR1 – Sellbox risk reward ratio for TG1 (target 1)


SR2 – Sellbox risk reward ratio for TG2 (target 2)
BR1 – Buybox risk reward ratio for TG1 (target 1)
BR2 – Buybox risk reward ratio for TG2 (target 2)

Sell notification line

TG1 - Target 1

Risk Reward calculation


for TG1 and TG2
TG2 - Target 2

SELL – enable or disable sellbox for order execution


BUY – enable or disable buybox for order execution
S.n. or B.n. – enable notification below sellbox (S.n.) or above buybox (B.n.) and draw silver color horizontal line, which
can be dragged up or down. Distance between notification line and order block is set in input variable
Time - if this button is red, then trading box is disabled because of time restrictions. If this button is green, then there
are no time restrictions and orders in order block can be executed if SELL or BUY button is enabled. This
functionality is more precisely described in EA global parameter chapter.
Clean – when clicked it deletes all arrows and trendlines, which shows trading history on the chart (entry and exit)
SC or BC – when enabled, EA scans for last Bearish (SC) or Bullish (BC) closed candle with defined size in pips (see
EA input parameter section) and send you notification on mobile and alert in MT4. For candle size calculation
is used open and close candle price. For M1 or M5 bearish candle detection, high of the candle needs to be
inside sellbox. For M1 or M5 bullish candle detection, low of the candle needs to be inside buybox. This
ensures that LTF S&D was created inside HTF S&D (origin of move is inside HTF S&D zone). If EA finds
candle it will mark it with vertical line on chart and send you notification.
+ % or - % – increases or decreases fixed risk percentage per order block with defined interval in EA input parameters
SBox or BBox – changes selected rectangle into sellbox or buybox
sHS or bHS – search for uncompleted Head&Shoulders patterns inside order block on timeframes:
M5, M15, M30, H1, H4, D1 (6 patterns available for recognition)
5 TRADING BOX HORIZONTAL LINES

a. below* horizontal line is used for notifications and alerts below current price when price reaches horizontal line. You
can replace * with any other word or number. This is how you can have unlimited alerts on the chart. For example, you
can have alerts below current price named: below100, below2bt, belowCP, belowFL1… It is important that first word
in horizontal line name is below

b. above* horizontal line is used for notification and alerts above current price when price reaches horizontal line. You
can replace * with any other word or number. This is how you can have unlimited alerts on the chart. For example, you
can have alerts above current price named: above100, above2tb, aboveCP, aboveFL1… It is important that first word
in horizontal line name is above

c. resell or rebuy horizontal line is used, when you want to reactivate trading box at better price. Line needs to be inside
order block

d. buyon or buyoff is used when you want to enable or disable buybox at certain price level

e. sellon or selloff is used when you want to enable or disable sellbox at certain price level

f. scon or bcon horizontal line is used when you want to scan for printed M1 or M5 candles that are bigger than defined
in input variable M1_candle_scanner_pips and M5_candle_scanner_pips. For candle size calculation is used open
and close candle price. When this line is hit, it enables SC or BC button. There are 2 conditi ons for scanning M1 or M5
candle. For sell M1 or M5 candle detection, high of the candle needs to be inside sellbox. For buy M1 or M5 candle
detection low of the candle needs to be inside buybox. This ensures that LTF S&D was created inside HTF S&D (origin
of move is inside HTF S&D zone). If EA finds candle it mark it with vertical line and send you notification

g. deletesell and deletebuy deletes trading box when price touches line

h. sbe and bbe will set your trade to breakeven. You must draw this line inside box above or below level you think that
is the major resistance/support for price. When this line is broken then TP will be set to breakeven. You have additional
option to set breakeven pips in line comment with number of pips. Default is 0 pip for breakeven

On this picture below, I write names above horizontal lines. When you rename horizontal line name it will change color. Just
think about how this horizontal lines can automate your trading decisions in front. You set up your strategy and everything else
is then automated. You don’t need to be behind the charts to capture right price action for your trades. When price touches
line, you will get notification about this event (Alert and push notification on your mobile phone).

sbe

resell

deletesell

aboveHigh

belowLow

sellon

selloff
6 TRADING BOX INPUT PARAMETERS

I recommend that you set your own EA inputs settings and then save chart template. EA input settings will be saved into your
chart template, so that the next time when you open a chart there will already be Trading Box EA with your own settings.

Input Variable Category Explanation


max_lot_size Order block Maximum position lot size per order
hard_sl Order Block Hard SL in pips above sellbox (if EA loses connection)
box_orders Order Block Default number of orders in order block (max 4)
box_lots Order Block Default lot size per order
box_notification Order Block Notification in pips before trading block (S.n. and B.n. button)
box_TG1 Order Block Default target 1 in pips
box_TG2 Order Block Default target 2 in pips
Enable or disable spread checking before opening order
Spread_filter_ON Spread Filter
(order is opened if spread is lower than defined for currency pair)
Spread_DEFAULT Spread Filter Maximum spread in pips for all other forex pairs which are not listed below
Spread_AUDJPY Spread Filter Default setting in pips
Spread_AUDUSD Spread Filter Default setting in pips
Spread_EURAUD Spread Filter Default setting in pips
Spread_EURCAD Spread Filter Default setting in pips
Spread_EURGBP Spread Filter Default setting in pips
Spread_EURJPY Spread Filter Default setting in pips
Spread_EURUSD Spread Filter Default setting in pips
Spread_GBPJPY Spread Filter Default setting in pips
Spread_GBPUSD Spread Filter Default setting in pips
Spread_NZDJPY Spread Filter Default setting in pips
Spread_NZDUSD Spread Filter Default setting in pips
Spread_USDCAD Spread Filter Default setting in pips
Spread_USDCHF Spread Filter Default setting in pips
Spread_USDJPY Spread Filter Default setting in pips
Spread_XAUUSD Spread Filter Default setting in pips
BrokerLotCommision Risk calculation Commission for one lot in deposit currency (used for risk calculations)
Enable or disable fixed risk per order block
fixed_box_percent_ON_OFF Risk calculation
(for example you risk 1.5 % of your trading account for order block)
Here we define default risk per trading block
fixed_box_percent Risk calculation
(order size is automatically adjusted depending on order block size in pips)
Interval value for increasing/decreasing risk of selected trading box.
fixed_box_percent_interval Risk calculation
Interval is set in percent. (Button + % and - %)
ALL_TF_candle_scanner_pips Candle size detection EA scan current closed candle if it is bigger than defined in pips in current TF
M1_candle_scanner_pips Candle size detection EA scan current M1 closed candle if it is bigger than defined in pips
M5_candle_scanner_pips Candle size detection EA scan current M5 closed candle if it is bigger than defined in pips
HS_head_min_MTF Head&Shoulders Minimum head size in pips for time frames: M5, M15, M30, H1
HS_head_max_MTF Head&Shoulders Maximum head size in pips for time frames: M5, M15, M30, H2
HS_head_min_HTF Head&Shoulders Minimum head size in pips for time frames: H4, D1
HS_head_max_HTF Head&Shoulders Maximum head size in pips for time frames: H4, D1
HS_ftr_min_MTF Head&Shoulders Minimum FTR in pips for time frames: M5, M15, M30, H1
HS_ftr_min_HTF Head&Shoulders Minimum FTR in pips for time frames: H4, D1
HS_LS_tail_MTF Head&Shoulders Left shoulder tail size in pips for timeframes: M5, M15, M30, H1
HS_LS_tail_HTF Head&Shoulders Left shoulder tail size in pips for timeframes: H4, D1
7 TRADING BOX GLOBAL VARIABLES

EA uses 4 global variables. buybox_counter and sellbox_counter is automatically created and used for order block ID
generation. Every new order block will increase this counter. Global variable news and overnight is manually created by
trader, when he needs to disable trading box in time interval (between times).

news – we enter global variable with Add button. With this variable we define time gap, where EA will not open new orders.
We enter time in decimal format XXXX.XXXX. Time gap is shown on the chart with silver rectangle. Inside this rectangle new
orders will not be opened. Silver rectangle will not be drawn on the chart if there is no trading box.

Examples for disabling order block:

- from 00:30 to 22:50 we define global variable as 30.2250


- from 03:15 to 14:40 we define global variable as 315.1440
- from 00:05 to 06:00 we define global variable as 5.0600
- from 11:30 to 19:30 we define global variable as 1130.1930
- from 20:00 to 23:30 we define global variable as 2000.2330

overnight – there is the same logic like for news variable. If you will go to sleep at 22:00 and you will wake up at 7:35 then
set the variable to 2200.0735. Disabled time interval will be drawn with green color if you have order block on chart.

Order blocks will be disabled between this time, so you will have a good night sleep without any stress and with no trade
execution.

Time button becomes Red when


order blocks are disabled by news
or overnight global variable

Silver vertical rectangle -


time zone is set by news
global variable

LightGreen vertical rectangle -


time zone is set by overnight
global variable
8 TRADING BOX DASHBOARD

Trading box dashboard EA will collect all order blocks from MT4 in one view. Most of the time traders watch only this dashboard
and they decide which forex pair they need to watch more closely for opening new trades. If order block is activated, then in
list of all order blocks they will have status SELL_ON or BUY_ON. If order block is disabled, then status will be SELL_OFF or
BUY_OFF. When below or above lines will be hit by price, then name of this line will be written under column Action/Signals.
This is how you can see all actions from charts. When you write task on your chart, it is visible in column Tasks. On picture
below you have an example of task written in Label with name tasks.

Here you can see Trading box dashboard EA on empty chart. It is refreshed every 10 seconds.

Negative value means that Click to sort order blocks


price is inside order block descending by pips

Names of engulfed
above and below lines

Set all colors to White to


create empty chart for
Trading box dashboard EA
Chart time frame
in minutes
9 CONTACT

If you are forex trader who:

1. Trade without any indicators


2. Use rectangle, trendline and horizontal lines for analysis
3. Trade frequently (at least three trades per week)
4. Understands price movement, liquidity, engulfs, price corrections, fresh orders, price action, fakeouts, support and
resistance zones, scales, order flow, consolidations, decisions, symmetry, market manipulations…

If you find yourself in all points above than there is a good chance that you are profitable or at least breakeven trader who
needs more discipline and better strategy. If you want to take your trading to the next level with Trading box EA then write me
on email mt4tradingboxea@gmail.com and I will send it to you. If you don’t understand how markets works then first learn how
to read price and why price moves as it moves, because this EA will not help you at all. This is why I don’t to share this tool
with everyone, because I want to receive only quality feedback and build even better Trading box EA version 2.

If you detect any errors or if you want to suggest some other additional functionalities or changes, then please also write me
email.

10 BEHIND THE SCENE

I put more than 1000 hours into research, development, design and testing (thanks also to my forex trading team for support
and EA quality testing). Trading box EA started only as notification system but was then extended into professional forex
trading tool. There is more than 5000 lines of code written.

Trading box calculations, drawings, notification system, pattern recognition, time interval and candle detection are refreshe d
every 2 seconds. Order execution and SL functions are run on every tick (every time when bid or ask price is changed).

I already started developing Trading box EA for MT5. If you want to use this EA on MT5, then write me so I will see how many
people want to use it in MT5.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy