[Archive!] Writing an advisor for free - page 28

 
do you have a script; two manual pending buystop and sellstop orders are placed, when one of them triggers, for example buystop, the script should open one more "copy" of sellstop
 
Help PLEASE with refining the scalper playing on minutes. I have come across one not bad. The essence he has the following: he opens a deal with a takeaway of 10 points, if there is a drawdown of 30 points, he opens a new deal in the same direction as the first and moves the takeaway, so that when you reach it, all the losses wore off, as well as when you reach the takeaway, closes all open trades on the currency. Due to this we get profit in any situation. I would like to change for starters that it would close old transaction at the opening of a new one at drawdown, instead of leaving it to drag. I would like to change it, if I opened a new deal and had a slippage, I would close the old one, and not leave it dragging. I have been working on this for a long time now.
Files:
123.mq4  20 kb
 
samoilov-nikita писал(а) >>
Help PLEASE with refining scalper playing on minutes. I came across one not bad. The essence he has the following: he opens a deal with a takeaway of 10 points, if there is a drawdown of 30 points, he opens a new deal in the same direction as the first and moves the takeaway, so that when you reach it, all the losses played, as well as achieving the takeaway, closes all open trades on the currency. Due to this we get profit in any situation. I would like to change for starters that it would close old transaction at the opening of a new one at drawdown, instead of leaving it to drag. I would like to change it, if I opened a new deal and had a drawdown, I would close the old one, instead of procrastinating and leave it to grow. I have been working on this for a long time now.


If I understand correctly, it is averaging? If I close the first (losing) one using stop, the idea behind it will be lost. I don't know if I've understood this correctly, but if I close the first (losing) position with a stop, then the idea behind it will be lost.

 
sever29 >>:


правильно ли понял, что он усредняет? а если закрывать по стопу первую (убыточную), то идея, заложенная в него потеряется. Он может закрывать в убытке и 10 поз подряд, где их компенсация?

In principle the previous position can indeed be closed by a stop and the stop is set at 30 pips from the open price. The trick is that each time he puts a deal a bit more, namely multiplies the volume of the lot by 1.667 and take profit each time is placed a bit further from the open price, not 10 points, but for example 15, then 25, etc. Due to this, as the 1-minute chart is the most jumping one, the price will in any case reverse and even if 10 negative trades are passed the price will overcome all previous negative moments and turn to profit due to constantly increasing take profit and trade volume. Just now because of stretched chain of negative deals, a deal opened at the beginning gives considerable loss, which subsequently may pull down the account. And I would like trades closing at once at appearance of a new one and then their total loss will be less and even due to it one can reduce take-back from the price, because now it will be necessary to win back a smaller minus in the last deal. That's just if you put out stops, it's important to make so that after closing the previous deal, it didn't seem to the EA that the whole chain is complete................ In general, on this strategy, I worked and it plays quite profitable, a little by little, but these little bits easily for 500$ account, five currencies and 0.01 lot are 50$ advantageous for a day. I may be able to fix it, but I don't know how to fix it so I have to fix it with some simple safeguards. But I can't change the code myself, I don't know how.

 
samoilov-nikita писал(а) >>

In principle the previous position can indeed be closed by a stop and the stop is set at 30 pips from the open price. The trick is that each time he puts a deal a bit more, namely multiplies the volume of the lot by 1.667 and take profit each time is placed a bit further from the open price, not 10 points, but for example 15, then 25, etc. Due to this, as the 1-minute chart is the most jumping one, the price will in any case reverse and even if 10 negative trades are passed the price will overcome all previous negative moments and turn to profit due to constantly increasing take profit and trade volume. Just now because of stretched chain of negative deals, a deal opened at the beginning gives considerable loss, which subsequently may pull down the account. And I would like trades closing at once at appearance of a new one and then their total loss will be less and even due to it one can reduce take-back from the price, because now it will be necessary to win back a smaller minus in the last deal. That's just if you put out stops, it's important to make so that after closing the previous deal, it didn't seem to the EA that the whole chain is complete................ In general, on this strategy, I worked and it plays quite profitable, a little by little, but these little bits easily for 500$ account, five currencies and 0.01 lot are 50$ advantageous for a day. I may be able to fix it, but I don't know how to fix it so I have to fix it with some simple safeguards. But I can't change the code myself, I don't know how.



I'm working on something similar, but without martin... Show me the test from 2008 on ticks, on minutes. Put a huge depot and minilot.

 
sever29 >>:



я что-то подобное разрабатываю, токо без мартина... покажи тест с 2008г. по тикам, на минутках. Поставь огромный депо и минилотом пройдись.

The test is in the attached file.

Files:
 
sever29 >>:



я что-то подобное разрабатываю, токо без мартина... покажи тест с 2008г. по тикам, на минутках. Поставь огромный депо и минилотом пройдись.

 
Looking for a mql4 programmer to develop an advisor on the system, the system multitime-frame, so you need a competent specialist, I say at once I need an enthusiast, who are interested, Skype realmad86, it will be easier to explain the voice.
 
realmad >>:

Ищу программиста mql4, для разработки советника по системе, система мультитаймфреймовая, поэтому

1. нужен грамотный специалист,

2. нужен и нтузиаст,

Practically incompatible requirements.
 
goldtrader >>:
Практически несовместимые требования.

You mean someone who can implement the idea on a multi-timeframe. or at least partially automate it.
Reason: