XIn Li / Profile
- Information
|
13+ years
experience
|
0
products
|
0
demo versions
|
|
16
jobs
|
0
signals
|
0
subscribers
|
Friends
64
Requests
Outgoing
XIn Li
Added topic how to check new bar when EA running on offline chart?
If EA is running on normal chart, I can use below code to check whether it is a new bar or not. However it does not work when EA is running on offline chart. Anyone know how to check new bar on offline chart? static datetime tLast
XIn Li
Added topic EA to run on offline chart MT4
Anyone know how to write EA that runs on offline chart in MT4 or MT5
XIn Li
Added topic StopLoss for open psitions
In MT4 I can have two buy positions with two different StopLoss. However, in MT5 it will only have one buy position at a time. If I want to trade like following: two buy stop pending orders . Market moved up, first buy pending order triggered with a
XIn Li
Added topic EA only trade New York session
For EA backtesting , how can I program EA only to open trade on New York Session in MT4 and MT5? in History data, is the time is GMT time or else
XIn Li
Added topic function to calculate average price
I am newbie to MQL5. Can someone help me to create a mql5 function like the one in mql4 below. In addition to modify all open positions takeProfit to AVPrice + TakeProfit for buy or AVPrice - TakeProfit for sell. Thanks in advance
XIn Li
Added topic EA does not modify trade with TP and SL
I am using Alpari UK MT5. I have an EA that should modify trade with TP and SL. WHen I run backtest with the EA it did modify trades with TP and SL. However, it does not set TP and SL in demo forward test. . No error in journal and Exper tab. It did
: