Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2016.03.11 09:29

Script to StopLoss and TakeProft in Pips, use your EA Number - script for MetaTrader 4

| English Español Português 日本語 Deutsch

votes: 8
stoploss.mq4 (5.51 KB)view

Script that contains both Stop Loss as Take Profit.

Getting your choice only use stop loss or stop loss with take profit.

Real author:

Valdir Nogueira

This script is recommended for robots that do not have stop loss, mainly scalpers and martingales.

It will only affect the robots corresponding to the number entered in the Number of EA field.

Below is description of the parameters:

Parameters Screen


  • Number of EA: Number yours robot used in the graphic.
  • Stop Loss in Pips: Value of Stop Loss in Pips.
  • Use Take Profit: Yes or No, you choose to use the option to add also Take Profit for your orders .
  • Take Profit in Pips: If you use take profit is true, he had taken as the basis of the number Pips added to the field.
  • Time of Execution, in seconds: Very important parameter, if your robot is scalper, which opens many transactions, set the seconds to a value of approximately 3 seconds. Always use the value greater than 1 second.
Example of Heiken Ashi + SMA Automated Example of Heiken Ashi + SMA Automated

Showing how to trade FX market trend using the (SMA: Simple Moving Average) with the Japanese indicator Heiken Ashi.

Turn Area Chart Turn Area Chart

The RSI indicator in the main chart window.

Indicators saver Indicators saver

The script saves the values of Time, Open, High, Low, Close, Volume and standard indicators.

Seasonal Seasonal

The indicator is for seasonal trade.