[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 21
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
Can write zero divide, as far as I remember. But this is due to the fact that certain parameters are not recalculated. In other words, the EA simply does not start correctly because it was started before the work session started.
Of course, these checkboxes have been removed.
Hello dear mql people. Here comes my first code problem.
It is a trend indicator. The task is a trend indicator with coordinates 1-th line = max of last day and the day before and 2-th line = min of last day and the day before.
It would be OK, but when you switch to a lower timeframe, the coordinate is clinging to the beginning of the day, although at the corresponding price level.... and the sense of the line is completely lost.
When creating a trendline object, the datetime parameter is to blame. I cannot think how to get to it. It is necessary to calculate the time of formation of price extrema. It appears that this information
It appears that this information is embedded in the 1-minute timeframe. How to determine the datetime when changing the timeframe so that a trend is re-drawn and coordinates are attached to bars corresponding to extrema.
Unfortunately, the search has yielded nothing on the subject. I would be glad for advice.
I need to view the price behaviour over the entire history of the instrument by MA, but the indicator is not drawn when inserted in the chart.
What is the problem ?
When compiled = 0 and 0.
By the way - MT4 terminal hangs !
I am writing an EA with further transferring stops to Breakeven and increasing Breakeven. Everything seems to work, but there is only one problem. The stop has jumped when the price has moved to Breakeven or Breakeven. I can not fix this problem.
Who knows help plz.
Here is the code:
I am writing an EA with further transferring stops to Breakeven and increasing Breakeven. Everything seems to work, but there is only one problem. The stop has jumped when the price has moved to Breakeven or Breakeven. I can not fix this problem.
Who knows help plz.
Here is the code:
Maybe it's the brackets?
Which ones? If it's after for then it's not the whole part. I just showed the code for buying, but there is also a code for selling.
help please, the order should close at 4 times the distance from high to orderopenprice
Where did I mess up?
all orders close within 3 pips of opening
help please, the order should close at 4 times the distance from high to orderopenprice
Where did I mess up?
here
Captain Obviousness... and can someone give me a hint?