Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1525

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
Advertising a third-party resource and private channels. If it wasn't for me, I might have been banned.
What ad? A video tutorial on what's being asked.
What kind of commercial? A video tutorial on what is being asked.
what am i doing wrong?
if (in1b)
what??? more, less or equal...what are you comparing "in1b" to?
Good afternoon everyone. I am trying to attach a fixed points profit to my EA in addition to the profit calculated in the risk size. Profit in risk size is working fine. But it sets some unreal value in pips. I have a listing of what will be the profit in the risk size or in points
I set a variable that defines profit size in points.
Then I write the following profit calculation and check its correctness in the on-tick.
For profit in risk size it works fine, but not for fixed profit in pips. Please advise me what I am doing wrong and what should be corrected to make my profit calculation work correctly in points?
Good afternoon everyone. I am trying to attach a fixed points profit to my EA in addition to the profit calculated in the risk size. Profit in risk size is working fine. But it sets some unreal value in pips. I have a listing of what will be the profit in the risk size or in points
I set a variable that defines profit size in points.
Then I write the following profit calculation and check its correctness in the on-tick.
For profit in risk size it works fine, but not for fixed profit in pips. Please advise what I am doing wrong and what should be corrected when calculating profit in points?
I would like to ask you to multiply the profit in pips by"Point".
What am I doing wrong?
What are you doing?
what??? more, less or equal... what are you comparing "in1b" to?
i don't have the add screenshot button you wrote about, i'll add a screenshot this way.
I wrote it down a bit but it still doesn't work)
I don't have the add screenshot button you wrote about, I'll add a screenshot this way.
I've done it a little bit but it still doesn't work)