Experts: Line Order

 

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

 
"To Do: Pending Orders"? Do you mean you cannot open pending orders yet? Why the lines if you cannot?
 
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 !!
 

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 :).

 

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

 
Eric I need help with GodBot it will not compile and I have all the librays
 
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?
 
Hello,I can not compile that,any suggestions?
Reason: