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

Hedge Sell with Buy Stop of Chart Symbol / Hedge Buy with Sell Stop of Chart Symbol - MetaTrader 4 Script

author EAcpu | 2 reads | 0 comments |

Sell ​​with Buy Stop Hedge for chart symbol / Buy with Sell Stop Hedge for chart symbol - script for MetaTrader 4

Sell ​​with Buy Stop Hedge for chart symbol / Buy with Sell Stop Hedge for chart symbol - script for MetaTrader 4

Sell ​​with Buy Stop Hedge for chart symbol / Buy with Sell Stop Hedge for chart symbol - script for MetaTrader 4

Sell ​​with Buy Stop Hedge for chart symbol / Buy with Sell Stop Hedge for chart symbol - script for MetaTrader 4

Sell ​​with Buy Stop Hedge for chart symbol / Buy with Sell Stop Hedge for chart symbol - script for MetaTrader 4

For over two years now, I have rarely used stop loss orders.

Instead of using stop loss orders, I use hedging pending orders.

I use this script frequently in my trading using the keyboard shortcuts ALT+B and ALT+S, so I thought it would be useful enough to share it with you.

Sell ​​with Buy Stop Hedge for chart symbol / Buy with Sell Stop Hedge for chart symbol - script for MetaTrader 4

#property Copyright "Copyright 2024, MetaQuotes Ltd."

#property link "https://www.mql5.com"

#Attribute version "1.01"

#Attribute description "persinaru@gmail.com"

#property Description "IP 2024 - Free and Open Source"

#property Description "Hedge buy with sell stop using chart symbol"

#Attribute description ""

#property Description "Warning: Use this software at your own risk."

#property Description "The creator of this script is not responsible for any damage or loss."

#Attribute description ""

#Attribute strict

#property show_inputs Properties

#property script_show_inputs

extern int distance = 20;

external int TP = 0;

external int SL = 0;

external int TP_Stop_ORD = 0;

external int SL_Stop_ORD = 0;

external double-batch = 0.10;

//01.00 = 1 standard lot $100.000


Attachment download

📎 buy_with_sellstop_20_symbol.mq4 (2.77 KB)

📎 sell_with_buystop_20_symbol.mq4 (2.73 KB)

Source: MQL5 #48893

Verification code Refresh