Page 7 of 9 FirstFirst ... 5 6 7 8 9 LastLast
Results 61 to 70 of 89
Like Tree33Likes

ManualTrader 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?...

      
   
  1. #61
    Junior Member
    Join Date
    Mar 2015
    Posts
    2
    dear Igor,

    should I go with vps to running this EA?

  2. #62
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    10,477
    Blog Entries
    2957
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin
    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

  3. #63
    Junior Member
    Join Date
    Mar 2015
    Posts
    2
    Quote Originally Posted by newdigital View Post
    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.
    big thanks! newdigital,

    just wonder, as shown on front page there was set file for EU 15m, is there any set file for other's???

  4. #64
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    10,477
    Blog Entries
    2957
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin
    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

  5. #65
    Member
    Join Date
    May 2015
    Posts
    42
    @igorad TP is setup for 5 digits ?

  6. #66
    igorad
    Guest
    Quote Originally Posted by Thrall View Post
    @igorad TP is setup for 5 digits ?
    Hi Thrall,

    Usually I use 4 digits for SL/TP and Breakeven in my EAs.

    Regards,
    Igor

  7. #67
    Member
    Join Date
    Oct 2013
    Posts
    40
    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.
    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;
    With the red code, the stoplose will never be hit, because it always stays the TrailStop points over the price.
    The same with buy orders.

  8. #68
    igorad
    Guest
    Quote Originally Posted by Gods_Clown View Post
    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.
    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;
    With the red code, the stoplose will never be hit, because it always stays the TrailStop points over the price.
    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

  9. #69
    Junior Member
    Join Date
    May 2013
    Posts
    4
    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.

  10. #70
    Member
    Join Date
    Oct 2013
    Posts
    40
    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.
    Code:
    if(SellStop <= NormalizeDouble(OrderStopLoss() - TrailStopStep *_point,Digits)) SellStop = SellStop; else SellStop = OrderStopLoss();
    Only if I delete this line from the code, there will be a trailingstop.
    If I understand it correctly and with the settings of TrailingMode = 1, TrailStop > 0(eg. TrailStop = 15) and TrailStopStep = 0, it should be this:
    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();
    The result is always SellStop = 0. So we don't get a trailingstop.
    Please correct me if I'm wrong.
    ManualTrader EA-eurusdm5.jpg

Page 7 of 9 FirstFirst ... 5 6 7 8 9 LastLast

LinkBacks (?)


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •