Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1828
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
just enter your Indicator correctly
Greetings Professionals and Beginners, need help.
How to insert an alert in this indicator that would signal when a given upper and lower level is crossed/touched?
Tried it myself, but it doesn't work((
So, give me an example, how did you try it and where did you put the alert. It will be interesting for all to see and maybe give you the right solution.
So give me an example of how you tried it and where you entered the alert. It would be interesting for everyone to see and maybe give you the right solution.
Yes, I deleted everything at once.
just enter your Indicator correctly
didn't work, 8 errors in debugging)
I guess it's not my thing((.
didn't work, 8 errors in debugging)
probably not my thing((.
Thanks! I think I got it, the alert when the zero level is crossed and the arrows point in the direction of crossing.
in your code - here is where to pick up the numbers
in the signal indicator - which has an alert . here to have more signals - remove a couple of lines
in your code - here is where to pick up the numbers
in the signal indicator - which has an alert . here to have more signals - remove a couple of lines
hello!
Decided to make owls a bit more complicated.
I want to do something like trailing, but with a single / double action
idea:
price passed 75% to take - stop decreased (for example) by 20 pips and take increased by 20 pips.
price passed 90% to take - stop decreased (for example) by 30p and take increased by 10p.
I see the scheme like this (.....function...)=> (TP - Mparametr)
where: TP - TakeProfit
Mparametr- set in external EA variables (e.g. number of points)
What functions should be used to solve this problem?
I've read about predefined variables bid,ask - should we use them as a base?
or should we use MarketInfo or SymbolInfoTick?
I have a similar solution, but its shift of stop and take depends on lots:
I want to do something similar. relatively simple.
Or like this
I've been writing this board for almost a week and here's the problem: if I also set the pending leveller to close on the button by analogy with the approach, which was a point below when the price was reached, then for some reason it closes automatically without asking, without pressing the button, which should do it a point above (after pressing and after reaching a level as in theory you should)
help me out
Anyway, I've been writing this board for almost a week and here's the problem - if I also set the most pending leveller to close on a button analogous to the approach, which was a point below when the price is reached, then for some reason without asking it closes immediately, without pressing the button, which should do it a point above (after pressing and reaching a level as in theory you need)
help me out