
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
I'll say the same thing. You are not good at logic. What is the problem to immediately calculate the initial lot, based on available funds and the value of risk (I think it was written about 3%)? Why do you have to do everything in one place?
Take the value of the free margin, multiply by the risk, divide by 100 and the value of the margin for 1 lot - here is the simplest formula for calculating the lot with a specified percentage of the free margin. Also, you need to take into account the step of lot change and prevent exceeding the min/max lot size, permitted by brokerage company:
I told you that the EA trades in a small interval of time in which there is a probability that 9 consecutive opposite orders overlapping each other will open and each next order is multiplied by 2, so the margin may not hold and the last pending order may not open, and therefore we have to calculate from the last maximum possible lot. I figured the best number of orders in 5-10 min interval is 9. In general I need to calculate a margin in case all the orders will be opened and on the basis of these data in reverse order to calculate the first lot.
}
Where did I spell it wrong? I think I took it from an example, could you please tell me how to spell it correctly so the order would close
on reverse buy conditions? I'm racking my brains.
}
Where did I spell it wrong? I think I took it from an example, could you please tell me how to spell it correctly so the order would close
on reverse buy conditions? I'm racking my brains.
Like this
}
Where did I spell it wrong? I think I took it from an example, could you please tell me how to spell it correctly so the order would close
on reverse buy conditions? I'm racking my brains.
If the order is selected on the ticket, you don't need an action in the loop. If you wantto correct the code, use the SRC button topaste the code into the message.
Thanks for the SRC), this is what it looks like, ts looks like this, sell should happen when candle closed below the wrist and rsi below 50, and close the order at the opposite conditions, and at the same time after closing should happen buying and after closing, then one order and no more and so on cyclically ... but now I open one order and all, and stops do not work ...
I have rewritten it in my own style, I hope you understand, if something is unclear, do not hesitate to ask
...
rewritten in my own style, hope you understand, if you don't understand anything ask
...
oh, i thought i wrote almost everything except the closing and i still have a lot to learn...thanks a lot now at least i have an example to go on from...tin, thanks again)
Hello. I have downloaded Metatrader 5 software. I signed up for 2 signals. My account balance is positive 20$. I am trying to install virtual hosting and nothing works. I press navigator, connect to trading account, I even have no such tab in the table virtual hosting. I am sending you screenshots. How do I connect to the shared hosting?
Click help in the main menu.