Questions des débutants MQL5 MT5 MetaTrader 5 - page 1326
Vous manquez des opportunités de trading :
- Applications de trading gratuites
- Plus de 8 000 signaux à copier
- Actualités économiques pour explorer les marchés financiers
Inscription
Se connecter
Vous acceptez la politique du site Web et les conditions d'utilisation
Si vous n'avez pas de compte, veuillez vous inscrire
comment calculer la commission pour les ordres ouverts dans mt5 pour chaque paire séparément ?
pour une raison quelconque, il ne le fait pas - il affiche des zéros.
Pour une raison quelconque, il ne veut pas le faire - il affiche des zéros.
Autant que je m'en souvienne, cette chose n'a jamais fonctionné, et vous ne pouvez pas obtenir la commission pour la position, vous devez passer par toutes les transactions de l'historique, vérifier si elles appartiennent à la position sélectionnée, et faire la somme, cela devient assez désordonné, mais quelque part il y avait un exemple de code, je pense de fxsaber.
Autant que je me souvienne, cette chose n'a jamais fonctionné, et vous ne pouvez pas obtenir la commission pour la position, vous devez passer en revue toutes les transactions de l'historique, vérifier si elles appartiennent à la position sélectionnée, et faire la somme, cela devient assez désordonné, mais quelque part il y avait un exemple de code, je pense de fxsaber.
fxsaber l'a montré comme un calcul de toutes les paires ouvertes et c'est la commission totale.
fxsaber nous envoyait le calcul de toutes les paires ouvertes, c'est-à-dire la commission totale.
Bien, voici le lien: https://www.mql5.com/ru/forum/93879/page5
Eh bien, c'est la question :) pourquoi ne peuvent-ils pas faire des choses simples et ne pas calculer la commission ?
Eh bien oui, on ne voit pas bien pourquoi les développeurs ne feraient pas une fonction toute faite... peut-être qu'un jour ils le feront... Avant, il n'y avait pas d'i-fonctions et tout le monde se battait aussi... maintenant il y a... on va peut-être attendre les commissions...
Eh bien oui, on ne voit pas bien pourquoi les développeurs ne feraient pas une fonction toute faite... peut-être qu'un jour ils le feront... Avant, il n'y avait pas d'i-fonctions et tout le monde se battait aussi... maintenant il y a... nous allons peut-être attendre les commissions...
c'est probablement plus rapide de le faire soi-même...
pour une raison quelconque ne veut pas montrer les zéros
encore des zéros et ne veut pas montrer la commission
Je l'ai comme ceci
c'est-à-dire qu'il ne vérifie pas s'il y a un ordre ouvert ?
La meilleure façon de procéder est de créer un signal dans l'indicateur, puis de le saisir dans le conseiller expert.