Toute question des nouveaux arrivants sur MQL4 et MQL5, aide et discussion sur les algorithmes et les codes. - page 1656
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
MakarFX, essayé - aucun changement, il ne s'ouvre que sur l'achat, et la vente est complètement ignorée....
Que devons-nous ajouter à ces conditions ?
Expliquez la logique...
La première est claire : il y a un signal et aucun ordre ouvert...
... et ensuite je ne comprends pas dans quelles conditions les ordres doivent être ouverts ou fermés
Que faut-il alors ajouter pour que les conditions soient réunies ?
Essayez ceci
OK, je vais tout expliquer dans l'ordre, en essayant d'être précis et de ne pas déborder...
Il est basé sur une stratégie de trading de tendance appelée "Méthode Puria". Il est basé sur le croisement de trois moyennes mobiles et l'ouverture de la barre MACD. Deux lentes avec des périodes (75) et (85), méthode de pondération linéaire appliquée à Low. Une moyenne rapide avec une période (5), méthode exponentielle, s'applique à Close. Indicateur MACD avec les paramètres 15/26/1. Le point d'entrée est formé par le croisement de deux moyennes mobiles lentes et l'ouverture de la barre MACD dans la zone concernée avec la rapide (la rapide et la barre MACD doivent être dans la même zone) :
L'EA place un profit et un stop loss fixes. La taille du profit et du stop sont fixés dans les paramètres initiaux. Les ordres ne sont fermés que lorsqu'ils atteignent le Take Profit ou le Stop Loss.
C'est ce qui se trouvait dans les conseillers experts originaux de Puria. De plus, dans la dernière version, il existe également un stop suiveur et une option permettant de négocier à certaines heures. Les fonctions sont utiles, mais elles ne m'intéressent pas vraiment pour le moment.
Maintenant, en fait, les ajouts que j'ai faits/que je veux faire :
1. 1er prix d'ouverture - (5) au-dessus de (75) et (85) + barre MACD ouverte au-dessus de 0 - 1 confirmation sur 4;
2.Le cours d'ouverture de la 2ème bougie - (5) sur (75) et (85) + barre MACD ouverte au-dessus de 0- 2 confirmations sur 4 est;
3. Le cours d'ouverture de la 3ème bougie - (5) sur (75) et (85) + barre MACD ouverte au-dessus de 0- 3 confirmations sur 4 est;
4.Prix d'ouverture de la 4ème bougie - (5) au-dessus de (75) et (85) + barre MACD ouverte au-dessus de 0- 4 confirmations sur 4 oui- Ouvrir un trade d'achat sur la même bougie (4ème).
C'est comme ça, si quelque chose n'est pas clair, ou s'il y a des questions, n'hésitez pas à les poser.
OK, je vais tout expliquer dans l'ordre, essayer d'être précis et de ne pas déborder...
C'est la mise à zéro.
Peut-être que je ne vous comprends pas bien...
essayez de faire une capture d'écran
J'ai joint une capture d'écran, si vous ne comprenez pas quelque chose, demandez-le moi.
Ci-joint une capture d'écran. Si quelque chose n'est pas clair, n'hésitez pas à demander.
Essayez celui-ci - s'ouvrira-t-il dans ces endroits ?