An advisor that would follow the rate on a five-minute chart with conditions after launch: - page 13
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Again a mishap.
I'm trying to make the above code work. An error appears in the log with the text:
18:38:23 '153085': order sell 1.00 GBPUSD opening at 2.0006 sl: 2.0019 tp: 2.0003 failed [Invalid S/L or T/P]
What is the meaning of this?
1) And what MT4 do you use?
2) What is the allowed stoploss and takeprofit distance in this brokerage house?
Before that, yesterday with these parameters t/r and s/l all worked :(((
I would do this...
Contract specifications
(for mini *100)
for micro
(for mini *100)
levels
buy
sale
There seems to be something wrong with the line
Without this condition, the Expert Advisor works...
Why did you put some parameters there to calculate the lot? You don't need it...
'Lots' - variable already defined C:\Program Files\MetaTrader - E-Global TFG\experts\expert-001.mq4 (21, 15)
Here is the code:
I told you to leave it in external parameters. The lot calculation parameters will then be set to PROPERTIES (from the library).
Check it out. Does it work or not? I ran it once - it works...
And it works too. I still need to understand the function
NumberOfBarOpenLastPos(string sym="", int tf=0, int op=-1, int mn=-1)A warning pops up:
Start function not found and cannot be run.
What does it mean?