[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 619
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
What can you do about it?
update the data before opening, normalise the price
I wrote right away that this closure is not recommended. An undocumented feature is being used. But any open position has a closing time of zero, and the closing price will be equal to the current closing price.
after all these experiences this is already obvious)
What can be done about it?
Look carefully at the prices you set when opening a position. Surely there must be... Is Ask mixed up with Bid?
Yes, it is. I have.
it is. Thank you.
I have tried and tried, but all I got was that the pending order moves back and forth behind the price like a sick man...
Is it possible to rework the simple trailing function so that it deals with orders instead of stops? For example this one:
Print() rounds up to 4 digits to correctly output to the console the type double(which returns iOpen() 5 decimal places, in this case), you should use DoubleToStr() function
string DoubleToStr( double value, int digits)
Converts a numeric value to a text string containing a character representation of a number in the specified precision format.
Parameters:
value - Величина с плавающей точкой.
digits - Формат точности, число цифр после десятичной точки (громное спасибо.
Thank you very much .
Check out this EA, I have implemented it there
http://www.rogersignals.com/ru/experts.php?a=Support_Resistance
Has anyone made a simple trailing stop move a pending order behind the price instead of the stop level? Is it possible to do?
I tried and tried, but all I got was that the pending order moves back and forth behind the price like a sick person...
Is it possible to rework the simple trailing function so that it deals with orders instead of stops? For example this one:
Everything is too complicated :)))
You pass in method as parameters a delayed medge, and a desired trall.Here's my code
It's a bit too complicated for you :))
Pass in method as parameters a delayed medjw, and desired trall.Here's my code