Questions des débutants MQL4 MT4 MetaTrader 4 - page 223
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
J'essaie de remplir le tampon de l'indicateur depuis l'autre extrémité (ArraySetAsSeries (..., false)), tout fonctionne bien pendant un moment, mais ensuite quelque chose se passe dans le tampon et le tout dernier index du tableau est rempli, alors qu'il ne devrait pas l'être.
Je suppose que le terminal coupe le tampon à un moment donné et que le poids du tampon est rempli même avec le dernier index du tableau. Peut-être que la mémoire tampon du tableau doit être libérée à un moment donné, mais quand ? Pouvez-vous corriger l'exemple de test ?
Bonjour.
Pouvez-vous me dire pourquoi cet indicateur dessine rarement des flèches sur l'historique, mais quand vous commencez à trader, il commence à en dessiner souvent.
Ensuite, si vous fermez MT4 et que vous l'ouvrez à nouveau, à l'endroit même où, en temps réel, l'indicateur, comme une mitraillette, tirait des transactions, il y a à nouveau 1-2 transactions.
Lorsque je regarde l'historique, il semble que l'indicateur devrait bien fonctionner, mais dès que je passe au trading en temps réel, j'obtiens toutes sortes de choses bizarres.
Veuillez expliquer pourquoi ? Voici le code de l'indicateur :
essayez de remplacer le 0 par le 1 à trois endroits
essayez de remplacer le 0 par le 1 à trois endroits
Je déplacerais aussi ceci
essayez de remplacer le 0 par le 1 à trois endroits
Merci beaucoup. Maintenant, comment puis-je faire en sorte qu'il n'ouvre des transactions qu'à la fin de la bougie actuelle sur l'échelle de temps actuelle ? :)) Je ne sais pas quand ça ouvre les marchés maintenant... Les flèches semblent être correctes, et regardez les chandeliers, tout est ok, mais les transactions semblent être ouvertes au milieu ou vers la fin de la bougie, en général, partout, mais pas là où c'est nécessaire. :(
En général, il est d'usage d'ouvrir des transactions au moment où une nouvelle bougie se forme, alors que l'on dispose déjà de toutes les informations sur la bougie qui vient d'être fermée
Je déplacerais aussi ceci.
Vous êtes sûr que c'est là qu'on vous a montré ?
En général, il est d'usage d'ouvrir des transactions au moment où une nouvelle bougie se forme, alors que toutes les informations sur la bougie qui vient de se fermer sont déjà en place
Vitaly, j'ai remarqué que les gens écrivent une question et vaquent à leurs occupations, tandis que nous nous amusons entre nous. Il y a parfois plusieurs pages d'extraits.