Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 50
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
Please advise if anyone knows. Gepard 5.0 Expert Advisor on Forex4you is opening some trades with big minus. Where can I adjust the settings?
If you want to fine-tune your settings, you can do a history check, just check the settings, choose a start time step and end time step. For example, if you want to set take profit, then choose 1, then step 1 and stop 100, then check optimize and the EA will run through all the options, changing the take profit to 1 and then show the drawdown and profits
If you mean different, you need to specify what you mean by adjusting the settings
how? if the indicator is windowed, how do you display the arrows on the chart? only use 4 buffers
For chart, sorry, I probably did not read it carefully. Although you can use the second indicator that uses calculations from the first one
if (ticketbuy>0)
{
return;
}
it doesn't open any more orders by other conditions which go below in the code, i.e. it sees this one>0, but I may have several of them open. Thanks.
Hello, gentlemen! Problem,
how do I place an order if its TP should be 100?
The error 130 is shown on the EUR/USD pair.
Maybe I should use Kim's CorrectingPrice function, but what is the opening/setting price? Ask/Bid
How do I use this function?
Today I opened my trade with gold at -9.58. And then he spent the whole day in the black. What does he want.
Look at the price of one pip for gold and the spread, and hopefully everything will become clear.
Tip: A Buy position opens at the Ask price, while the Bid is smaller than the Ask by the size of the spread. As soon as you open a position, it is immediately opened with a minus equal to the spread. So, it's not the Expert Advisor that needs something, it's you who needs to learn the basics.
Hello, gentlemen! Problem,
how do I place an order if its TP should be 100?
The error 130 is shown on the EUR/USD pair.
Maybe I should use Kim's CorrectingPrice function, but what is the opening/setting price? Ask/Bid
How do I use this function?
The take should be 100 pips from the opening price, not 100. That is why you have an error.
You take the opening price, add (for Buy) or subtract (for Sell) 100 pips to it (or from it) multiplied by the Point and you get the Take price. Before you send your trade order to the server, make sure your Take is within the Stop-Level limit of your brokerage company. The answer to your follow-up question is here.
Take should be equal to 100 pips from the opening price, not 100. That is why you have an error.
You take the open price and add (for Buy) or subtract (for Sell) 100 points to it (from it) multiplied by the point and you obtain the Take price. Before you send your trade order to the server, make sure your Take is within the Stop-Level limit of your brokerage company. The answer to your follow-up question is here.
Thank you, but I understand that you have to calculate the TP (Ask + TP * Point) for BUY etc.
It turns out that TP=100 pips is not set at once, and, for example, at 130 pips it works. But if we do it in a manual mode, we can set an order at first and then tighten TP by 100 pips.
The broker has a StopLeverage at 0.00050.
Maybe, when opening TP it calculates without any spread but at a declared price. Although, this is absurd.