Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 43
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
Afternoon ...
if (OrderType()==OP_BUY) CloseOpBuySell("SELL");
here is the condition I need to close a Sell position when opening a Buy position and vice versa.I am interested just in the left side OrderType()==OP_SELL
the right hand side works when any signal is pushed there
Question: "Will this close work?
Hello.
Can I ask for some help?
How do I know that the loss from the beginning of the day on closed positions was 10%?
...... the first bar of which TF you want data...
The Expert Advisor is on M 5 and I want to get the value of the indicator with a timeframe of one hour.
The EA is on M 5 and I want to get the value of the indicator with a p.f. of one hour.
I don't want to sound intrusive in this society, but no one has ever explained to me where 0 comes from in the calculations?
post 413
possible loss of data due to type conversion count.mq4 231 12
possible loss of data due to type conversion count.mq4 246 12
I don't want to sound intrusive in this society, but no one has ever explained to me where the 0 in calculations comes from?
post 413
possible loss of data due to type conversion count.mq4 231 12
possible loss of data due to type conversion count.mq4 246 12
Possible loss of data due to type conversion
It is not critical, but it needs to be fixed.
I don't want to sound intrusive in this society, but no one has ever explained to me where 0 comes from in the calculations?
post 413
possible loss of data due to type conversion count.mq4 231 12
possible loss of data due to type conversion count.mq4 246 12
But it would be better to show it through the SRC
How do you do that?
Spit it out, do you see the SPC button