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
Here's how it's done:
So you have StopLoss == TakeProfit and there is no such option in the comparison conditions ((
Yes, - it may very well be that Ask needs to be shut down. I will try that.
I.e. for sell takeprofit can also be from Bid.
And stop loss - should be strictly from Ask, probably... stop leveller should be counted
Good afternoon, everyone.
Here is a question.
For some reason the Expert Advisor (Pips, Grider) on the real account has got the habit to suddenly stop working for no apparent reason! (DC Broko).
Sometimes it happens after server downtime (it often happens there), and after the resumption of quotes the Expert Advisor (or MT4) has to be restarted and only then it starts to work.
Sometimes the EA stops, again, for no apparent reason and you need to restart mt4 or reinstall the EA to "push" it.
Orders are placed correctly. I do not want to have to ask a question on the forum.
There are no errors in the LogFile. Who has had problems with this, please advise ?
I do not want to pose a question to the Technical Support on the forum not to draw attention to my account.
How to simplify the template from the article "Relying on the power of templates" by removing SL, TP, pending orders and their modification. Otherwise it's impossible to experiment.
This is the fourth post with the same content. >> Not good.
Good evening. Question about the indicator.
I am setting the Gann fan from low to high and from low to low in the indicator.
But for some reason the lines of the fan are not directed the way I want them to - they are drawn randomly!
For example, like this (here the fan moved upward from the maximum 1.4071 for some reason):
I do not know why it is like that.
I set the bars in the STRAT function like this:
Please tell me why and where is the mistake?
Here is all the code for the indicator;
Hi, this is only my second post, that is, a newcomer to the forum, started to learn the language, of course, questions abound, and it's kind of hard to learn from books. I started with a textbook, a respected forum member Sergei Kovalev, and some of the articles of this forum studied ... After much theory, began practice, created a template and outline of the first expert, divided it into blocks, and now one function after another parse (thoroughly) to understand how it works, believe me if you diver rather than a programmer, it's not easy to break everything in my head, and to comprehend what to what. So here's the thing, can anyone suggest that for me Professionals so far, the real problem: Today I sat all day and was able to solve the problem.
I'm running some functions as a script to check if they compile and which ones don't work or not in the terminal. Took today the Pre-calculation function of bars in the window:
Naturally the message *Not enough bars* comes out, but on a new tick I understand this message will appear again indefinitely.
Now I add a variable and add an if statement, and in a future error block Bloc_Error, I put a switch statement and get this:
The question is what have I done wrong here in the switch statement, why isn't the *Expert not working* message popping up, and for the EA to actually stop working?????"divide and conquer"... - don't mix unexamined points... the point of error should be easier to identify...
https://docs.mql4.com/ru/basis/operators/switch - everything can be seen at once. until the design is fixed in your head - use the classic pattern. compare it carefully - you will find the errors immediately.
Learn to use the search engine.
After reading the documentation "on the subject", find the texts with codes and see HOW they are applied...