[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 227
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
Increase the slippage. The trades must have been opened in a fast market. It happens sometimes after important news that the Eurobucks is so fast in 1-2 ticks that it's a nightmare. And while the server is processing the EA's order the price changes very abruptly.
I am afraid that if Slippage is always large, DT may start abusing it on systematic basis. It would be desirable to "move" it dynamically - only if the price on the server was better than that at which the order was sent. It would be similar to manual bidding - if the requested price is no longer available, then a new one will be offered which can be accepted by pressing OK or rejected - if it is the same situation, of course.
Hi all! Please help me combine the following things. The result should be: two lines following the price, one lower than Ask by 20 pips..,
the other one is higher. Besides, I get a beep if price changes by 20 points per 1 tick.
All works fine separately. Thanks in advance!
1) The line below the Ask by 20 pips.
2) The line is 20 pips above the Ask.
3) Rate of price change over time.
Like, a clever petrosian wants to make a joke...))
I'm sorry about that, the money is yours. The more of you, the better off we are.
MetaEditor has a standard iMA indicator. Feel free to use it :)
People! I'm trying to make, that would trade a lot depending on the risk.... what does not come out....writes
Please advise where the error is....
Do you have only one order of the right type in your trading history?
If there is an order which closed in profit - we drop out of the loop and don't check the rest of the history...
This is your own function? Or OrdersHistoryTotal()?
I'm confused by searching for the number of losing orders. If you need the last closed order, where is the check for the last order?
Here is the homework for your own analysis:
And here's one more thing:
Can all the same it is better to make check for less than minimally-admissible?
And at the same time, is it larger than the maximum (when passing the lot size to the function)?
Thanks, but you'll still have to put a slip in there.
I fear that if Slippage is always high, the DC might start abusing it on a systematic basis.
Please advise, if we work with orders by ticket, how to correctly write the variable (int Ticket), as a static local one or as a regular global one, or generally as a regular local one? I am confused. Thank you.
It all depends on whether this variable will be available to all EA functions (well... not all, but some for sure). Then the variable is global.
If it is used only in one function, then it is local.
The question is like "which water to put the flowers in, plain or sweetened water" ... while you were guessing, the flowers became a broom, in the bath... :))
I fear that if Slippage is always high, the DC may abuse it on a systematic basis. I would like to "slippage" it dynamically - only if the price on the server is better than the price at which the order was sent. It would be similar to manual bidding - if the requested price is no longer available, then a new one will be offered which can be accepted by pressing OK or rejected - if it is the same situation, of course.