Sedang memuat...
Melanjutkan pada Myfxbook.com
Melanjutkan pada Myfxbook.com
Masuk
Daftar
Open an account with FOREX.com
FX Tools:
Kalender Ekonomi
Interest Rates
FX Calculators
Berita
spread
Sentimen
Heat Map Forex
Korelasi
Market Hours
BerAnda
JohnAdams
Postingan
Bagikan
Bagikan halaman ini!
Diposting oleh
JohnAdams
Help with OrderSend( ) Function
masuk
Pemprograman
Jan 04, 2011 at 03:29
Thanks for the input.. sounds like you know what you're doing.. I'll give it a try tonightJust curious.. why did you give up on instant execution brokers?Thanks again
Help with OrderSend( ) Function
masuk
Pemprograman
Jan 04, 2011 at 01:50
New to mql4, I wrote the following code for practice, but can't figure out why I get an Error 130 I think it has to do with unNormalized numbers. I'm using IBFX broker and they use the 5th decimal on the price.double Stoploss = 50;double Takeprofit = 50;int start(){ int ticket = OrderSend(Symbol(),OP_BUY,1.0,Ask,3,Ask-Stoploss*Point,Ask+Takeprofit*Point,"Order #1",1234,0,Red);if(ticket == -1) Print("error-",GetLastError()); return(0);}I also tried setting SL and TP to 500 because of the 5th decimal but got the same error. Any suggestions? Thanks
You have an Ad Blocker!
Myfxbook is a site supported by advertisements. Here are two ways for you to continue browsing:
Ad Free Subscription
atau
Disable your Ad Blocker
Already subscribed?
Masuk
Anda belum login
Fitur ini tersedia untuk anggota terdaftar saja.
Pendaftaran adalah gratis dan memakan waktu kurang dari satu menit.
Klik tombol sign up untuk melanjutkan.
Kecuali Anda telah menjadi anggota dan menikmati layanan kami, maka sign in saja.
Keep up to date with the markets
Enable notifications to receive real-time important market updates:
Kalender Ekonomi
Berita Valas
You can disable notifications at any time from your browser.
Unblock Notifications
You've blocked browser notifications for Myfxbook.com. Please enable it:
You can disable notifications at any time from your browser.
SEBELUMNYA
KONSENSUS
AKTUAL