[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 130
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. Can you please help me figure this out? The code should display a line at the global TakeProfit level. I can't find the error.
Thank you in advance.
Thanks for the advice.
Found the faults, everything works.
Please help with fractals
maxF = NormalizeDouble (iFractals(NULL, 0, MODE_UPPER,1),5);
minF = NormalizeDouble (iFractals(NULL, 0, MODE_LOWER,1),5);
Why do I not see
maxF > Bid or minF > Bid executing?
If <, it will be executed.
Without NormalizeDouble, the same thing. Is there something I don't understand about fractals?
Please help with fractals.
maxF = NormalizeDouble (iFractals(NULL, 0, MODE_UPPER,1),5);
minF = NormalizeDouble (iFractals(NULL, 0, MODE_LOWER,1),5);
Why can't I see the execution of
maxF > Bid or minF > Bid?
If <, it is executed.
Without NormalizeDouble it's the same. I don't understand something with fractals?
See this and next page - similarly display your conditions.
Could you suggest a function for an EA in MT4 that returns the profit of the last closed order, or if the last order closed at a profit or a loss?
PS I haven't found such a function in Kim.
Can you suggest a function that returns the profit of the last closed order, or if the last order closed at profit or loss?
PS Kim has not found such a function.
Question: What is the profit in? In points or in the deposit currency?
Igor Kim has such features. However, his functions are a bit excessive for versatility. I can quickly whip up such a function for you here.
Question: What is the profit in? In points or in the deposit currency?
I would appreciate it if you could write it! It doesn't matter if the profit is in pips or in currency, the important fact is that the deal was closed in profit or in loss. In my opinion, it makes no difference in currency or pips.
We call it like this:
To check the last closed Buy position on the current symbol. The function will return true if at a loss and false if at a profit...
The Magic variable is an EA magic, it is written in global variables of the EA.
We call it like this:
To check the last closed Buy position on the current symbol. The function will return true if at a loss and false if at a profit...
The Magic variable is the EA's magik, written in the EA's global variables.