Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 750
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
Check if OrderOpenPrice() is too close to SL, and if the stops are "on the right side of the price". You can read here:
StopLoss and TakeProfit prices cannot be too close to the market. The minimum stop distance in pips can be obtained using the MarketInfo() function with the MODE_STOPLEVEL parameter. Error 130 (ERR_INVALID_STOPS) will be generated in case of erroneous or non-normalized stops.
In this case, that is, for a pending order, the "market" is its "pending open price".
Can you tell me how to get the current ip address of the computer from MT?
Inthe strategy tester the commandMarketInfo(Symbol(),MODE_TICKVALUE) = 0(!) This happens in situations when, for example, the instrument is EURUSD and the balance currency is RUR .... and in other combinations. My understanding is that the balance currency must be the same as the name of the second currency in the currency pair. Otherwise, it returns zero value (in the strategy tester), which makes it impossible to perform tests with the desired combinations. How to solve this problem?
Inthe strategy tester the commandMarketInfo(Symbol(),MODE_TICKVALUE) = 0(!) This happens in situations when, for example, the instrument is EURUSD and the balance currency is RUR .... and in other combinations. My understanding is that the balance currency must be the same as the name of the second currency in the currency pair. Otherwise, it returns zero value (in the strategy tester), which makes it impossible to perform tests with the desired combinations. How to solve this problem?
The highlighting is not correct! I am calculating in euros withEURUSD, GBPUSDetc. Only when turned on it may give 0 before the first data, that's why I put a conditionbefore calculations withTICKVALUE that if != 0;
In the tester,MarketInfo() may not work, so knowing the approximate price of a tick, I set it with the condition IsTesting() || IsOptimization() || IsVisualMode().
Please help me create owls that trade on two pairs at the same time.
If on the first pair the variable will be like this
double a = NormalizeDouble(iOpen(NULL,PERIOD_CURRENT, 0), Digits);
how will it be for the second one?
Or the code for opening a trade by the first character will be
ticket=OrderSend(Symbol(),OP_BUY,Lots,Ask,3,Ask-StopLoss*Point,Ask+TakeProfit*Point,"",0,0,Green);
how the code of the second symbol will look like
Please help me create a scoop that trades two pairs at the same time.
If on the first pair the variable will be like this
double a = NormalizeDouble(iOpen(NULL,PERIOD_CURRENT, 0), Digits);
how will it be for the second one?
Or the code for opening a trade by the first character will be
ticket=OrderSend(Symbol(),OP_BUY,Lots,Ask,3,Ask-StopLoss*Point,Ask+TakeProfit*Point,"",0,0,Green);
how the code of the second symbol will look like
Please help me create a owl that trades two pairs at the same time.
If on the first pair the variable will be like this
double a = NormalizeDouble(iOpen(NULL,PERIOD_CURRENT, 0), Digits);
how will it be for the second one?
Or the code for opening a trade by the first character will be
ticket=OrderSend(Symbol(),OP_BUY,Lots,Ask,3,Ask-StopLoss*Point,Ask+TakeProfit*Point,"",0,0,Green);
how the code of the second symbol will look like
With the opening, here is just the concept itself:
without checking the return codes of the trade server.
Today the Navigator in the terminal suddenly expanded to the full width of the screen, obscuring the charts! It was always the same width as the Market Watch! Looking for and can't find how to get it back to its previous size! Help who knows how to deal with this new nuisance! Thank you!