- Home
- Community
- Programmierung
- how to fetch order's comment value
Edit Your Comment
how to fetch order's comment value
Oct 22, 2015 at 06:22
Mitglied seit Oct 21, 2015
1 Posts
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());
}
}
Mitglied seit Apr 10, 2015
17 Posts
Nov 18, 2015 at 07:42
Mitglied seit Apr 10, 2015
17 Posts
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.
*Kommerzielle Nutzung und Spam werden nicht toleriert und können zur Kündigung des Kontos führen.
Tipp: Wenn Sie ein Bild/eine Youtube-Url posten, wird diese automatisch in Ihren Beitrag eingebettet!
Tipp: Tippen Sie das @-Zeichen ein, um einen an dieser Diskussion teilnehmenden Benutzernamen automatisch zu vervollständigen.