Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 281

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
Hello all!
I had a glitch in my EA. Errors 138 and 129 were coming out. Incorrect prices.
Question: Since the EA is not a pips, it had plenty of time to open the trade, especially the price clearly passed the signal level and was there long enough, even with bid, ask corrections.
I have run it in the tester, the deal opened. How to deal with this problem and why it occurs (everything was fine before, the EA opened deals)?
I have a feeling that after the signal processing the EA froze and did not accept further signals or maybe I should have reloaded Metatrader after the recent build?
Good afternoon!
How (off the top of my head) to paint under the main chart line all the bottom with one colour and the top with another, if you don't mind, maybe someone has some work to do?
Good afternoon!
How (off the top of my head) to paint under the main chart line all the bottom with one colour and the top with another, if you don't mind, maybe someone has some work to do?
On a screenshot show what you want
on a screenshot show what you want
there is a price chart - a line. Underneath it in one tone of blue, above it in white (something similar - principle)
on a screenshot show you what you want
All right, don't worry, I already did... Wait here...
Hello all!
I had a glitch in my EA. Errors 138 and 129 were coming out. Incorrect prices.
Question: Since the EA is not a pips, it had plenty of time to open the trade, especially the price clearly passed the signal level and was there long enough, even with bid, ask corrections.
I have run it in the tester, the deal opened. How to deal with this problem and why it occurs (everything was fine before, the EA opened trades)?
I have a feeling that after the signal processing the EA froze and did not react to further signals or maybe the Metatrader should be restarted after the latest build?
Use the prices through MarketInfo(), not Ask and Bid. For example like this:
In your trade orders, do not use Ask, but pa, not Bid, but pb.
You will be happy
Use MarketInfo() instead of Ask and Bid prices. For example, like this:
And in the trade orders, substitute pa, not Ask, and pb, not Bid.
And you will be happy
And what is the difference between Ask and MarketInfo(Symbol(),MODE_ASK)?
Ask is a variable, stored on the computer, it changes when the next calculation of the start function occurs or when refreshed.
MarketInfo(Symbol(),MODE_ASK) - is this value taken from the server or from Ask ?
And what is the difference between Ask and MarketInfo(Symbol(),MODE_ASK)?
Hello to all forum members.
Any advice from knowledgeable people? I have an EA that opens trades on indicator signal, how to prescribe a signal counter programmatically, i.e. after taking Take Profit or closing an order on a Trailing Stop, the EA skips the next two signals and does not open trades.
I would appreciate the help.