čtvrtek 30. června 2011
sobota 11. června 2011
Testing Features and Limits in MetaTrader 4
Testing Features and Limits in MetaTrader 4
Introduction
This article allows to find out more about features and limits of Strategy Tester in MetaTrader 4.
Special Features of Testing Strategies on History Data
Some functions are processed/passed without output
These are Sleep(), Alert(), SendMail(), PlaySound(), MessageBox(), WindowFind(), WindowHandle(), WindowIsVisible()
Trading is permitted for the symbol under test only, no portfolio testing
Attempts to trade using another symbol will return error
Lot sizes including initial size and increment step, commissions and swaps should be taken from the active account settings
Before testing, it is necessary to make sure that there is at least one activated account in the list in "Navigator" window of the terminal.
All swaps, margin requirements, expirations, GTC-orders are modeled
Testing is performed maximally closely to trading server conditions. But the can occur some inaccuracies in estimation of margin requirements on cross currencies because of lack of precise information about conversion prices at each moment.
Zero bar of another timeframe for the same symbol under test is modeled approximately
Open = correct Open, Close = correct Close, Low = min (Open,Close), High = max (Open,Close), Volume = final Volume (false)
Instant Execution mode is assumed to be used in trades, being processed without slippage
Processing orders, Open/Close without slippages
Testing stops after StopOut
Weekly, monthly, and irregular timeframes are not tested
The deposit currency can be changed, but conversion prices are set, and the current available ones are used
There are still no delays in execution of trade operations
A setup delay is planned to be introduced in processing of transactions
Account History is fully available, and it does not depend on settings
If other symbols and periods are actively used, it is desirable to download them to all possible depth
At every-tick modeling, tester pumps all necessary timeframes for the symbol under test independently
Using of MarketInfo function generates error ERR_FUNCTION_NOT_ALLOWED_IN_TESTING_MODE(4059), however, correct information about current prices for the symbol under test, about stop level dimensions, about point size, about spread size of any symbol being present in the quotes window is provided.
Special Features of Optimization Process
Nothing is output in the journal (either Print() function)
This was done in order to accelerate the testing and save disk space. If complete logs are output the journal files will need hundreds of MByte.
Draw objects are not really set
The objects are disabled in order to accelerate the testing.
"Skip useless results" function is used
In order not to garble the table and chart with testing results, the possibility to skip very bad results is used. This function can be enabled in context menu of "Optimization Results" -> "Skip useless results" tab.
Strategy Tester: Modes of Modeling during Testing
What the Numbers in the Expert Testing Report Mean
One-Minute Data Modelling Quality Rating
Break Through The Strategy Tester Limit On Testing Hedge EA
Testing Visualization: Trade History
Automated Optimization of a Trading Robot in Real Trading
Introduction
This article allows to find out more about features and limits of Strategy Tester in MetaTrader 4.
Special Features of Testing Strategies on History Data
Some functions are processed/passed without output
These are Sleep(), Alert(), SendMail(), PlaySound(), MessageBox(), WindowFind(), WindowHandle(), WindowIsVisible()
Trading is permitted for the symbol under test only, no portfolio testing
Attempts to trade using another symbol will return error
Lot sizes including initial size and increment step, commissions and swaps should be taken from the active account settings
Before testing, it is necessary to make sure that there is at least one activated account in the list in "Navigator" window of the terminal.
All swaps, margin requirements, expirations, GTC-orders are modeled
Testing is performed maximally closely to trading server conditions. But the can occur some inaccuracies in estimation of margin requirements on cross currencies because of lack of precise information about conversion prices at each moment.
Zero bar of another timeframe for the same symbol under test is modeled approximately
Open = correct Open, Close = correct Close, Low = min (Open,Close), High = max (Open,Close), Volume = final Volume (false)
Instant Execution mode is assumed to be used in trades, being processed without slippage
Processing orders, Open/Close without slippages
Testing stops after StopOut
Weekly, monthly, and irregular timeframes are not tested
The deposit currency can be changed, but conversion prices are set, and the current available ones are used
There are still no delays in execution of trade operations
A setup delay is planned to be introduced in processing of transactions
Account History is fully available, and it does not depend on settings
If other symbols and periods are actively used, it is desirable to download them to all possible depth
At every-tick modeling, tester pumps all necessary timeframes for the symbol under test independently
Using of MarketInfo function generates error ERR_FUNCTION_NOT_ALLOWED_IN_TESTING_MODE(4059), however, correct information about current prices for the symbol under test, about stop level dimensions, about point size, about spread size of any symbol being present in the quotes window is provided.
Special Features of Optimization Process
Nothing is output in the journal (either Print() function)
This was done in order to accelerate the testing and save disk space. If complete logs are output the journal files will need hundreds of MByte.
Draw objects are not really set
The objects are disabled in order to accelerate the testing.
"Skip useless results" function is used
In order not to garble the table and chart with testing results, the possibility to skip very bad results is used. This function can be enabled in context menu of "Optimization Results" -> "Skip useless results" tab.
Strategy Tester: Modes of Modeling during Testing
What the Numbers in the Expert Testing Report Mean
One-Minute Data Modelling Quality Rating
Break Through The Strategy Tester Limit On Testing Hedge EA
Testing Visualization: Trade History
Automated Optimization of a Trading Robot in Real Trading
pátek 10. června 2011
Backtesting v MetaTrader 4
Backtesting v MetaTrader 4
Zavřít MT před zavřením pozavírej všechny grafy a smazat vše z adresáře MT4/History/adresář brokera
Potom stáhnout 1M data např z alpari http://www.alpari-idc.ru/ru/dc/databank
Otevřít MT - Tools – Option – Charts – Max bars in history = 99999999999999, Max bars in chart = 99999999999999
V MT: Tools → History center a do příslušného páru naimportovat data z alpari
V MT: File – Open Offline – vyber timeframe, který jsi právě naimportoval
Otevře se ti graf, přetáhni na něj z Script → Period Converter a v inputs zvol periodu v minutách postupně až po nejvyšší timeframe, které chceš testovat
Tzn. Pokud chceš testovat systém na 1H přetáhneš poprvé period converter a dáš periodu 5, pak ho přetáhneš znovu a dáš periodu 15, pak zase znovu a dáš 30 a nakonec 60. Tím se ti vygenerují všechny ostatní timeframe, nižší timeframe potřebuješ pro správné dopočítávání. POZN: před dalším přetažením period conv. si zkontroluj, že ten předešlý doběhl, to uvidíš dole, v záložce expert se píše něco jako Total writen records …. Nebo nějak tak. Pak teprve přetáhni period conv. Dřiv ne.
Pak už jen stačí otevřít backtester a začít testovat, ovšem po každém novém importu nezapomeň zaškrtnout recalculate.
- pokud je zdrojový soubor (tedy ten s příponou *.mq4) umístěn v adresáři experts i přeložený (zkompilovaný) soubor tam není, nedělá to nic (žádné výsledky), přestože v roletce Strategy Testeru je název EA zobrazen
- v adresáři Experts tedy musí být soubory dva - se stejným názvem a různou příponou. např. MACDsample.mq4 a současně i MACDsample.ex4
- pokud tam nejsou, může to být tím, že se spouští Metaeditor samostatně. Pak ukládá na adresu, ze které byl spuštěn, dokud to není změněno příkazem File>Save as>Název adresáře
- takže poučení: vyplatí se zkontrolovat, kam Metaeditor ukládá přeložené (zkompilované) soubory - předejde se tím podobným překvapením
zdroj
http://financnik.cz/wiki/mtbacktest
Zavřít MT před zavřením pozavírej všechny grafy a smazat vše z adresáře MT4/History/adresář brokera
Potom stáhnout 1M data např z alpari http://www.alpari-idc.ru/ru/dc/databank
Otevřít MT - Tools – Option – Charts – Max bars in history = 99999999999999, Max bars in chart = 99999999999999
V MT: Tools → History center a do příslušného páru naimportovat data z alpari
V MT: File – Open Offline – vyber timeframe, který jsi právě naimportoval
Otevře se ti graf, přetáhni na něj z Script → Period Converter a v inputs zvol periodu v minutách postupně až po nejvyšší timeframe, které chceš testovat
Tzn. Pokud chceš testovat systém na 1H přetáhneš poprvé period converter a dáš periodu 5, pak ho přetáhneš znovu a dáš periodu 15, pak zase znovu a dáš 30 a nakonec 60. Tím se ti vygenerují všechny ostatní timeframe, nižší timeframe potřebuješ pro správné dopočítávání. POZN: před dalším přetažením period conv. si zkontroluj, že ten předešlý doběhl, to uvidíš dole, v záložce expert se píše něco jako Total writen records …. Nebo nějak tak. Pak teprve přetáhni period conv. Dřiv ne.
Pak už jen stačí otevřít backtester a začít testovat, ovšem po každém novém importu nezapomeň zaškrtnout recalculate.
- pokud je zdrojový soubor (tedy ten s příponou *.mq4) umístěn v adresáři experts i přeložený (zkompilovaný) soubor tam není, nedělá to nic (žádné výsledky), přestože v roletce Strategy Testeru je název EA zobrazen
- v adresáři Experts tedy musí být soubory dva - se stejným názvem a různou příponou. např. MACDsample.mq4 a současně i MACDsample.ex4
- pokud tam nejsou, může to být tím, že se spouští Metaeditor samostatně. Pak ukládá na adresu, ze které byl spuštěn, dokud to není změněno příkazem File>Save as>Název adresáře
- takže poučení: vyplatí se zkontrolovat, kam Metaeditor ukládá přeložené (zkompilované) soubory - předejde se tím podobným překvapením
zdroj
http://financnik.cz/wiki/mtbacktest
pondělí 23. května 2011
Free VPS hosting from Forex brokers
pátek 20. května 2011
Forex Regulation
Forex Regulation
Forex Regulation
List of Forex regulatory & supervisory bodies for each country
Forex regulation
New CFTC Forex Regulations Unpopular, but Worthwhile
How the new Forex Regulations Will Change Your Forex Trading – UMTtrdaing.com
FXCM - Regulation COMPANY PROFILE
Main Regulatory Organizations - Forex Regulation Agencies - NFA, CFTC etc.
Forex Regulation
List of Forex regulatory & supervisory bodies for each country
Forex regulation
New CFTC Forex Regulations Unpopular, but Worthwhile
How the new Forex Regulations Will Change Your Forex Trading – UMTtrdaing.com
FXCM - Regulation COMPANY PROFILE
Main Regulatory Organizations - Forex Regulation Agencies - NFA, CFTC etc.
sobota 7. května 2011
Ichimoku Kinko Hyo buying and selling signals
Ichimoku Kinko Hyo buying and selling signals
Ichimoku Kinko Hyo
Ichimoku Kinko Hyo Technical Indicator is predefined to characterize the market Trend, Support and Resistance Levels, and to generate signals of buying and selling. This indicator works best at weekly and daily charts.
When defining the dimension of parameters, four time intervals of different length are used. The values of individual lines composing this indicator are based on these intervals:
Tenkan-sen shows the average price value during the first time interval defined as the sum of maximum and minimum within this time, divided by two;
Kijun-sen shows the average price value during the second time interval;
Senkou Span A shows the middle of the distance between two previous lines shifted forwards by the value of the second time interval;
Senkou Span B shows the average price value during the third time interval shifted forwards by the value of the second time interval.
Chinkou Span shows the closing price of the current candle shifted backwards by the value of the second time interval.
Ichimoku Kinko Hyo
Ichimoku Kinko Hyo Technical Indicator is predefined to characterize the market Trend, Support and Resistance Levels, and to generate signals of buying and selling. This indicator works best at weekly and daily charts.
When defining the dimension of parameters, four time intervals of different length are used. The values of individual lines composing this indicator are based on these intervals:
Tenkan-sen shows the average price value during the first time interval defined as the sum of maximum and minimum within this time, divided by two;
Kijun-sen shows the average price value during the second time interval;
Senkou Span A shows the middle of the distance between two previous lines shifted forwards by the value of the second time interval;
Senkou Span B shows the average price value during the third time interval shifted forwards by the value of the second time interval.
Chinkou Span shows the closing price of the current candle shifted backwards by the value of the second time interval.
neděle 17. dubna 2011
Strategie Forex
- pochopit detailně svíčky
- aplikovat fibonachi
- seznámit se s obrazci - trojuhelniky
- trendové čáry - využívat v praxi
- fundamenty - prohlédnout před každým vstupem do obchodu
úterý 29. března 2011
Expert Builder - system
Expert Builder system
Vytvořte si jednoduše automatické strategie - Expert Builder
Postup tvorby automatického obchodního systému
Logické podmínky v programu XTB Expert Builder
Tvorba konkrétního automatického systému
Vladimír Holovka
ExpertAdvisorBuilder
Molanis Strategy Builder for MetaTrader 4
Molanis Strategy Builder for MetaTrader 5
Left / right value and logical operators
Logical operator is the operator which compares the left value with the right value.
'=': This means 'When the left value is equal to the right value'
'<>': This means 'When the left value isn't equal to the right value'
'<': This means 'When the left value is less than the right value' '>': This means 'When the left value is greater than the right value'
'<=': This means 'When the left value is equal to / less than the right value' '>=': This means 'When the left value is equal to / greater than the right value'
Overview of the Logical Operators
Logická funkce
Truth table - Pravdivostní tabulka
Vytvořte si jednoduše automatické strategie - Expert Builder
Postup tvorby automatického obchodního systému
Logické podmínky v programu XTB Expert Builder
Tvorba konkrétního automatického systému
Vladimír Holovka
ExpertAdvisorBuilder
Molanis Strategy Builder for MetaTrader 4
Molanis Strategy Builder for MetaTrader 5
Left / right value and logical operators
Logical operator is the operator which compares the left value with the right value.
'=': This means 'When the left value is equal to the right value'
'<>': This means 'When the left value isn't equal to the right value'
'<': This means 'When the left value is less than the right value' '>': This means 'When the left value is greater than the right value'
'<=': This means 'When the left value is equal to / less than the right value' '>=': This means 'When the left value is equal to / greater than the right value'
Overview of the Logical Operators
Logická funkce
Truth table - Pravdivostní tabulka
pátek 18. března 2011
Back test SysFX
BACK TEST SysFX
1. měnové páry pro testování EUR/USD; USD/JPY; EUR/JPY; GBP/USD
• později USD/CAD, NZD/…., AUD/…
2. Počátek sledovacího období 1.1.2011
3. časový rámec H1 + hodinový graf SysFX
4. časový rámec H4 + denní graf SysFX
5. (časový rámec H1 + denní graf SysFX) alternativa
6. Zapisovat datum vstupu a výstupu z obchodu
7. Parametry pro zápis signálů
Verze A – vstupování podle šipek
• Vstup do obchodu – velká zelená/červená šipka
• výstup z obchodu – velká zelená/červená šipka
o nebo
• výstup z obchodu – zelený palec pro červenou šipku; červený palec pro zelenou šipku
• Zapisovat hodnoty OPEN u následující svíčky a hodnoty palců pro vstup/výstup u následující svíčky
• Budeme brat v úvahu pouze šipky s označené VSTUP
Verze B – vstupování podle trendů
• Vstup do obchodu - velká zelená/červená šipka + soulad krátkodobého a dlouhodobého trendu!!
• Zapisovat hodnoty CLOSE svíček pro vstup
• výstup z obchodu – velká zelená/červená šipka
o nebo
• výstup z obchodu – zelený palec pro červenou šipku; červený palec pro zelenou šipku
• Zapisovat hodnoty Value u šipek a palců pro výstup
1. měnové páry pro testování EUR/USD; USD/JPY; EUR/JPY; GBP/USD
• později USD/CAD, NZD/…., AUD/…
2. Počátek sledovacího období 1.1.2011
3. časový rámec H1 + hodinový graf SysFX
4. časový rámec H4 + denní graf SysFX
5. (časový rámec H1 + denní graf SysFX) alternativa
6. Zapisovat datum vstupu a výstupu z obchodu
7. Parametry pro zápis signálů
Verze A – vstupování podle šipek
• Vstup do obchodu – velká zelená/červená šipka
• výstup z obchodu – velká zelená/červená šipka
o nebo
• výstup z obchodu – zelený palec pro červenou šipku; červený palec pro zelenou šipku
• Zapisovat hodnoty OPEN u následující svíčky a hodnoty palců pro vstup/výstup u následující svíčky
• Budeme brat v úvahu pouze šipky s označené VSTUP
Verze B – vstupování podle trendů
• Vstup do obchodu - velká zelená/červená šipka + soulad krátkodobého a dlouhodobého trendu!!
• Zapisovat hodnoty CLOSE svíček pro vstup
• výstup z obchodu – velká zelená/červená šipka
o nebo
• výstup z obchodu – zelený palec pro červenou šipku; červený palec pro zelenou šipku
• Zapisovat hodnoty Value u šipek a palců pro výstup
pondělí 28. února 2011
Correlation table Diversification in Forex
Correlation table Diversification in Forex
Correlation table - MATAF
What is the correlation between American stock prices and the value of the U.S. dollar?
Forex Trading Myth #2 - Diversification Reduces Risk
Why Diversification is so Important in Forex Trading
Diversification in Trading : Six Important Aspects to Take Into Account
Forex Correlation Heatmap and Correlation Table
•a reciprocal relation between two or more things
•correlation coefficient: a statistic representing how closely two variables co-vary; it can vary from -1 (perfect negative correlation) through 0 (no correlation) to +1 (perfect positive correlation); "what is the correlation between those two variables?"
•a statistical relation between two or more variables such that systematic changes in the value of one variable are accompanied by systematic changes in the other
http://www.princeton.edu/
Korelace (z lat.) znamená vzájemný vztah mezi dvěma procesy nebo veličinami. Pokud se jedna z nich mění, mění se korelativně i druhá a naopak. Pokud se mezi dvěma procesy ukáže korelace, je pravděpodobné, že na sobě závisejí, nelze z toho však ještě usoudit, že by jeden z nich musel být příčinou a druhý následkem
http://cs.wikipedia.org/wiki/Korelace
Korelace měn
Vzájemná korelace měnových párů
Měnové páry a jejich vzájemná korelace s ostatními trhy
Currency Correlations Table
Široký pohled na vzájemné korelace
I divide it into 2 parts & I will give you 2 pairs as example:
-high volatility (if you are impatient or if you don't have a lot of time to trade)
-low volatility (if you want to lower risk)
High volatility pairs: GBP/USD & EUR USD
Low volatility pairs: USD/JPY & EURGBP
What currency pairs to begin your trade in forex
Easiest Currency Pair to Trade
What currency pairs to trade in Forex?
There Are Some Advices How To Choose Currency Pair To Trade On Forex.
Correlation table - MATAF
What is the correlation between American stock prices and the value of the U.S. dollar?
Forex Trading Myth #2 - Diversification Reduces Risk
Why Diversification is so Important in Forex Trading
Diversification in Trading : Six Important Aspects to Take Into Account
Forex Correlation Heatmap and Correlation Table
•a reciprocal relation between two or more things
•correlation coefficient: a statistic representing how closely two variables co-vary; it can vary from -1 (perfect negative correlation) through 0 (no correlation) to +1 (perfect positive correlation); "what is the correlation between those two variables?"
•a statistical relation between two or more variables such that systematic changes in the value of one variable are accompanied by systematic changes in the other
http://www.princeton.edu/
Korelace (z lat.) znamená vzájemný vztah mezi dvěma procesy nebo veličinami. Pokud se jedna z nich mění, mění se korelativně i druhá a naopak. Pokud se mezi dvěma procesy ukáže korelace, je pravděpodobné, že na sobě závisejí, nelze z toho však ještě usoudit, že by jeden z nich musel být příčinou a druhý následkem
http://cs.wikipedia.org/wiki/Korelace
Korelace měn
Vzájemná korelace měnových párů
Měnové páry a jejich vzájemná korelace s ostatními trhy
Currency Correlations Table
Široký pohled na vzájemné korelace
I divide it into 2 parts & I will give you 2 pairs as example:
-high volatility (if you are impatient or if you don't have a lot of time to trade)
-low volatility (if you want to lower risk)
High volatility pairs: GBP/USD & EUR USD
Low volatility pairs: USD/JPY & EURGBP
What currency pairs to begin your trade in forex
Easiest Currency Pair to Trade
What currency pairs to trade in Forex?
There Are Some Advices How To Choose Currency Pair To Trade On Forex.
Reward to risk ratios - poměr mezi riskem a ziskem
Reward to risk ratios - poměr mezi riskem a ziskem
2. Returning the lost capital is harder that it seems to
Jak na RRR v intradenním obchodování
Moneymanagement
Publish Post
2. Returning the lost capital is harder that it seems to
Jak na RRR v intradenním obchodování
Moneymanagement
Publish Post
How to trade MT4 from Android
How to trade MT4 from Android
Android MetaTrader - Mobile Trading (Forex/Futures,CFDs) On The Phone
Android MetaTrader - Mobile Trading (Forex/Futures,CFDs) On The Phone
Metatrader 4 Remot for Android
But be careful to trade currencies from mobile devices
But be carefull to trade throw unknown platform
But be careful to trade currencies from mobile devices
But be carefull to trade throw unknown platform
.
Přihlásit se k odběru:
Příspěvky (Atom)