[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 45
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
Could you please tell me if I put"mn" in the code correctly or not?
Please suggest a Time "Condition" for the EA to switch on at a certain time, which I can set
Please tell me if I added"mn" to the code correctly or not, so that Magic number can be tracked in MM?
If Magic is declared as global variable or constant:
int mn = ****;
and so structurally without errors (small syntax edit):
You should normalize the lot by multiplicity MODE_LOTSTEP, otherwise you will sooner or later stumble upon error 131 (ERR_INVALID_TRADE_VOLUME).
Well, and variables not declared in the function on your conscience... :)
Hello,
I need some professional help (someone who knows this stuff...).
I can't get the idea to work... I found it all and put it into the robot but it still doesn't work that way =(
I want to close all profits.
I want to close all profitable positions when the total profitability is larger than the total loss. I try to close all profitable positions (Profit> Losses)
Help with code. The condition (Total Profit>Total Loss) to close all profitable trades does not work
I need it to count losing trades from the moment of "maximum balance" to close all profitable trades as they reach a profit more than the entire loss, and start counting losing trades again with the new depo
Has anybody seen an Expert Advisor that keeps track of a deposit balance, for example, trade started with a balance of 50... losses started, the Expert Advisor should remember how much the balance has fallen, so that in next time the profit of open positions exceeds this loss, it should close all profitable trades, and start counting losses again.
How do I know if the last 1-2-3 orders were losing?
How do I know what was the last order?
For example I need to know if a pending buy limit triggered and if it did, at what price and then place a new one.
How do I know if the order has triggered on a trailing stop and then place a new order after the trailing stop has been triggered?