MetaTrader 4 - Trade Simulator
Practice your trading the quick way!
Install the LHF Trading Simulator as follows:
Installation is finished!
NB: You will need to close Metatrader and run it again before the program will see the new EA.
Using the LHF Trading Simulator:
Creating a Template
If youíre going to use the Trading Simulator to practice trade a system you are working on, then I suggest that you must create a template of the chart you have already set up. It is much easier to just load the template into the simulator, than having to set the chart up from scratch each time.
You can create a Template in one of three ways:
a. To create a template, just right click on the chart (that is completely set up) with all the indicators, and select Template on the pop-up menu, then select Save Template. Give it a name you will remember.
b.Click on the Menu bar on Charts and select Template on the pop-up menu, then select Save Template.
c.Click on the Template Icon on the Icon bar. Select Save Template.
Now you can go back to the Template menu, and load the template on another chart, and within the simulator chart.
Activate the Strategy Tester.
You can activate the Strategy Tester in one of three ways:
a. Click on the Strategy Tester Icon on the Icon bar.
b. Click on the Menu bar on View and select Strategy Tester.
c. Press Ctrl + R together (= CTRL R)
The tester window will open at the bottom of the screen:
You can drag it to any new position by clicking on the blue bar where you read Tester and dragging it to the new position while you are holding down the left mouse button.
Select the LFH-Trading_Simulator_3 as your Expert Advisor.
Before you begin I suggest turning the speed down to around 10.
Using the Simulator
Click on start and you will see the chart loading before your eyes.
Once the chart has loaded, right click on it to load the template you set up earlier.
You can also click on the Template icon to load a template onto the graph.
Click on the Run button (indicated here with the Red Arrow) to start the Simulator.
Now you should see the bar moving up and down slowly as the strategy tester feeds tick data slowly into the chart.
To speed this up, move the slider to the right.
I find it works best on around 30,31 or 32. However you will have to slow it down to enter trades or adjust stops. Itís best just to play with this for a while to get the hang of it.
To stop the bars disappearing off the chart, click on the Auto Scroll and Chart Shift at the top of the window.
To open a Market Buy order
First slow the chart down, it could move 10 pips in the time it takes to move the mouse.
Alternatively you can hit the pause button.
Now Double Click on the Simulator Buy Open or drag it onto the graph:
Choose an initial stop size (in pips) and Target size (in pips) and a trade size.
The stop and target can be adjusted later:
Now you should see an entry line (dotted green), a green target line and a red stop line as below.
If you do not see the dashed line in the middle (entry line) then open the Tools Options in the drop menu above and choose Show Trade Levels as in the picture below:
Now it should look like the chart above.
Moving the Stop and Target levels
Double click on the Green (target) or Red (stop) lines and simply drag them to new positions. The stop or target is now moved:
Closing a buy order
Simply double click on the Simulator Buy Close script.
You can close all of the trade or only part of it, by changing the lot size below.
Do exactly as above but choose the sell equivalent to the buy orders.
To Open a Stop Sell or Stop Buy Limit order
This is in fact a STOP order, so donít be confused by the word limit in the name.
These orders are only triggered once the price reaches that level. They are useful if you are testing a breakout system, and you wish to add an order before the market reaches a certain level.
In this case we are going to drag the script to the chart, and drop it exactly where we want the order to be.
If we are setting a sell stop we drop it below market, if we are setting a buy stop we add it above market.
Drag and Drop
Now you will be offered some options:
Set the Stop, target and trade size.
CancelOther is used if you are simulating a straddle where you have a buy stop, and a sell stop each side of the market. If one is triggered, it will cancel the other, unless you set both to false.
You will now see a yellow line on the chart. When the market reaches that level, it enters the trade:
To remove these lines just use the Simulator Limit Stop (Buy or Sell) scripts.
Viewing your results
Once you have completed trading the system you can view your results by clicking on the Results Tab
OR on the Graph tab to see a visual chart.
Viewing each trade
As the trade is running you will see the trade stats at the bottom of the screen:
Current Bar Time
The date and time in the bottom corner represents the current bar date and time.
I hope you will enjoy using this tool. I know for a fact that it will improve your trading more than you may realize at first.
I will suggest that you spend at least an hour in the simulator per day.
Risk Disclosure: 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.
Copyright 2013, FOREX MASTERS