Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Line Orders - MetaTrader 4 Expert | MT4 EA Download - MetaTrader 4 Resources

author EAcpu | 5 reads | 0 comments |

Line Order - expert for MetaTrader 4

 LineOrder enables you to place orders using the horizontal line object in the toolbar menu. 
You can also control Stop Loss and Buy Take Profit by moving their horizontal lines. 
For example, if you want to buy EURUSD, just drag and drop a horizontal line in the EURUSD chart window. 
Double-click on the horizontal line and change the "Name" (on the Home tab) to #buy, then click the "OK" button and that's it! 
(If double clicking doesn't work, go to "Tools->Options->Objects" and set the hook "Select objects by mouse click"). 
To close an order, simply delete the horizontal order line. 
Additional options such as Stop Loss, Take Profit, Lot Size and Trailing Stop can be passed into the description field. 
For example. For 20 pips stop loss and 10 pips take profit, just click on the description field and enter: sl=20 tp=10 
Use spaces to separate options (Figure A). Default values ​​can be set in EA properties. 
To disable active trailing stop, click on the horizontal order line and write ts=-1 in the description field.

Backlog: Pending orders


Line Order - expert for MetaTrader 4


Attachment download

📎 code_10296.zip

Source: MQL5 #10296

Line Orders - MetaTrader 4 Expert Pre-Using Tips

This page has been supplemented with structured instructions, focusing on the purpose of EA source code, MQL4/MQL5 platform compatibility, testing process and risk control. Before downloading or deploying, it is recommended to first determine whether it is consistent with your own variety, cycle and account environment.

Suitable for who to use

  • Users who want to quickly screen EA source code and are willing to do simulation disk verification first.
  • People who need to compare MT4/MT5 EAs, indicators, scripts or source code projects.
  • Traders who wish to record backtests, parameters and risk boundaries before placing a trade.

Testing and risk control suggestions

  • First verify the default parameters in the strategy tester or demo account, and then adjust the symbol, period, spread and trading period one by one.
  • Scalping, grid, martin, and high-frequency strategies should focus on observing maximum drawdowns, consecutive losses, slippage, and trading frequency.
  • It is not recommended to run any document directly on the real disk. At least observe the simulated disk performance for 2-4 weeks first.

FAQ

Can MT4 and MT5 be used interchangeably?
Usually cannot be used directly. EX4/MQ4 corresponds to MT4, EX5/MQ5 corresponds to MT5, and the source code needs to be compiled in the corresponding MetaEditor.

Is this resource guaranteed to be profitable?
cannot. EAs, indicators and scripts can only be used as trading tools, and the results depend on parameters, market environment, spreads, slippage and risk control.

What else can I continue to watch?
Forex EA download , foreign exchange indicator download , EA evaluation , MQL5 CodeBase .

English Search Notes

This page is also optimized for English search intent around line orders - MetaTrader 4 Expert . Related search terms include: MQL4 source code, MQL5 source code. Test any Forex EA, Expert Advisor, MT4/MT5 indicator, script or MQL source code with historical data and a demo account before live trading.

Verification code Refresh