Forum
Market
Signals
Freelance
VPS
Quotes
MetaTrader
Articles
CodeBase
Algo Forge
Documentation
AlgoBook
NeuroBook
Calendar
WebTerminal
Tools
About
Algo Trading Channel
Home
Type
/
to search: @user, $symbol, ...
Log in
Create an account
English
Русский
中文
Español
Português
日本語
Deutsch
한국어
Français
Italiano
Türkçe
Nickbahson
/ Profile
Nickbahson
Kenya
10
Friends
3
Requests
Eleni Anna Branou
Anton Sidorchuk
Yurij Batura
Outgoing
Nickbahson
2018.07.12
Added topic
Set order to expire after 20 mins if the price is not hit
The following code works but the order is not canceled after the expiration. datetime expiration= TimeTradeServer ()+ PeriodSeconds ( PERIOD_M20 ); trade.BuyStop( 0.10 , Ask + 100 * _Point , _Symbol ,buySl, Ask + 300 * _Point , ORDER_TIME_GTC
Share on social networks
1
Nickbahson
2016.02.19
Registered at MQL5.community
Share on social networks
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
: