Forum
Market
Signals
Freelance
VPS
Quotes
MetaTrader
Articles
CodeBase
Algo Forge
Documentation
AlgoBook
NeuroBook
Calendar
WebTerminal
Tools
About
Download MetaTrader 5
Home
Type
/
to search: @user, $symbol, ...
Log in
Create an account
English
Русский
中文
Español
Português
日本語
Deutsch
한국어
Français
Italiano
Türkçe
mitch9104
/ Profile
mitch9104
United States
17
Friends
Requests
Add friends via their profile or user search and you will be able to see if they are online
Outgoing
mitch9104
2020.09.01
Added topic
Trying to program a function that closes half a position then moves the stop loss to break even (MQL4)
So for my strategy I want to close half of the open position when it hits a TP1 value and then I want the remaining order to be modified so that the new stop loss is set at the open price . The code below is what I have, but I'm not sure how to make
Share on social networks
5
mitch9104
2020.08.29
Added topic
Problem with using || (or) function in MQL4
if ( ( iOpen ( NULL ,Timeframe, 1 ) <= SMAS1 && iClose (
Share on social networks
2
mitch9104
2017.03.20
Registered at MQL5.community
Share on social networks
·
1
January
February
March
April
May
June
July
August
September
October
November
December
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
: