Line Order

0
(0)
Nomen:
Line Order
Author: Erich Pribitzer (2011.05.16 10:27)
Downloaded: 5226
Download:
Line Order 1
LineOrder.zip (55.5 Kb)
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. 
Exempli gratia, if you what to buy EURUSD, just drag and drop a horizontal line in your EURUSD chart window. 
Double click on the horizontal line and change the "name" (on the common tab) to #buy and click the OK-button, that's it! 
(If a double click doesn't work, go to "Tools->Options->Objects" and set the hook "Select object by single mouse click"). 
To close an order, just remove the horizontal-order line. 
Additional options like stop-loss, accipere lucrum, lot-size and trailing-stop can be passed into the description field. 
E.g. ad * 20 pips stop-loss and 10 pips take-profit just click into the description field and type: sl=20 tp=10 
Use whitespace to separate options (Picture A). Default values can be set in the EA properties. 
To disable an active trailing-stop, click on the horizontal-order line and write ts=-1 in the description field.

To Do: Ordines pendentes

Line Order 2

Commands: (name field)
#buy  		buy order
#sell  		sell order
#selltp		sell order and set take profit at the horizontal line
#sellsl		sell order and set stop loss at the horizontal line
#buytp		buy order and set take profit at the horizontal line
#buysl		buy order and set stop loss at the horizontal line

Options: (description field)
ts		trailing stop in pips
sl		stop loss (vinaceis)
tp		take profit (vinaceis)
sq		stop loss (pretium) 
tq		take profit (pretium)
lo		lot size
5 comment Ut post novum comment, quaeso log in or * mandare

Eric I need help with GodBot it will not compile and I have all the librays
07.03.2012 06:21 gator

Thanks Erich Pribitzer for sharing such an amazing EA
sed,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

12.08.2011 08:39 wllrd

Dear Erich Pribitzer,

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

Gratias :).

21.06.2011 13:40 onewithzachy

ms119:
"To Do: Ordines pendentes"? 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 !! Line Order 3

20.05.2011 00:29 seizu

"To Do: Ordines pendentes"? Do you mean you cannot open pending orders yet? Why the lines if you cannot?

Quam utile fuit hoc post?

Click on a stella ad rate it!

Mediocris rating 0 / 5. Suffragium Comitis: 0

Nulla suffragia usque! Primus ad rate esto post haec.

Dolemus quod haec posta tibi non utilis fuit!

Emendare post haec!

Dic nobis quomodo hanc postem emendare possimus?



Author: Praenomen to Team
Nos sumus quadrigis maxime peritus congue mercatores [2000-2023] qui vitam nostram vivendo sunt addicti. Primarium propositum nostrum est libertatem ac libertatem attingere, et sui educationem secuti sumus et in Forexino foro peritia multa consecuti sumus ut media ad vitam sustinendam sui sustentandam..