|
stratégie combinant différents SMA entre l'entrée et la sortie |
lightfx
|
Post subject: stratégie combinant différents SMA entre l'entrée et la sortie |
Post rating: 0
|
Posted: Tue 15 Dec, 2015, 11:58
|
|
User rating: 0
Joined: Mon 09 Feb, 2015, 12:12 Posts: 11 Location: MoroccoMorocco
|
bonjour
j'ai besoin de l'aide pour implémenter cette stratégie
++ conditions d'achat
Ouverture : Croisement entre SMA 9 30 min et SMA 26 30 min vers le haut Ce croisement se trouve en dessus du SMA 200 H4 (sinon on autre dès la cassure si le signal reste maintenu)
Clôture : croisement SMA 5 et SMA20 15 min vers le bas
++ conditions de vente : l’opposé de l’achat
Merci !
|
|
|
|
|
amine_chourou
|
Post subject: Re: stratégie combinant différents SMA entre l'entrée et la sortie |
Post rating: 0
|
Posted: Tue 15 Dec, 2015, 14:27
|
|
Visual JForex expert at Dukascopy | |
User rating: 288
Joined: Thu 18 Apr, 2013, 09:26 Posts: 1496 Location: Switzerland, Geneva
|
Bonjour,
Pouvez-vous nous dire à quel niveau vous êtes bloqué exactement et surtout joindre votre stratégie en format .vfs ?
Merci
|
|
|
|
|
lightfx
|
Post subject: Re: stratégie combinant différents SMA entre l'entrée et la sortie |
Post rating: 0
|
Posted: Tue 15 Dec, 2015, 14:50
|
|
User rating: 0
Joined: Mon 09 Feb, 2015, 12:12 Posts: 11 Location: MoroccoMorocco
|
Bonjour
pour les conditions d'ouverture, le premier croisement fonctionne sans souci, par contre quand j'ai ajouter le filtre de 200sma 4h, il ya un erreur quelque part, car il ne marche pas bien comme décrit par contre pour la clôture des positions j'ai aucune idée comment la traduire donc je reste bloqué dans le deuxième stade avec le filtre SMA200 H4
merci!
Attachments: |
RABI3IA1_4h4filtre.vfs [44.73 KiB]
Downloaded 848 times
|
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on
this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control
on their content. Anyone accessing this webpage and downloading or otherwise making use of any document,
data or information found on this webpage shall do it on his/her own risks without any recourse against
Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from
the use and/or reliance on any document, data or information found on this webpage.
|
|
|
|
|
|
amine_chourou
|
Post subject: Re: stratégie combinant différents SMA entre l'entrée et la sortie |
Post rating: 0
|
Posted: Tue 15 Dec, 2015, 16:29
|
|
Visual JForex expert at Dukascopy | |
User rating: 288
Joined: Thu 18 Apr, 2013, 09:26 Posts: 1496 Location: Switzerland, Geneva
|
Salut, Je remarque que vous voulez travailler sur du multi-périodes et donc le fait de mettre un filtre de période à 30 minutes (ou n'importe) est inutile et c'est valable également pour l'utilisation de la variable "Default period" puisque il n'y a plus vraiment de période de trading par défaut d'où la raison pour laquelle j'ai supprimé ce bloc. Reste à bien placer les autres conditions de façon à ce que ton exit (croisement inverse) soit atteint et vérifié pour que la position se clôture. Si tu bloques la condition de sortie par la condition d'entrée SMA200H4 par exemple, il y aura des dysfonctionnements. Voilà, je te recommande de bien étudier l'exemple ci-joint et de le tester et de bien détailler tes remarques si il y en a A bientôt !
Attachments: |
RABI3IA1_4h4filtre_V2.vfs [49.04 KiB]
Downloaded 825 times
|
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on
this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control
on their content. Anyone accessing this webpage and downloading or otherwise making use of any document,
data or information found on this webpage shall do it on his/her own risks without any recourse against
Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from
the use and/or reliance on any document, data or information found on this webpage.
|
|
|
|
|
|
lightfx
|
Post subject: Re: stratégie combinant différents SMA entre l'entrée et la sortie |
Post rating: 0
|
Posted: Tue 15 Dec, 2015, 18:07
|
|
User rating: 0
Joined: Mon 09 Feb, 2015, 12:12 Posts: 11 Location: MoroccoMorocco
|
Bonjour
merci pour votre réponse
1- j'ai fait un backtest sur le dernier mois ( novembre ) de la version V2, et l'expert a ouvert juste une seule position malgré qu'il y a bcp plus d'opportunités.
2- deplus, dans la stratégie décrite, on clôture la position par le croisement inverse non pas des sma d'entrée ( 9 et 26), mais de nouveaux sma qui nous servent juste dans la sortie ( sma 5 et sma 20).
merci !
|
|
|
|
|
amine_chourou
|
Post subject: Re: stratégie combinant différents SMA entre l'entrée et la sortie |
Post rating: 0
|
Posted: Wed 16 Dec, 2015, 11:07
|
|
Visual JForex expert at Dukascopy | |
User rating: 288
Joined: Thu 18 Apr, 2013, 09:26 Posts: 1496 Location: Switzerland, Geneva
|
Bonjour,
La stratégie est en contradiction avec ce que vous décrivez ce qui explique son résultat. Pouvez-vous démontrer sur un graphique les conditions d'entrée et de sortie (en mettant en évidence les différents croisements) ?
Merci
|
|
|
|
|
lightfx
|
Post subject: Re: stratégie combinant différents SMA entre l'entrée et la sortie |
Post rating: 0
|
Posted: Wed 16 Dec, 2015, 12:19
|
|
User rating: 0
Joined: Mon 09 Feb, 2015, 12:12 Posts: 11 Location: MoroccoMorocco
|
bonjour merci pour votre réponse, voila la stratégie avec des snapshots explicatifs Tous d’abord la SMA200 H4 nous indique la tendance de fonds, donc en dessus du sma200 on va juste prendre les positions acheteuses, et en dessous du sma200 on va juste prendre les positions vendeuses Le signal d’entrée principal et le Croisement entre SMA 9 de 30 min et SMA 26 de 30 min Pour la sortie, on va pas prendre le croisement inverse se SMA 9 de 30 min et SMA 26 de 30 min, mais on va prendre le croisement inverse au niveau de SMA 5 de 15 min et SMA 20 de 15 min, comme ça on va sortira plus tôt. n'hésiter pas à me questionner en cas de besoin merci !
Attachments: |
Chart_EUR_USD_15 Mins_snapshot.png [14.63 KiB]
Downloaded 1146 times
|
Chart_EUR_USD_30 Mins_snapshot.png [14.68 KiB]
Downloaded 1164 times
|
Chart_EUR_USD_4 Hours_snapshot.png [10.52 KiB]
Downloaded 1180 times
|
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on
this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control
on their content. Anyone accessing this webpage and downloading or otherwise making use of any document,
data or information found on this webpage shall do it on his/her own risks without any recourse against
Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from
the use and/or reliance on any document, data or information found on this webpage.
|
|
|
|
|
|
amine_chourou
|
Post subject: Re: stratégie combinant différents SMA entre l'entrée et la sortie |
Post rating: 0
|
Posted: Wed 16 Dec, 2015, 13:41
|
|
Visual JForex expert at Dukascopy | |
User rating: 288
Joined: Thu 18 Apr, 2013, 09:26 Posts: 1496 Location: Switzerland, Geneva
|
Merci pour ces détails. Qu'en est il du cas suivant: - Si le SMA200 H4 reste toujours au dessous du cours et qu'une position longue a été déjà ouverte ET fermée: Est-ce que vous voulez garder le signal d'achat toujours actif et racheter encore une fois si le sma9MIN30 repasse au dessus du sma26MIN30 ? OU ALORS: Attendre le signal opposé pour vendre ce qui est équivalent à attendre que sma200H4 passe en dessous du cours ?
PS: c'est une des raisons pour laquelle vous voyez dans l'exemple précédent des signaux d'achat / vente sans pour autant qu'il y est ouverture de positions.
|
|
|
|
|
lightfx
|
Post subject: Re: stratégie combinant différents SMA entre l'entrée et la sortie |
Post rating: 0
|
Posted: Wed 16 Dec, 2015, 14:06
|
|
User rating: 0
Joined: Mon 09 Feb, 2015, 12:12 Posts: 11 Location: MoroccoMorocco
|
bonjour
il doit avoir une entrée a chaque croisement qui satisfait les conditions ( dans notre cas la position par rapport au sma 200 H4 )
donc dans votre exemple c'est le premier cas qui doit être pris en compte
merci !
|
|
|
|
|
amine_chourou
|
Post subject: Re: stratégie combinant différents SMA entre l'entrée et la sortie |
Post rating: 0
|
Posted: Wed 16 Dec, 2015, 15:12
|
|
Visual JForex expert at Dukascopy | |
User rating: 288
Joined: Thu 18 Apr, 2013, 09:26 Posts: 1496 Location: Switzerland, Geneva
|
Salut je te laisse le soin d'intégrer ta dernière modification ci-dessous à l'exemple V3 puisque je ne peux pas tout faire Quote: mais on va prendre le croisement inverse au niveau de SMA 5 de 15 min et SMA 20 de 15 min, comme ça on va sortira plus tôt.
Attachments: |
RABI3IA1_4h4filtre_V3.vfs [49.73 KiB]
Downloaded 859 times
|
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on
this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control
on their content. Anyone accessing this webpage and downloading or otherwise making use of any document,
data or information found on this webpage shall do it on his/her own risks without any recourse against
Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from
the use and/or reliance on any document, data or information found on this webpage.
|
|
|
|
|
|
lightfx
|
Post subject: Re: stratégie combinant différents SMA entre l'entrée et la sortie |
Post rating: 0
|
Posted: Wed 16 Dec, 2015, 18:13
|
|
User rating: 0
Joined: Mon 09 Feb, 2015, 12:12 Posts: 11 Location: MoroccoMorocco
|
Bonjour Merci bcp pour votre aide , je vais essayer de me débrouiller, sinon je reviendrai vers vous dans un deuxième temps. A+
|
|
|
|
|
lightfx
|
Post subject: Re: stratégie combinant différents SMA entre l'entrée et la sortie |
Post rating: 0
|
Posted: Wed 23 Dec, 2015, 17:21
|
|
User rating: 0
Joined: Mon 09 Feb, 2015, 12:12 Posts: 11 Location: MoroccoMorocco
|
bonjour j'ai fait un backtest sur le mois d octobre 2015, mais j'ai remarqué qu'il ne ferme pas toutes les positions, normalement il doit y avoir une seule position à la fois. merci
Attachments: |
october 2015.png [69.29 KiB]
Downloaded 918 times
|
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on
this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control
on their content. Anyone accessing this webpage and downloading or otherwise making use of any document,
data or information found on this webpage shall do it on his/her own risks without any recourse against
Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from
the use and/or reliance on any document, data or information found on this webpage.
|
|
|
|
|
|
|
Pages: [
1
]
|
|
|
|
|