Line Order

0
(0)
姓名:
Line Order
作者: Erich Pribitzer (2011.05.16 10:27)
已下載: 5226
下載:
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. 
例如, 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 "工具->選項->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, 得到好處, lot-size and trailing-stop can be passed into the description field. 
例如. 為一個 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: 掛單

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 (點數)
tp		take profit (點數)
sq		stop loss (價格) 
tq		take profit (價格)
lo		lot size
5 評論 發表新評論, 請 登錄 或者 登記

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
然而,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,

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

謝謝 :).

21.06.2011 13:40 onewithzachy

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

這篇文章有多有用?

點擊一顆星即可對其進行評分!

平均評分 0 / 5. 計票數: 0

目前還沒有投票! 成為第一個評價這篇文章的人.

很抱歉這篇文章對您沒有用!

讓我們改進這篇文章!

告訴我們如何改進這篇文章?



作者: 外匯維基團隊
我們是一支經驗豐富的外匯交易員團隊 [2000-2023] 致力於以我們自己的方式生活的人. 我們的主要目標是實現財務獨立和自由, 我們追求自我教育並在外匯市場上獲得豐富的經驗,以此作為實現自我可持續生活方式的手段.