Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 644
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
Explain where I'm wrong, it doesn't find the tool in Market Watch.
Try also putting "=" in the condition i>=0
Click Charts, at the bottom of Properties and on the top left uncheck the Chart at the top! And in general, use more of it, it will come in handy!
Thank you! it worked.
The Debugger doesn't work - what's wrong?
Metatrader bild 646, editor bild 934. Here is the simplest indicator:
I run it on EURUSD, M1, and this is what I get:
I.e. everything is as it should be.
And now I make a breakpoint before Alert and run the Debugger:
USDCHF,H1 chart appears. Where is it coming from? OnlyEURUSD, M1 is open.
I am running it and this is what I see:
I.e., the indicator takes data exactly from this USDCHF,H1. What is the problem here?
The second question. The Editor does not place the written script in folder Scripts but in folder MQL4 and places the compiled file there as well. I have to manually drag and drop the source code to Scripts folder, then compile it and the script will appear in Navigator only then. I don't have that bug with indicators, they go to their folders instantly. Is it something I'm doing wrong or is the Editor making a mistake?
Third question. I still have 646 Bild, even though someone on the Forum said about 650th back in May. Has there really been no update since then, or again I have something wrong?
Good luck to whoever answers me.
How do I put SendMail and Alert in the indicator so that it doesn't react to old signals when recalculating indicator values, but shows Alert and sends mail only on new ones?
If it goes like this:
then at any effect on the indicator (setting on the chart, setting, change of TF, jump in place or sharp sound), it re-shows alerts and tries to send the same mail to ALL arrows, from the beginning of the chart to the current one.
Question in addition - the mail in the log is marked as"Mail: 'Test message' has been sent", but not a single letter has fallen into the box (((
How do I write SendMail and Alert in the indicator, so it would not react to old signals when recalculating the indicator values, but show Alert and send mail only on new ones?
If it goes like this:
then at any influence on the indicator (installation on the chart, setting, change of TF, jump in place or sharp sound), it shows the alerts again and tries to send them by mail to ALL the arrows, from the beginning of the chart to the current one.
Question in addition - the mail in the log is marked as"Mail: 'Test message' has been sent", but not a single letter has fallen into the box (((.
I would have done so
I would do so
Okay, I got it, that's how it should be.
Hello, does anyone have a template for averaging a position.
That is, if an order is open and it is losing, then opening a second order in the same direction, we put a stop in the middle between these orders and so on, three orders, four...?
Hello, does anyone have a template for averaging a position.
That is, if an order is open and it is losing, then opening a second order in the same direction, we put a stop in the middle between these orders and so on, three orders, four...?
Take all open prices and calculate the arithmetic average
Hello, does anyone have a template for averaging a position.
That is, if an order is open and it is losing, then opening a second order in the same direction, we put a stop in the middle between these orders and so on, three orders, four...?
take all opening prices and calculate the arithmetic average
Also take into account different lot sizes, swaps and commissions!