XavierAndreu

Account info

Feb 12th, 2023 (edited)
410
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. //Youtube--> https://youtu.be/VT87z3pEfRQ
  2.  
  3. void OnStart()
  4. {
  5. Comment("Balance: ", AccountInfoDouble(ACCOUNT_BALANCE),
  6. "\nEquity: ", AccountInfoDouble(ACCOUNT_EQUITY),
  7. "\nBeneficio: ", AccountInfoDouble(ACCOUNT_PROFIT),
  8. "\nMargen: ", AccountInfoDouble(ACCOUNT_MARGIN),
  9. "\nMargen Libre: ", AccountInfoDouble(ACCOUNT_MARGIN_FREE),
  10.  
  11. "\n\n Digits: ", AccountInfoInteger(ACCOUNT_CURRENCY_DIGITS),
  12. "\n Apalancamiento: ", AccountInfoInteger(ACCOUNT_LEVERAGE),
  13. "\n Acceso: ", AccountInfoInteger(ACCOUNT_LOGIN),
  14. "\n Ordenes Limite: ", AccountInfoInteger(ACCOUNT_LIMIT_ORDERS),
  15.  
  16. "\n\n Moneda: ", AccountInfoString(ACCOUNT_CURRENCY),
  17. "\n Server: ", AccountInfoString(ACCOUNT_SERVER)
  18. );
  19.  
  20. printf("Balance: "+ AccountInfoDouble(ACCOUNT_BALANCE)+
  21. "\nEquity: "+ AccountInfoDouble(ACCOUNT_EQUITY)+
  22. "\nBeneficio: "+ AccountInfoDouble(ACCOUNT_PROFIT)+
  23. "\nMargen: "+ AccountInfoDouble(ACCOUNT_MARGIN)+
  24. "\nMargen Libre: "+ AccountInfoDouble(ACCOUNT_MARGIN_FREE)+
  25.  
  26. "\n\n Digits: "+ AccountInfoInteger(ACCOUNT_CURRENCY_DIGITS)+
  27. "\n Apalancamiento: "+ AccountInfoInteger(ACCOUNT_LEVERAGE)+
  28. "\n Acceso: "+ AccountInfoInteger(ACCOUNT_LOGIN)+
  29. "\n Ordenes Limite: "+ AccountInfoInteger(ACCOUNT_LIMIT_ORDERS)+
  30.  
  31. "\n\n Moneda: "+ AccountInfoString(ACCOUNT_CURRENCY)+
  32. "\n Server: "+ AccountInfoString(ACCOUNT_SERVER)
  33. );
  34. }
Advertisement
Add Comment
Please, Sign In to add comment