Комментарии могут оставлять пользователи, купившие или арендовавшие продукт
Nikolay Moskalev  
Напишите описание настроек советника
Grzegorz Korycki  
i have  made a lot of changes still waiting to be accepted by the administration. i am working on a version making manual trading with this EA much simpler - that would allow to set resistance level and desired draw-dawn in that level. grid would be then automatically scaled with that option. that would for example allow to harvest the "dance" below 1.65000 (few hundred percent of growth in 1.63-1.65 range in few days for example, user would set the resistance in his opinion that the course is not going to get through). Its also possible with this version but there is much mathematics involved. After adding the mode I have described, to make usage of the EA much easier, im going to make a full tutorial explaining different aspects of strategy and show various usages. (using captions in youtube for easy automatic translation of the text) There are going to be many new versions so stay put at watch strategy development if you are interested. (few of my signals are already using it on auto or manual mode) 
Grzegorz Korycki  
i was talking about gbp/usd as it is near its resistance levels
Nikolay Moskalev  
можете предоставить оптимизированные настройки?
Grzegorz Korycki  
optimized for what? This strategy is only half-automatic. if there is constant trend like on jpy pairs you can use it in automatic mode. If the administration accepts the 1.25 version i released, you will have it with optimized settings for gbp/jpy pair including trailing stop for bigger basket. Now im working on the changes i described. Write a private message to explain what you mean exactly :)
Nikolay Moskalev  

сам пишешь что "Советник прост в настройке" 

у вас сейчас настройки только для одной пары GBP/JPY? или они подходят без оптимизации и подбора параметров?

можешь объяснить что именно настраивать? какие параметры следует подбирать под свою стратегию? В описании советника нет описания входных параметров

к примеру что значит параметр mm_ballance? как можно снизить просадку?

Nikolay Moskalev  
если я буду к примеру торговать GBP/USD параметры надо будет менять?
Grzegorz Korycki  
siberia-01:
if I for example trade GBP / USD will need to change the settings?

yes of course. this is half automated strategy. you determine the direction of the transactions (either only buy or only sell, either only 1 transaction in manual mode or 9999999 transactions for just constant transactions.) GBP/USD was bullish and now its shifting to bearish. so you cannot just set the script to buy (1) and expect it to work for very long without equity wipe-out. If you agree on a fact that trend is being reversed you need to do such things for optimization:

1. set test time of last trend (2013.03.01-2013.12.01) and first parameter on 1 (buy)

2. take parameters for optimization on 1M opening prices -  scale (1.0-6.0), mm (500-3000), optimized parameter Custom Max (it is draw-dawn in percents)

take the most profitable result with acceptable draw-dawn. the results will not be impressive as this pair is not the very best choice for automated grid strategy (my second strategy is better than this one on gbp/usd; ill release it after i finish this one), but its just an example. I advice using it near the resistance levels only.

3. change mode_only to -1 for short only and you have automated settings for downtrend.

 

better try CHF/JPY:

1. take period 09.2012-12.2012

2. take parameters for optimization on 1M opening prices - scale (0.2-2.0, step 0.2), MM - 500-2000, step 100, optimize custom max (% draw-dawn)

3. take the results that you like. if you wanna optimize more take trailing_stop_pct 40-80, step 5 and trailing_stop_min_no_pos 4-8, step 1. Optimize current max at every tick test. 

It should generate nice profit during that period with proper settings.

 

Remember this is HALF-automatic half-manual strategy so it cannot be run wild without changing any settings in strategy tester. 

JPY pairs should work nice with default settings, so try them out when you want to run it with no optimization. (all jpy pairs should generate decent or very good profit)

 

You are right about the description of the parameters - there are none. Ill do that with the next version. 7 days ago i didn't know mql5 at all, but i am a quick study so expect that in the next version.

Grzegorz Korycki  

Description of the parameters:

 

mode_only_long_1_short_minus1 = 1;

mode for setting either long (1) or short trades(-1) 

 

how_many=99999999;

how many trades should script perform? leave default for automatic mode, change to 1 if you are trading manually 



"____start_price_____";

start_trading_price_on = false;

if enabled, trading will not start until selected price is reached 

 

input double start_trading_price=0.00;

price for which script will start working (start_trading_price_on has to be TRUE)



"____lot_profit______"; 
easy_lot = 0.01;

base lot size

 

auto_non_micro_account = false;

automatically increase lot size to allowed lot size (so if allowed lot size is 0.1 both easy_lot and mm_ballance are going to be x10) 

 

profit = 43;

take profit in pips from average weight price (for every easy_lot opened on average we want 43 pips - some positions may be closed with loss but they will be compensated by profitable ones closed at the same time to ger 43 pips per easy_lot opened)

 

scale = 0.99;

scale factor for the grid 

 

trailing_stop_on = 1;

trailing stop - 1 for on 0 for off (copy from mt4 version as there you cannot optimize bool; going to change it to bool in mt5 next version0

 

trailing_stop_pct = 60;

trailing stop value in %. so if the profit reaches required 43 pips then trailing stop kicks in. if the curse after that will go not in out favour, 60%*43=25.8pips will close the transaction wit such (smaller). but if it will go up to let's say 100 pips and then come back to 60%*100=60pips it will close transaction with such income per easy_lot. 

trailing_stop_min_no_pos = 5;

how many positions need to be opened for "trailing step" to work. trailing stop for small basket of orders reduce the profit (i tested it a lot), but if we have big basket there is really sense of using it. so with this option set to 5, trailing will work after pips_05 will be reached (5 positions opened)

 

"___MONEY_MANAGEMENT________"; 
mm = true;

money management function on or off

 

mm_ballance = 1700;

base balance for counting the multipler for easy_lot. SO lets say you start with 1700 usd and you set mm_ballance to 1700. easy lot is 0.01. after reaching ballance of 3400, easy_lot is going to be multiplied by 2x and so on.

 


"___GRID__";

pips_no = 10;

how many positions script should use


  lots_01 = 1;

lot multiplier of easy_lot



pips_02 = 18;

pip distance from first opened position, if scale is 1.0. If scale is different, lets say 0.5, the distance will be 9; for scale 2.0 distance will be 36

 

lots_02 = 1;
lot multiplier for easy_lot for position no 2

 

STOP_LOSS = 99999999;
pip distance for stop loss * scale

 

 

Nikolay Moskalev  
Спасибо
Тесты впечатляют ) На GBP/JPY 99% прибыльных сделок, осталось подобрать параметры для уменьшения просадок, 60% считаю очень рискованной и психологически ее трудно принять
Grzegorz Korycki  
siberia-01:
Thank you
Tests impressive) on GBP / JPY 99% profitable trades left to choose the parameters to reduce drawdowns, 60% think it is very risky and it is psychologically difficult to accept

change the scale or mm_ballance to reduce draw-dawns. I have some fresh great ideas about this script. To physically draw margin levels and grid levels on the chart in form of graphics. Many traders trade visually so they could exactly see visualization of their current trade situation with current script settings. For many years i was a game programmer, i am going to add some fancy and helpful graphics effects for "visual" traders. :)

Also there is an error with trailing step. When i correct that results should improve more on this automatic mode. Stay put, more versions are comming. :) 

Grzegorz Korycki  

New description has been added. Everything is described in detail now in the program itself.

I hope that helps. 

Arief Adianto  

I have questions ...

This report appear :

2014.02.11 02:01:45.356 grid_harvester_mt5 (GBPJPY.e,M1) CTrade::OrderSend: market buy 0.02 GBPJPY.e [unknown retcode 10001]

is it normal??

my TP is 10 pip, when that report appear and the profit reached 12pip++ the EA not closing the trade ...

please advice ... 


Grzegorz Korycki  

this [unknown retcode 10001] is not telling anything. I have never encountered error like that and i use my strategy on at least 10-12 accounts with more than 20-30 trades a day. I use roboforex.

Could you write your broker's name?

I will post your question on MQL5 FORUM (what an 10001 error could mean?). Now i have to leave ill be back at 0:00 gmt and ill try help you solving your problem.

From what i can see advisor wants to close the trade but it gets this unknown error.

 

 

It wants to close transaction at 12 pip not 10 pip, because your spread is probably 2 pip, and TP is counted in pure profit (so spread matters for the results).

Grzegorz Korycki  

here is my forum post:

https://www.mql5.com/en/forum/20144

Arief Adianto  

I use Roboforex MT5 ECN Pro account, it already profit 12pip++ and not closing. 

When I see that retcode, I feel it's strange .. so I turn off the EA and close trade manually, then restart the EA.

I have more than 10 trades for today and retcode 10001 error appear just once.

Grzegorz Korycki  

the script should requote until it gets it right at all returncodes but 10009 and 10008 (done/order placed). Maybe you didnt give him enough time (or was it repeating that error?)

So if it fails to close transaction it tries until it does. (even with loss - i had a situation like that on economical news, that he closed trades with a little loss. the market was just to quick :)

I didnt add the "hard" sl and tp as it is problematic with many brokers (TP and SL cannot be too close to the price)

 

Generally i think that returncode was not caused by a script. The trade is performed by external CTrade library and it was reporting unknow error. Hehe how useful. 

 

alchemist:

I use Roboforex MT5 ECN Pro account, it already profit 12pip++ and not closing. 

When I see that retcode, I feel it's strange .. so I turn off the EA and close trade manually, then restart the EA.

I have more than 10 trades for today and retcode 10001 error appear just once.

Arief Adianto  

OMG ... now it appear twice... yes... when the market is quick....

 

2014.02.12 03:00:10.570 grid_harvester_mt5 (GBPJPY.e,M1) CTrade::OrderSend: market buy 0.02 GBPJPY.e [unknown retcode 10001]

2014.02.12 03:00:09.007 grid_harvester_mt5 (GBPJPY.e,M1) CTrade::OrderSend: market sell 0.02 GBPJPY.e [unknown retcode 10001]


Arief Adianto  
Look at the second one... it's a sell... how come??? my setting is buy mode/buy only....
Grzegorz Korycki  
so its your broker refusing to accept the trade. it happens alos in manual trade
alchemist:
Look at the second one... it's a sell... how come??? my setting is buy mode/buy only....
Комментарии могут оставлять пользователи, купившие или арендовавшие продукт