Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Scripts

Send Order Basic - script for MetaTrader 4

Views:
21158
Rating:
(12)
Published:
2017.03.07 10:13
Updated:
2017.10.23 01:42
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

A simple script to easily submit market or pending orders, without having to add or subtract decimals to find your stop loss, take profit, or trailing stop. With this script, you can place buy, sell, buy limit, sell limit, buy stop, or sell stop orders. After the script is executed, you will see a message either confirming your order or indicating that an error occurred.


Inputs

For market orders, simply input your take profit level (in pips), stop loss level (in pips), slippage, lot size, and order type (buy or sell). For pending orders (limit or stop), be sure to include the price at which you would like your broker to fill the order. You may also input a trailing stop (in pips), if desirable.

Send Order v1


Confirmation

After executing the script, an alert message will confirm that the order was submitted successfully.


Error Handling

Should an error occur, an alert message will provide the associated error code and category.

Vidya zone (metatrader 4) Vidya zone (metatrader 4)

Vidya zone (metatrader 4).

Schaff trend cycle - adjustable smoothing Schaff trend cycle - adjustable smoothing

Schaff trend cycle - adjustable smoothing.

High/Low indicator for a predefined period High/Low indicator for a predefined period

This indicator can show you the weekly/daily/hourly/... progress on a lower timeframe. High, low, middle and/or open-lines can be configured individually.

Set Fixed SL and TP Set Fixed SL and TP

This script scans for open orders and sets a fixed stop loss and take profit to all of the relevant.