dear Igor,
should I go with vps to running this EA?
This is a discussion on ManualTrader EA within the Trading tools forums, part of the Trading Forum category; dear Igor, should I go with vps to running this EA?...
dear Igor,
should I go with vps to running this EA?
Hi sukarno,
As I understand - this is Manual Trader Ea - it means that you or some other EA should open the trades, and this Manual Trader EA will manage the trades.
Premium Trading Forum: subscription, public discussion and latest news
Trading Forum wiki || MQL5 channel for the forum
Trading blogs || My blog
I do not have for other timeframes sorry.
Premium Trading Forum: subscription, public discussion and latest news
Trading Forum wiki || MQL5 channel for the forum
Trading blogs || My blog
@igorad TP is setup for 5 digits ?
Hi igorad,
if I go with TrailingMode == 1 there is no stoplose for an order.
I think there is a bug in the ManualTrader code. Look at it below.
With the red code, the stoplose will never be hit, because it always stays the TrailStop points over the price.Code:if(TrailingMode > 0) { if(TrailingMode == 1 && TrailStop > 0) SellStop = NormalizeDouble(_Ask + TrailStop*_point,Digits); if(TrailingMode == 2 && dntrend[0] > 0 && dntrend[0] != EMPTY_VALUE) SellStop = NormalizeDouble(dntrend[0] + TrailStop*_point,Digits); if(SellStop <= NormalizeDouble(OrderStopLoss() - TrailStopStep *_point,Digits)) SellStop = SellStop; else SellStop = OrderStopLoss(); } if(SellStop <= 0) continue;
The same with buy orders.
Hi Gods_Clown,
There is no any bug because it will work if TrailingMode = 1 and TrailStop > 0(eg. TrailStop = 15). At the attached screenshot you can see all trades were closed by the trailing stop in profit.
Attachment 13711
Regards,
Igor
My thanks to igorad for this great tool.
I would like to put an request out there. I m not sure why this feature can t be found in any of the trade managment tools, but it would help greatly to those of us who stack trades (add to the wining positions).
I would call this a group (stack,basket) SL feature. Basicaly, one defines SL in pips like one normaly does, let s say 30 pips. This 30 pips would be the risk regardles of how many positions i choose to open. For example i open short with 30 pips sl and
the price moves 10 pips in my direction. Than i open a second position, but the price moves back above my first trade. After it reaches 10 pips above my first trade i close BOTH positions (-10 and -20). Meaning....30 PIPS SL. To this manualy is a hastle, specialy with adding 3-4 positions. The feature should be instrument bound, meaning, one should be able to group SL per individual pair.
Stacking (adding) helps with R:R tremendously. If one is correct and ads positions to the wining trade, the R:R can grow to as much as 1:10-1:15. But if one is wrong, all it looses is his original risk.
Igorad, please think about adding this feature.
Hi Igorad,
Thank you for your reply. I found out, that the trailingstop is working for buy orders just fine, but not for sell orders. There is no trailingstop set buy the EA.
Only if I delete this line from the code, there will be a trailingstop.Code:if(SellStop <= NormalizeDouble(OrderStopLoss() - TrailStopStep *_point,Digits)) SellStop = SellStop; else SellStop = OrderStopLoss();
If I understand it correctly and with the settings of TrailingMode = 1, TrailStop > 0(eg. TrailStop = 15) and TrailStopStep = 0, it should be this:
The result is always SellStop = 0. So we don't get a trailingstop.Code://Example if(SellStop <= NormalizeDouble(OrderStopLoss() - TrailStopStep *_point,Digits)) SellStop = SellStop; else SellStop = OrderStopLoss(); if(1,11696 <= NormalizeDouble(0 - 0 *_point,Digits)) SellStop = SellStop; else SellStop = OrderStopLoss();
Please correct me if I'm wrong.
Bookmarks