Download MetaTrader 5

Experts: Line Order

To add comments, please log in or register
MetaQuotes Software Corp.
Moderator
187157
MetaQuotes Software Corp.  

Line Order:

LineOrder gives you the ability to place an order by using the horizontal line object from the toolbar menu. You can also control stop loss and take profit buy moving its horizontal lines.

Author: Erich Pribitzer

MQL4 Comments
16319
MQL4 Comments  
"To Do: Pending Orders"? Do you mean you cannot open pending orders yet? Why the lines if you cannot?
Erich Pribitzer
57
Erich Pribitzer  
ms119:
"To Do: Pending Orders"? Do you mean you cannot open pending orders yet? Why the lines if you cannot?

You have the source code, feel free to add it !!
MQL4 Comments
16319
MQL4 Comments  

Dear Erich Pribitzer,

Thanks, for simple but great idea. One should add windows message just in case the object line is moved by accident.

Thanks :).

MQL4 Comments
16319
MQL4 Comments  

Thanks Erich Pribitzer for sharing such an amazing EA
however,I have some trouble in using it

after i changed the "name" of line to #buy and clicked the OK-button,the stop order(represented by the horizontal line) immediately filled by current price instead of being filled when price went through the line
in other words,my problem is the pending order function of EA doesn't work

I just dont know why and dont know how to solve it

MQL4 Comments
16319
MQL4 Comments  
Eric I need help with GodBot it will not compile and I have all the librays
Pipsik
15
Pipsik  
Sometimes trailig stop don't active. And stop loss don't works to! It only works when the price goes in the direction of the order. How to fix a stop loss?
To add comments, please log in or register