python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Expert Advisor timefilter doesn't work (mql5)?
I can't figure out why my timefilter doesn't work. Let's say I would like to only enter to positions between 7:35-11:30 and 14:30-22:30 and I don't want to enter a position on Friday.
The time filter ...
qwerqwer
Votes: 0
Answers: 1
MQL5 Invalid array access error when trying to access first element of an array
I have a condition which checks if the latest fast moving average value is above or below the slow moving average and if the bid price is above or below the fast ma.
But I am getting this compile erro...
Fox
Votes: 0
Answers: 1
Get an open position ticket in MQL5
I want to get the ticket number immediately after opening the position.
The output of this code is zero:
bool r = trade.Buy(0.1, Symbol(), 0, 0, 0);
if(r)
{
position_Info...
javad
Votes: 0
Answers: 1
calculating lot size to recover lost pips using a fixed TP value?
If I have let say 100 pips total loss on multiple trades , and I want to recover that 100 pips loss by opening a new trade which has 30 pips TakeProfit, how do I calculate the Lot size for this new tr...
M_Arad
Votes: 0
Answers: 1