Trader On Chart v1.6cc Instruction Manual (2015!09!21)

Download as pdf or txt
Download as pdf or txt
You are on page 1of 14

Copyright © 2011-2015 by Rimantas Petrauskas

www.fat-forex-profits.com | www.ea-coder.com
Important things to know before you run
Trader On Chart
I understand you do not have time or do not want to read this document, but to avoid any
misunderstandings and asking questions that are already answered here, please at least read
this document.

You must have a Metatrader 4 account in order to use the Trader On Chart software. TOC works
only on Metatrader 4 platform.

TOC v1.6 is fully compatible with MT4 Build 700+ and its auto-installer will be able to
locate correct MT4 data folders and install this software for you. Also there is an option to
install the app manually.

What is Trader On Chart


Trader On Chart is an easy to use Expert Advisor designed for Metatrader 4 platform. This
software was build using advanced technology and Windows API to show special trading panel
on each MT4 chart you attach this software to. In this trading panel you will see BUY and SELL
buttons created and common settings for your trades like stop loss, take profit, trailing stop and
other. Once you attach this EA to your desired chart(s) it will be ready to accept your orders to
open BUY/SELL trades or pending orders. You will be able to open trades fast with one mouse
click only. You can set SL/TP/TS/BE values easily in the Trader On Chart window at the top-left
corner of the chart. After the trades are opened, they will be managed by the EA, this means that
the Trailing Stop and Break Even functions can be applied for the trade stop loss. Every trade
can have its own unique trailing stop loss and break even value.

Important information
Please read this instruction manual carefully to fully understand how this software works. If you
have any questions that are not answered in this document, please Contact Support Team.

When you contact support team to report a problem, please include:


1. Trade numbers that you have problems with (if any).
2. Log files from \MQL4\Logs\ (find this at File -> Open Data Folder). Please do not
confuse this with the \logs\ folder right inside the Data Folder. You first need to open
MQL4 folder and only then locate the Logs folder.
3. Chart image with the EA visible if you have any display problems (please use Print Screen
button on your keyboard and then paste the image to the „Paint“ or other application).
4. Chart image with the missed trades or any other incorrect trading actions visible
If I do not have this info, it is likely that I will not be able to help you. Please include as much
information as you can to save time.

Copyright © 2011-2015 by Rimantas Petrauskas


www.fat-forex-profits.com | www.ea-coder.com
Trader On Chart Installation Guide
Automated installation using installer

Step One: Run the auto-installer.

Installation of the TOC is done by starting the Trader On Chart YYY vX.X.exe file.
This will install two files into your chosen Metatrader 4 folders:
1) Trader On Chart YYY EX4
2) Trader On Chart YYY DLL
YYY is usually software license type and it can be one of the following:
a. Single (works only on one MT4 account)
b. Personal (works on an unlimited MT4 accounts on a single computer)
c. PRO (works on an unlimited MT4 accounts on up to 5 computers)

Step Two: After TOC setup wizard is loaded it will scan your computer "Program Files" folder
to find out where your Metatrader 4 platforms are located. Then please click NEXT to get to the
next window where you will be able to choose where to install software

Copyright © 2011-2015 by Rimantas Petrauskas


www.fat-forex-profits.com | www.ea-coder.com
Step Three: You can choose as many destination folders as you like. Setup wizard will install
software into all selected folders. If your MT4 is not on the list, please use BROWSE button to
add it. Click NEXT to get to the next window where setup wizard will install software files and
give you detailed info what files were copied to your computer. Click NEXT, to continue.

Step Four: Once you get to the last setup wizard window please click FINISH.

Copyright © 2011-2015 by Rimantas Petrauskas


www.fat-forex-profits.com | www.ea-coder.com
Step Five: Launch your Metatrader platform and configure smooth Expert Advisor execution.
This must be done only once for each MT4 platform that you have.
Before running any EA, please make sure you have these settings in place.

Open options window from the main menu at the top: Tools | Options | Expert Advisors or by
pressing Ctrl+O on your keyboard and opening “Expert Advisors” tab. You will get a window like
the one below. Make sure all checkboxes on your MT4 are selected exactly like below.

Step Six: Open price chart you want to trade on.

Step Seven: On your Metatrader toolbar, make sure that Autotrading is turned on (green):

Step Eight: In the Navigator window (View -> Navigator or CTRL-N) under Expert Advisor
you will see Trader On Chart. Click and drag it from the Navigator window to an open chart.
You should now see the set up window as shown below.

Copyright © 2011-2015 by Rimantas Petrauskas


www.fat-forex-profits.com | www.ea-coder.com
EA Common Tab
A) Make sure that Allow live trading is checked
B) Make sure that Ask manual confirmation is “NOT” checked
C) Make sure that Allow DLL imports is checked
D) Make sure that Confirm DLL function calls is “NOT” checked

If you done everything correctly in the step 5, then these „Common“ settings should already
look like in the picture above.

Copyright © 2011-2015 by Rimantas Petrauskas


www.fat-forex-profits.com | www.ea-coder.com
Client EA Inputs Tab and settings

EA Inputs are explained below.

Step Nine: Enter your license key in the LicenseKey field found in the EA Inputs tab.

Step Ten: Close Metatrader and re-open to make sure EA starts running on startup.

Below you see how Trader On Chart panel should look like.

Copyright © 2011-2015 by Rimantas Petrauskas


www.fat-forex-profits.com | www.ea-coder.com
How to use the Trader On Chart

1. You can open market orders immediately with one mouse button click. Use the
BUY/SELL buttons inside the trading panel. Before the trade is opened you can set
desired parameters for that trade.
2. You can place pending orders and straddle orders (which is two pending orders
placed at the same time in both directions). To place a pending order(s) you need to
choose which order you want and then click the „Place“ button. Before placing an order
you can set desired parameters. You can choose to place pending order at the exact price
or at the specified distance in pips.
a. If you choose to place a SELL LIMIT pending order at a distance of 30 pips it will be
placed 30 pips above current market price (Bid price).
b. If you choose to place a SELL STOP pending order at a distance of 30 pips it will be
placed 30 pips below current market price (Bid price).
c. If you choose to place a BUY LIMIT pending order at a distance of 30 pips it will be
placed 30 pips below current market price (Ask price).
d. If you choose to place a BUY STOP pending order at a distance of 30 pips it will be
placed 30 pips above current market price (Ask price).
e. If you choose to place a BUY & SELL STOP orders at a distance of 30 pips, the BUY
STOP order will be placed 30 pips above current market price, and a SELL STOP
oder will be placed 30 pips below current market price.

Copyright © 2011-2015 by Rimantas Petrauskas


www.fat-forex-profits.com | www.ea-coder.com
f. If you choose to place BUY & SELL LIMIT orders at a distance of 30 pips, the BUY
LIMIT order will be placed 30 pips below current market price, and a SELL LIMIT
order will be placed 30 pips above current market price.
3. TOC can calculate the right lot size for your trade when you choose to risk certain
percentage or amount of money. Risk in % is calculated to make your trade risk no
more than the % of the account equity you choose. So if you have $10,000 account and
you risk 1%, the TOC will calculate the right lot size according to your account equity and
stop loss. This means that if SL is hit you will lose 1% which is $100.
4. Stop Loss can be set in pips, exact price, or at the last or next to last closed price
candle.
a. “SL Pips” – in this SL mode you can set the stop loss for new trades in pips. TOC app
will automatically calculate everything it needs in order to place correct SL in pips
according to the value you enter, price digit format, etc. Note that with non-Forex
pairs this might not work well because every broker can have different format for
non-Forex instrument prices. In this case you need to use CustomPipSizes option
and experiment with different values to make it compatible with your broker.
b. “SL HiLo” and “SL HiLo[2]” options allows you to place SL at the High/Low price of
the “last closed price candle” (SL HiLo) or “next to last closed price candle” (SL
HiLo[2]). To be exact, if you open BUY trade then its stop loss will be last closed (or
next to last) price bar’s Low price. If you open SELL trade then its stop loss will be
last closed (or next to last) price bar’s High price. Using this option you can also
enter a number of pips to be added additionally.
c. “Fixed price” – not much explanation needed. This is simply exact price where you
want your stop loss to be placed for the next trade.
5. Take Profit can be set in pips, exact price, in seconds and SLTP ratio. If you choose
SLTP ratio and you enter 2 for example, you will have 2x times bigger TP value than the
SL value. If you enter 0.5 here, you will get TP value half the SL value.
6. Every trade can have its own Trailing Stop (TS) and a Break Even (BE) value. If you
want to change the TS or BE value for the trade that is already opened, please find the
correspoding entry in the "Global Variables" (F3) window of the MT4 platform that has
your trade ticket number and change the new desired TS/BE value. If you trade ticket
number is something like #12763 then please look for the global variable named
something like TOC-EURUSD-120427-TS-12763. It might be confusing at first, but at
the moment this is the only way to change the TS/BE value for the trade that is already
opened. If you delete this variable the EA will stop using TS/BE.
BE function works like this: The “BE pips” value you set in the panel tells the EA how
many pips in profit the trade should go first before the BE is activated. Once the BE is
activated, EA will move the stop loss to the open price or a few pips/points in profit to
cover the expenses of the commissions. This means if the trade is closed at BE and there
are commissions charged by the broker, a small trade profit will cover these expenses.
TS function works like a ratchet. If you have “TS pips” set to 55 pips it means the TS will

Copyright © 2011-2015 by Rimantas Petrauskas


www.fat-forex-profits.com | www.ea-coder.com
be activated once the trade gets into profit of 55 pips. Then a stop loss will follow 55 pips
behind as market price moves, but doesn't go back if a price comes back.
7. TOC allows you to trade in two modes. “Two Way Trading” and “One Way Trading”.
When you are in a “Two Way Trading” mode the EA allows to open trades in both
directions. When you which to a “One Way Trading” more the EA allows to open trades
only in one direction for that pair/magic number. This means TOC will close the opposite
trades before opening new one. Example: If you have a BUY trade running and you click
SELL button, the BUY trades will be closed first and then the SELL will be opened.
8. TOC has OCO option (One-Cancels-Other). Note that this works only for straddle
orders. Means in those cases when you choose to place two pending orders in both
directions at the same time.
9. TOC has ability to close orders with a single click. At the top of the trading panel you
will find choices: Market, Profit, Loss and Pending. If you click “Market” the EA will close
only market orders (BUY and SELL). If you click “Profit” the EA will close only market
orders that are currently in profit. If you click “Loss” the EA will close only market orders
that are currently in loss. If you click “Pending” the EA will delete only pending orders.
Note that EA will only close/delete the trades that match the currency pair it is running
on and the magic number it is using. It will not touch other trades.
10. You can minimize TOC trading panel by clicking the title at the top or the “double
down arrow” in the right-top corner of the panel.
11. You can save the default TOC settings by clicking the “heart” image at the top-right
corner of the panel.
12. You can load the default TOC settings by clicking the “arrow down” image at the top-
right corner of the panel.
13. TOC will play sound alerts when it succeeds or fails to open a trade.
14. TOC displays the spread between BUY and SELL buttons.
If EA does not open trade or does not put SL/TP values after the trade is opened, please check
"Experts" tab at the bottom of your MT4 plaftorm for any error messages. In most cases it could
be just a simple error from the broker servers or there is not enough money to open trades
because of the wrong or too big lot size.

Copyright © 2011-2015 by Rimantas Petrauskas


www.fat-forex-profits.com | www.ea-coder.com
Trader On Chart EA Input settings
Not much settings are available in the EA inputs because all the common settings are located in
the trading panel on the MT4 chart.

LicenseKey – this is where you need to enter your license key. You can always login to your
Download Center member‘s area and find the license key in there.

EnableSoundAlerts – TOC will play sound alerts by default, but using this option you can turn
them off. If TOC succeeds to open a trade it will play a sound SoundFileOK. If TOC fails to open
a trade it will play a sound SoundFileError. Sound file names can be found under Tools ->
Options -> Events. You can store your own sound files in a .wav format in the MT4 folder in the
„Sounds“ folder.

SlippageEntryPips and SlippageClosePips – these are the slippage settings for entering and
exiting the market. Note that not all brokers use them. If you do not know what that is simply
leave them as is.

MagicNumber - this is where you choose what magic number must be set for the trades. EA
will see and manage only the trades that match its magic number.

NumberOfRetries – this is where you can enter how many times EA should retry on trade
operations in case of an error. By default it is set to 0 (zero) which means EA will not retry on
error. Obviously error will occurr, but EA does everything it can to avoid them. In case an error
occurs it should be logged in the „Experts“ tab at the bottom of your MT4 and also error code
might get printed on the chart.

X_PanelPosition and Y_PanelPosition – this allows you to set where exactly you want the
trading panel to appear.

CustomPipSizes – I have added this option because there are no standard pip sizes for indices
and other non-Forex pairs between brokers. This option allows you to override the pip size that
the TOC will detect automatically. In 99% cases TOC will work fine on all Forex pairs, but for
non-Forex pairs you might notice that pip size is different between brokers. For example
NAS100 with one broker might be quoted with 1 decimal and another broker might quote it to
2 decimals. Here is an example how to enter a comma separated list of custom pip sizes:
XAUUSD=0.1,XAGUSD=0.01,WTI=0.1

Copyright © 2011-2015 by Rimantas Petrauskas


www.fat-forex-profits.com | www.ea-coder.com
Other Information
What is slippage?
The short answer is that slippage is what happens between the time you close/place an order to
buy or sell a currency and the time that your oder is filled, i.e., the time that the transaction is
completed. In most cases, in a fast-moving volatile market such as EUR/USD (Euros and US
Dollars), from the time you place an order until the time it is filled the exchange rate will often
change anywhere from $.0002 to $.0003 from the price you saw and wanted to get when you
placed your order, even with the fastest automatic electronic ordering software. If you are
trading by hand, i.e., sending your order to your broker via a non-automatic signal generating
platform, then you can expect slippage to be as much as $.0010 to $.0015! The same is applied
when you are closing the trade or deleting pending order.

What is "Stop Level" or "Minimum Distance Limitation"?


The "Stop Level" is the minimum distance limitation between the market price and entry/stop
price. This value is different among brokers like the Spread value. The "Stop Level" value can be
variable as well, it means that it can be changed by your broker during news releases.
This value is controlled by your broker and can not be changed.
Example: if your account has "Stop Level" set to 6 pips, it means that stop loss, take profit or
entry price should be set at least 6 pips from the current market price. Any SL/TP/Entry price
closer to current market price than 6 pips will be denied by your broker.

The StopLevel limitation is explained on MQL website http://book.mql4.com/appendix/limits


Please look for "StopLevel Minimum Distance Limitation" on that webpage.

Copyright © 2011-2015 by Rimantas Petrauskas


www.fat-forex-profits.com | www.ea-coder.com
Troubleshooting
I strongly recommend read and learn this great article on how fix problems with MT4 Expert
Advisors. It‘s the MT4 apps troubleshooting checklist that is useful with any EA that you use on
MT4.

And here are some other problems you might face.

Problem: After I shut down MT4 and open it again, the "Autotrading" button is OFF, while it was
ON before I shut down MT4. Because of this Trader On Chart cannot load properly and I need to
re-attach it to each chart window I have.

Solution: Open the „Tools->Options->Expert Advisors“ settings window (explained in step 5 of


this document) and read them carefully. Try to un-check the following two boxes and see if this
helps:
 Disable automated trading when the account has been changed.
 Disable automated trading when the profile has been changed.

Copyright © 2011-2015 by Rimantas Petrauskas


www.fat-forex-profits.com | www.ea-coder.com
Trading foreign exchange on margin carries a high level of risk, and may not be
suitable for all investors. The high degree of leverage can work against you as well
as for you. Before deciding to invest in foreign exchange you should carefully
consider your investment objectives, level of experience, and risk appetite. The
possibility exists that you could sustain a loss of some or all of your initial
investment and therefore you should not invest money that you cannot afford to lose. You
should be aware of all the risks associated with foreign exchange trading, and seek advice from
an independent financial advisor if you have any doubts.

Disclaimer of Use
To the maximum extent permitted by applicable law, in no event shall Ea-Coder.com Software,
or its suppliers be liable for any special, incidental, indirect, or consequential damages
whatsoever (including, without limitation, damages for loss of business time, business profits,
business information, or any other kind of loss) arising out of the use of, or inability to use the
Software, or the failure to provide support services, even if Ea-Coder.com Software, or one of its
supplies has been advised of the possibility of such damages. Ea-Coder.com Software’s entire
liability shall not exceed the price paid for the software. Ea-Coder.com will not be liable for any
claims of loss, financial or otherwise, resulting from the use of software.

Ea-Coder.com does not sell or provide any Forex trading advice - Ea-Coder.com sells Forex
trading tools. Ea-Coder.com never gives false promises that certain software will make huge
profits on autopilot 24/7 especially without human intervention.

Copyright © 2011-2015 by Rimantas Petrauskas


www.fat-forex-profits.com | www.ea-coder.com

You might also like