910m30manenglish

Post on 15-Jul-2015

119 views 1 download

Tags:

Transcript of 910m30manenglish

DAFTAR ISI

BAB I How to Install 910-M30-Indi Indicator .................................. Page 2

BAB II How to backtest 910-M30-EA EA using Metatrader4

Strategy Tester ...................................................................... Page 9

BAB III How to run 910-M30-EA EA to trade live ........................ Page 28

BAB I How to Install 910-M30-Indi Indicator

1. Make sure your Metatrader4 not opened.

2. Put 910-M30-Indi.ex4 file into your experts -> indicators folder where your

Metatrader4 software installed. See example below :

3. Open your Metatrader4.

4. Check Navigator-> Custom Indicators window and make sure 910-M30-IndiV1

indicator already there.

If you can not find Navigator press Ctrl-N to show it.

5. Open chart first for any pair by right click on a Market Watch windows and choose

Chart Window.

6. After chart shown, right click on 910-M30-IndiV1 at navigator window and

choose “Attach to a Chart”.

7. Than you will see this window.

MaxBarShowed variable with 1000 value show us how many bar will be showed in

the indicator. Edit to 0 if you want to show the indicator on every bar in the chart.

MinutesBeforeSignal variable with value = 2 means the indicator will show alert 2

minutes before the candle close when there is a BUY/SELL signal.

Then Click OK.

And the result will be like this.

7. For easier reading, do zooming by press (+) key 1x. And press Alt+2 show chart

on candlestick patern. Then to show chart on M30 timeframe click on Chart ->

Periodicity -> 30 Minutes menu.

And below is the result

8. When you get some alert like below make sure that the Indicator licensed for your

account. Simply contact Yahoo Messenger ID “sindutzz” or email to aldhy@indo.net.id ot

phone to +62-888-2400-832 for detail.

Then delete the indicator from your chart to stop the indicator ignoring you by click

Charts->Indicators list menu, select the indicator that you want to delete then click delete

and close the window.

Anyway, run the indicator offline then you will find the indicator working normaly with some

limitations.

BAB II How to backtest 910-M30-EA EA using Metatrader4 Strategy Tester

First you need to download history data from one of the following links:

1. http://www.alpari-idc.com/en/dc/databank.html

2. http://www.fin-rus.com/analysis/export/_eng_/default.asp

3. http://www.forexite.com/free_forex_quotes/forex_history_arhiv.html

4. http://www.dukascopy.net/english/cquotes/CSV/

5. http://www.akmos.com/software/afmidle/

6. http://forextester.com/datasources.html

Download file M1_GBPUSD.zip, to get M1 data for GBPUSD Pair then extract it and put the

M1_GBPUSD.hst file on an any directory.

To start backtest, do following steps :

1. Make sure your Metatrader4 not opened.

2. Copy your EA into experts directory where your software Metatrader4 installed

See below:

3. Open your Metatrader4 and make sure the platform not Online by check the

connection indicator have red color.

4. Make sure you can found 910-M30-EA EA at Navigator-> Experts windows.

5. Click Tools –> Options menu, then choose Charts tab and fillMax bars in history

dan Max bars in chart with biggest number. You can type number 9 for about 15x. Then

click OK.

6. Then import the history data M1_GBPUSD.hst to your Metatrader by click Tools-

>History Center menu.

Then you will see window below

7. Find GBPUSD and double click on 1 Minute (M1) . Remember !! Double click !!

8. Then import the downloaded history data by clicking import button then Browse and

find downloaded file.

9. Then click OK and click OK again on next window until you get back to history

center window where GBPUSD Minute 1 (M1) filled with 3 years data. Scroll down to check

it.

10. Then Close that history center windows and close your Metatrader4 .

11. Then open again your Metatrader4 .

12. Then check the loaded history data by click on File -> Open offline dan make sure

that GBPUSD,M1 data is exist with 3 years data . Then click on GBPUSD,M1 and click Open

button to open GBPUSD M1 chart

Make sure the chart active by close any opened chart.

Next, we need to create data for higher timeframe M5, M15, M30, H1, H4 dan D1 using that

chart and script called period_converter.

13. Make sure you can found period_converter script at Navigator - > Script window

14. First we create M5 data by right click period_converter script and choose Execute

to chart.

15. It will open a window then Choose Inputs tab.

16.To create M5 data, edit ExtPeriodMultiplier value to 5 by double click the 3 value and

change it to 5.

17. Then click OK.

18.To make sure the M5 data created, make you can see the following message on the

Terminal Window at Expert Tab.

19. Than do the same procedure to create M15 data by right click on period_converter

script then choose Execute on Chart. And click Yes on show up window.

20.Change the ExtPeriodMultiplier variable to 15 and click OK.

21.Make sure you can found messages like below at Terminal window at expert

tab.

22.Do same prodecure for M30, H1, H4 and D1 using following setting :

For M30, use ExtPeriodMultiplier = 30.

For H1, use ExtPeriodMultiplier = 60.

For H4, use ExtPeriodMultiplier =240.

For D1, use ExtPeriodMultiplier = 1440.

23. Then restart your Metatrader by close it and open it again.

Make sure you do this restart thing or the data will not created correctly.

24. Then opne the strategy tester by press Ctrl-R or by click on menu View-

>Strategy Tester.

25.Then set the menu like below

Expert Advisor : 910-M30-EA

Symbol : GBPUSD

Model : Every Tick

Period : M30

26. Click on Expert Properties button and click on Inputs tab to change the setting

. Then click ok to finish.

Then click start button to start testing the EA To see the result you can click on

Result, Graph, Report, Journal tabs

ResultTab

Graph Tab

Report Tab

26. To see how every trade done, you can click on Open Chart button at Setting

Tab which will open a chart with some indicator to show you where position

opened and closed.

26.Do some tests with the EA to make you familiar with it before you run it on live

account.

BAB III How to run 910-M30-EA EA to trade live

*Make sure you run this EA on DEMO Account first before you run it on Live Account

to get familiar with the EA behaviour.

1. Click on Tools -> Options menu

2. Choose Expert Advisors tab and make sure you set the setting like below then

click OK.

3. Then open a LIVE GBPUSD chart with timeframe M30 and install the EA

on that chart by right click the EA on Navigator->Expert Advisors

window and choose Attach to a chart.

4. Then set the setting like you need

5. Then check the status of the EA by checking symbol on Upper Right

Corner of the chart. When you see X symbol that mean the EA is OFF. So you need to turn it

ON by click on Expert Advisor button.

Then the button will change into this button

After you turn on the EA and found a sad face on the upper right chart that mean the EA is

activated but there is an error occurred. Make sure your computer is ONLINE and make sure

your broker allow you to run EA. Some broker does not allow the user to use EA.

6. If you found a happy face on the chart that mean your EA working properly. Just wait

for the EA to make a trade.

You can add any indicator on the chart where your ea Work.

Make sure you run the EA on right pair and Timeframe.