CloseIfProfitorLoss with Trailing
40 USD
Download demo:
2 165
Publicado:
12 fevereiro 2014
Versão atual:
25.514
Não encontrou o robô certo? Encomende um para você
no serviço Freelance.
Ir para o Freelance
no serviço Freelance.
Como comprar um robô de negociação ou indicador?
Execute seu EA na
hospedagem virtual
hospedagem virtual
Teste indicadores/robôs de negociação antes de comprá-los
Quer ganhar dinheiro no Mercado?
Como apresentar um produto para o consumidor final?
Você está perdendo oportunidades de negociação:
- Aplicativos de negociação gratuitos
- 8 000+ sinais para cópia
- Notícias econômicas para análise dos mercados financeiros
Registro
Login
Você concorda com a política do site e com os termos de uso
Se você não tem uma conta, por favor registre-se

extern double TralOptionsStep=2;
результат:
2 10:34:26 2014.05.01 00:00 Exp - CloseifProfitorLoss wTral EURUSD,H4: open #1 buy 0.10 EURUSD at 1.38672 ok
0 10:34:27 2014.05.01 09:18 Exp - CloseifProfitorLoss wTral EURUSD,H4: Включен трал профита tralprofit=10
0 10:34:27 2014.05.01 09:48 Exp - CloseifProfitorLoss wTral EURUSD,H4: Уровень профита повышен tralprofit=12.1
0 10:34:27 2014.05.01 09:53 Exp - CloseifProfitorLoss wTral EURUSD,H4: Уровень профита повышен tralprofit=14.2
0 10:34:27 2014.05.01 09:59 Exp - CloseifProfitorLoss wTral EURUSD,H4: Уровень профита повышен tralprofit=16.3
0 10:34:27 2014.05.01 10:30 Exp - CloseifProfitorLoss wTral EURUSD,H4: Уровень профита повышен tralprofit=18.4
0 10:34:27 2014.05.01 10:36 Exp - CloseifProfitorLoss wTral EURUSD,H4: Уровень профита повышен tralprofit=20.5
0 10:34:27 2014.05.01 11:36 Exp - CloseifProfitorLoss wTral EURUSD,H4: Закрываем позиции _close=15.5 tralprofit=15.5
2 10:34:27 2014.05.01 11:36 Exp - CloseifProfitorLoss wTral EURUSD,H4: close #1 buy 0.10 EURUSD at 1.38672 at price 1.38827
Демо версия данного советника
С включенной функцией Forced Closed -- проблемы. Если не включена функция "Выключить терминал", то мой советник успевает открыть сделку перед тем, как CloseIF выключит кнопку автоторговля ( сделка остается висеть " без присмотра"). Это происходит не всегда, но происходит. Иногда происходит и "борьба" closeif с советником , как это описано ниже
Если же включена функция "закрыть терминал", то ситуация гораздо хуже.
При попытке закрыть сделки моего советника и закрыть терминал по прибыли-убытку в долларах происходит следующее :
По достижении заданной прибыли-убытка CloseIf.. закрывает текущие сделки, но при этом не может выключить сразу кнопку авторговля и закрыть терминал. Происходит "борьба" моего советника с CloseIf . Последний закрывает сделку советника, но советник снова открывает, снова закрывает - снова открывает ( с убытком разумеется). Так продолжается примерно около минуты, после чего CloseIf "побеждает" и наконец выключает кнопку автоторговля и терминал. За время "борьбы" советник успевает открыть примерно 10-12 сделок , которые тут же закрываются CloseIf с убытком , равным спреду и более. Дополнительный сюрприз заключается в том, что до закрытия терминала мой советник успевает открыть сделку и послать приказ на сервер. Так что , если через какое-то время снова запустить терминал, можно видеть, что там "висит" сделка , открытая как раз в момент отключения терминала ( и висит "безхозно", ничем не контролируемая - что чревато , сами понимаете).
Скриншот настроек приложен к сообщению.
С включенной функцией Forced Closed -- проблемы. Если не включена функция "Выключить терминал", то мой советник успевает открыть сделку перед тем, как CloseIF выключит кнопку автоторговля ( сделка остается висеть " без присмотра"). Это происходит не всегда, но происходит. Иногда происходит и "борьба" closeif с советником , как это описано ниже
Если же включена функция "закрыть терминал", то ситуация гораздо хуже.
При попытке закрыть сделки моего советника и закрыть терминал по прибыли-убытку в долларах происходит следующее :
По достижении заданной прибыли-убытка CloseIf.. закрывает текущие сделки, но при этом не может выключить сразу кнопку авторговля и закрыть терминал. Происходит "борьба" моего советника с CloseIf . Последний закрывает сделку советника, но советник снова открывает, снова закрывает - снова открывает ( с убытком разумеется). Так продолжается примерно около минуты, после чего CloseIf "побеждает" и наконец выключает кнопку автоторговля и терминал. За время "борьбы" советник успевает открыть примерно 10-12 сделок , которые тут же закрываются CloseIf с убытком , равным спреду и более. Дополнительный сюрприз заключается в том, что до закрытия терминала мой советник успевает открыть сделку и послать приказ на сервер. Так что , если через какое-то время снова запустить терминал, можно видеть, что там "висит" сделка , открытая как раз в момент отключения терминала ( и висит "безхозно", ничем не контролируемая - что чревато , сами понимаете).
Скриншот настроек приложен к сообщению.
сделал такую визуализацию:
+добавил блок:
PROFITLOSS_EXTRASETS4 - Блок Алерта прибыли и убытков валюте депозита.
Если ВЫ решили ограничить убытки по текущему клиентскому магику, то Вы можете сделать это в новом блоке.
Например: Вам необходимо, чтобы эксперт отправил Вам почту и вывел алерт на экран, когда общий убыток по открытым и закрытым сделкам , в пределах LimitFor, будет меньше чем -100 долларов.:
Ваши параметры будут следующими:
LimitFor=0;
LimitForLosses=-100;
LimitForProfits=0;
После достижения убытка по истории по данному магику в день -100 долларов, советник выдаст сообщение на экран в виде Алерта и отправит почту.
Внимание: Данный блок не закрывает сделки! он только лишь выводит алерт!
На следующий LimitFor этот параметр сбрасывается на 0.
Вы можете выбрать LimitFor= DAY;WEEK;MONTH;ALLTIME;
Советник полностью заменен на панель управления CLPОпция работает для всех типов закрытия: Все символы, Текущий символ, Отдельное направление BUY и SELL , Каждый ордер отдельно.
VirtualTradePad "CLP style"
Main Features:
The panel can work only on its own symbol (Current Symbol) or consider the total profit or loss by all symbols (All symbols).
The panel can be used as a virtual Stop Loss or Take Profit. To do it, set the profit and loss size in pips (Profit p or Loss p), put check marks and select your symbol. The Expert Advisor will close positions for the selected symbol considering the number of pips obtained or lost.
You can choose the close type: by profit in dollars, in pips or in % of balance or by loss in dollars, in pips or in % of balance.
There is also the "CLOSE ALL" button that instantly closes the current symbol position or all positions (depending on your choice).
The current state of your account is displayed right on the panel in three different ways corresponding to the close types.
Usage:
Start the panel on your currency pair chart.
On the panel select the option to close positions by all symbols or by the current symbol.
To activate the options for selecting the close type, you need to specify a non-zero value for the corresponding parameters. Note that a positive value must be specified for the profit and a negative value must be specified for the loss, for example: -100.
Check the options you want to use for closing.
Enable the Close if Profit or Loss button, is should become blue. It means that the Expert Advisor has started working.
Once the profit or loss of your position crosses the set levels, the positions will be closed.
The emergency button CLOSE ALL is intended for closing all positions instantly.
SEPARATE Orders - if enabled, each position is calculated and closed separately.
Virtual stop loss and take profit mode.
E.g. if you set closure at a loss of -5 $ and a profit of 100 points: each trade will be closed separately either by a loss-loss of -5 $ or by a take-profit of 100 points.
Separate BUYSELL, which allows to calculate and close positions on the overall profit or loss separately for BUY and SELL.
Revised the system of signals for the Signals panel.
This tab shows the trend for the TF and indicator. Previously, signals were indicated after their activation. Now, the current trend is displayed.
Added function to save the settings under Reloaded terminal, change the settings in the panel, the closing panel on the chart and panel installation on schedule.
All made to the panel variables and data - is now preserved when the terminal is restarted.
If you turn off the terminal and turn it on again - all the parameters will be re-downloaded from the global variables.
On the CLP tab TrailingProfit added feature:
Trailing arrived at closing.
New profit trawl function has been introduced at the request of our customers and is a function to pull a profit. Those. in this case the gain is not locked is fixed, but with some adjustments. Those. once the profit has reached the specified value, Advisor stores the current position of the profits and further tightens this provision after profit.
For example:
If you set to close at a profit of $ 10:
Profit $ - closed in plus.
Profit $ - how to close a plus.
TrailingProfit- distance from $ Profit, which is activated when the trailing earnings.
If you set the value of Profit $ 10, and for the values of 5 TrailingProfit line trailing earnings is set at $ 5. Advisor while passing the mark of $ 10 will include a trailing profit function, and will pull closing mark after profit. The journal will be displayed at the same time recording the current position of the profits.
After a total income falls below the last recorded level - TrailingProfit, Advisor to close all transactions under compulsion.
This option works for all types of closure: All characters, current symbol A separate area and the SELL BUY, each order separately.
Hi Sir,
I have a question, does it automatically trailing stop all of open orders (both open manual or by EA) ? or just 1 kind of order with specific bot ID ?
thanks
Hi Sir,
I have a question, does it automatically trailing stop all of open orders (both open manual or by EA) ? or just 1 kind of order with specific bot ID ?
thanks
you can set in Parametrs
extern string MagiccOrder="-1=All orders";Is this Expert able to DISABLE the possibility for EA to open new orders when a DD is reached?
I ask it before I can't see any parameter for it and you wrote that: "Expert Advisor Disabling Feature"
Hello,
Earlier expert could do so. But now in the Market have banned the use of external libraries.
Hello
1. NO, Time Start\Stop - use EA to start and stop monitoring,
2. no. all position close when profit reach 5 % of EQUITY
to start trail you can use
CloseProfit=True
TralOptionsStep=1
for example
3. Yes ofcourse
Hello Vladislav,
Please let us know if you have done the update that include commission & swap in profit/loss calculation
thanks
Hello Vladislav,
Please let us know if you have done the update that include commission & swap in profit/loss calculation
thanks
Hello, why is not closing buy orders ?
hello
please turn on
hello
please turn on
Thanks,
all the best .
Thanks,
all the best .
Thanks
Please change your Review
closes on minus, without any reason
" CloseLoss - false "