[ARCHIVE]Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Can't go anywhere without you - 5. - page 430
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
Half an hour yesterday, and half an hour today, and half an hour in the forum before it got to!!!!!!!! Thanks!!!!!!!!!!
...you can also go like this: -yeah, thanks. I'm good as it is, clear and simple function!
Hello, I'm currently studying MQL4 tutorial by Sergey Kovalev and I haven't found yet how to access time series arrays of other currency pairs. I.e., I need to upload into one EA arrays of time series of several currency pairs. I know that some data can be accessed using the MarketInfo() function, but the problem is that in the request IDs, there are no close or other parameters for price series. Please, advise where I can read how to organize work (if any) with arrays-timeseries and several instruments, or maybe how to circumvent this limitation.
For the current chart, information about closing prices can be found in predefined array Close[].
It's like this.
There is an indicator compiled in ex4 which is a
a strip of blue and red dots as a signal to buy or sell.
I need code for a condition to enter a trade when the bar chart changes colour.
I would be very grateful, even for an outline.
Greetings all!
I am using this indicator, but it tends to freeze after every new bar opens. I think it's because of the large number of bars being recalculated. I tried to limit the number of bars but it doesn't work - the indicator changes its appearance. Can someone help me with this function? I would be very grateful!
Tried it. EMA on mql and in dll.
It's quite noticeable. If the calculations are more complex, it will be more noticeable.
I'll let you know. I've got a lot of cycles in there as well.
Hello! The only profit-taker in the EA is Trailing Stop, which effectively closes trades. There is no separate StopLoss and TakeProfit.
Of course, there are situations when the EA opens in one direction, while the market goes in another one.
In such cases, deals are closed with minimal profit, but 2 deals of the testing period were closed with -2.40 and -2.50 losses.
In the test results, StopLoss is set several points above or even below the opening price of the trade.
Here is the Trailing code from MacdSample below. Please help to understand!
Hello...
Probably a swap.
Probably a swap.
The thing is, I can't figure out why Trailing Stop closes a trade at all before the distance between the present price and the opening price has exceeded the TS value, after the price has moved in the opposite direction to the opening and then returned to the opening price?
I want to open an order with 0.01 volume on my account $12.93, stop loss and take profit 0, but the program says not enough money, why?