Now I am testing in alerts. But after that I want that value send into Pending order entry value.
Eggo:
Read the documentation . . . do I need to tell you a third time ? or shall I copy and paste the Documentation here for you ?
double EntryPrice;
ObjectCreate("Entry", OBJ_HLINE, 0,0,Ask-300*Point ); // creates a hline 30p below Ask price.
Alert("Entryprice=",EntryPrice);
I get 4 digits after a comma 1,2755, how to get 5 digits 1,2755x?
DoubleToStr.
It was written, my bad.
Thank you for your patience.
Eggo:
Well done . . . most of what you need is written in the Documentation, sometimes it's a little hard to find or follow . . . if it is then please ask, but take a look yourself first ;-)
DoubleToStr.
It was written, my bad.
Thank you for your patience.
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
Price=ObjectGet("Name",OBJPROP_PRICE1);
When I run it in EURUSD, I get price in 5 digits 1,2755, how to get it in 6 digits 1,27558.
Thank you.