
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I decided to make such an experiment: starting from 2012.01.01 on USDJPY M15 conduct optimization for half a year and trade with the best optimization result for half a year. Then optimize and trade again
Optimization parameter: "Balance + max Sharp Ratio". Mode of ticks generation: "OHLC".
Next it will be ...
version "1.008".
Input parameters:
Also we have changed the logics for scale in: for example to open a Buy position we are not looking for the LOWEST position, we just check the opening price of the OLDEST position in the same direction. If this CURRENT POSITION has an opening price lower than the current Ask price, in which case we do not want to fill the BUY position.
And, as always, recommendations: optimize in tick generation mode "OHLC", and perform single passes in "All ticks" or "Every tick based on real ticks".
Here is an idea: I want to run genetics on many symbols and many timeframes (optimally from M5 up to and including H4). Then post the results of genetics here (how to save the test results: after genetics in the tab "Optimization" right click and "Export to XML").
Source data:
MetaQuotes-Demo server.
Parameters to be optimized:
Run on such symbols (character set "forex.all"):
Symbol
Periods
User
EURUSD
M5, M10
Vladimir Karputov
GBPUSD
USDCHF
USDJPY
USDCAD
AUDUSD
AUDNZD
AUDCAD
M5
Vladimir Karputov
AUDCHF
AUDJPY
CHFJPY
EURGBP
EURAUD
EURCHF
EURJPY
EURNZD
EURCAD
GBPCHF
GBPJPY
CADCHF
need help - I can't do that many tests on my own. The prerequisite is that the genetics test must pass FULLY - until it stops completely.
Ivan 1.008 EURUSD M5:
Single pass with the best result (Every tick based on real ticks mode):
As you can see, the main profit is made on good one-way movements.
Ivan 1.008 EURUSD M10:
Single pass with the best result (Every tick based on real ticks mode):
Seems to me - unsuccessful parameters - profit only at the expense of ONE good share.
version "1.009".
When a position cannot be opened ( minimum Stop Loss condition is not met) the message is now more informative - prices have been added to it:
You're a sailor I'm a sailor,
You're a fisherman I'm a fisherman
You on land I'm on sea
We will not meet at all.
Added: Stock trading is netting and my EA is only for hedging (as indicated by the error printout when trying to connect to a stock account:
). Therefore, the exchange is flying by with a whistle of plywood on Paris.
But you're wrong - about the plywood over Paris! I looked, your code is quite acceptable for trading on the exchange, at least on the FORTS market. I ran it in the strategy tester on @Si Splice M15 instrument from 2013-2017, and the result is given below. Since you do not hold opposite positions simultaneously (EA trades in Stop And Reverse mode), then I suspect that the EA will also work on the stock market, I just can't check it now.
Put parameter "Use averaging" == false and the Expert Advisor "Ivan" will not add a position.
Although... Even if it adds a position, it will still (when the signal is reversed) close completely. You may try it.
So let him add a position, as long as the EA closes the position in one direction first, before it opens in the opposite direction.