- Beranda
- Komunitas
- Pemrograman
- how to fetch order's comment value
Edit Komentar Anda
how to fetch order's comment value
Menjadi Anggota Sejak Jul 20, 2012
1 postingan
Oct 13, 2015 at 06:24
Menjadi Anggota Sejak Jul 20, 2012
1 postingan
can anyone please let me know how to fetch the comment value for every order? Order's lot, open price, stoploss etc. can be easily taken via API, but how to fetch order's comment value? many thanks!
Menjadi Anggota Sejak Sep 05, 2013
49 postingan
Oct 14, 2015 at 08:30
Menjadi Anggota Sejak Sep 05, 2013
49 postingan
if you are using MT4 , look up " OrderComment " in the MQL4 Reference in the MetaQuotes Language Editor ?
“Everybody should have a dream. What if that dream comes true?” – Jack Ma
Menjadi Anggota Sejak Oct 21, 2015
1 postingan
Oct 22, 2015 at 06:22
Menjadi Anggota Sejak Oct 21, 2015
1 postingan
Something like:
for(i=OrdersTotal()-1; i>=0; i--)
{
if(OrderSelect(i,SELECT_BY_POS,MODE_TRADES))
if(OrderMagicNumber()==magic) //"magic" is the magic number you have set in code
{
Print(OrderProfit());
Print(OrderStopLoss());
Print(OrderComment());
}
}
for(i=OrdersTotal()-1; i>=0; i--)
{
if(OrderSelect(i,SELECT_BY_POS,MODE_TRADES))
if(OrderMagicNumber()==magic) //"magic" is the magic number you have set in code
{
Print(OrderProfit());
Print(OrderStopLoss());
Print(OrderComment());
}
}
Menjadi Anggota Sejak Apr 10, 2015
17 postingan
Nov 18, 2015 at 07:42
Menjadi Anggota Sejak Apr 10, 2015
17 postingan
if someone work with the API to calls of value with the closed or running trade than those helps of enough further to moves of the good chance to build of her own personal fintech company.
the decision to work with the order modify on improving the comment value work of the similar as those with the magicnumbers of integer to gives of notice with the returns of work with the system as administrator to gained with the representativeness of initials as analyzing use with the terchnical performance.
those helps as different exit strategy works on executing order with the distinct on customs with the running chart profiles with the market.
the decision to work with the order modify on improving the comment value work of the similar as those with the magicnumbers of integer to gives of notice with the returns of work with the system as administrator to gained with the representativeness of initials as analyzing use with the terchnical performance.
those helps as different exit strategy works on executing order with the distinct on customs with the running chart profiles with the market.
*Penggunaan komersial dan spam tidak akan ditoleransi dan dapat mengakibatkan penutupan akun.
Tips: Memposting URL gambar/YouTube akan otomatis menyematkannya di postingan Anda!
Tips: Ketik tanda @ untuk melengkapi nama pengguna secara otomatis yang berpartisipasi dalam diskusi ini.