Code Block for “Trailing Stop” based on current market price. (Ask / Bid) – EA MetaTrader 5

Code Block for "Trailing Stop" based on current market price. (Ask / Bid) - expert for MetaTrader 5
This code block works if you use either a Stop Loss or Not.  Requirements  You need to include “Trade.mqh ” to get access to the CTrade class which allows you to work with positions and orders. #include <Trade\Trade.mqh> // <<—————————————— Include this “Trade.mqh” to access the CTrade Class You need to set an input parameter

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

Sell with Buy Stop Hedge for chart symbol / Buy with Sell Stop Hedge for chart symbol - script for MetaTrader 4
It has been over two yeas I don’t use  stop orders much. Instead of placing Stop Loss orders, I use hedged pending orders. I use this scripts often in my trading with keyboard shortcuts ALT+B vs ALT+S, so I think is useful enough to share this scripts with you. #property copyright     “Copyright 2024, MetaQuotes

TradeProtector-1.1 – Automatic Stop Loss and proprotional Trailing Stop (updated version) – EA MetaTrader 4

TradeProtector-1.1 - Automatic Stop Loss and proprotional Trailing Stop (updated version) - expert for MetaTrader 4
Updated version of the: List of fixes: – Added SYMBOL (currency pair) checking. Version 1.0 was processing all orders, no matter what currency pairs was there. Currently this EA is only processing orders of the same symbol. If you want to use it for – let’s say EURGBP and EURUSD – attach trade_protector-1.1 to the

Indicator for Stop Loss levels calculation using Bill Williams technique – indicator MetaTrader 4

Indicator for Stop Loss levels calculation using Bill Williams technique - indicator for MetaTrader 4
Author Vladmir Hlystov An indicator for Stop Loss levels calculation using Bill Willams technique Bill Williams in his book “Trading Chaos: Applying Expert Techniques to Maximize Your Profits” (Chapter 7, Level One: Novice Trader, p.95) has described SL as follows: “…We place the air bag one tick above/below the high/low of the second bar back

Stop Hunter – EA MetaTrader 4

Stop Hunter - expert for MetaTrader 4
Description: This EA is based on the strategy “Stop Hunting with the Big Players”. It sends BuyStop and SellStop orders at the given Distance from the round price targets. To learn more about Stop Hunting: Stop Hunting Definition (investopedia.com) Stop Hunting with the Big Players (investopedia.com) Settings: Zeroes: the number of zeroes at the right

Place OCO Order, One pip Limit Order and One Pip Stop Order – EA MetaTrader 4

Place OCO Order, One pip Limit Order and One Pip Stop Order - expert for MetaTrader 4
Description: Places One-Cancels-the-Other Order (OCO Order), One pip Limit Order and One Pip Stop Order on MetaTrader 4 (MT4) platform. Global variables: OCO_BUY_LIMIT – Buy Limit Price OCO_BUY_STOP – Buy Stop Price OCO_SELL_LIMIT – Sell Limit Price OCO_SELL_STOP – Sell Stop Price OCO_confirmation – After input Buy Limit Price, Buy Stop Price, Sell Limit Price