Variante fractales et dow
Forums › ProRealTime forum Français › Support ProBuilder › Variante fractales et dow
- This topic has 6 replies, 2 voices, and was last updated 5 months ago by Atemi19.
-
-
07/12/2024 at 5:38 PM #235199
Bonjour, ça fait un petit moment que je ne suis pas revenu…
Je voudrais créé une variante des fractales qui prend en compte une partie de ma théorie de Dow également.
Sur un graphique en bougie, je voudrais bien qu’une flèche soit tracé comme les fractales mais lorsque le plus haut de la bougie dépasse les plus hauts des 3 bougies précédentes : flèche verte haussier et inversement pour le bas qui seraient en dessous des 3 dernières flèche rouge baissier.
Cordialement….
07/12/2024 at 6:06 PM #235202Est-ce que c’est ce que vous recherchez…
1234567891011121314151617181920dist = 10 // distance arrow above or below levelc1 = high < high[1] and high[1] > high[2] // fractal highc2 = high[1] > high[2] and high[1] > high[3] and high[1] > high[4] // prior high'sc3 = low > low[1] and low[1] < low[2] // fractal lowc4 = low[1] < low[2] and low[1] < low[3] and low[1] < low[4] // prior low'sif c1 and c2 thendrawarrowdown(barindex-1,high[1]+dist) coloured("lime")endifif c3 and c4 thendrawarrowup(barindex-1,low[1]-dist) coloured("red")endifretur07/12/2024 at 8:06 PM #23521907/12/2024 at 9:23 PM #235220Lorsque j’ai copié du code, j’ai accidentellement coupé la lettre « n » de la dernière ligne. La dernière ligne doit indiquer « retour ».
1234567891011121314151617181920dist = 10 // distance arrow above or below levelc1 = high < high[1] and high[1] > high[2] // fractal highc2 = high[1] > high[2] and high[1] > high[3] and high[1] > high[4] // prior high'sc3 = low > low[1] and low[1] < low[2] // fractal lowc4 = low[1] < low[2] and low[1] < low[3] and low[1] < low[4] // prior low'sif c1 and c2 thendrawarrowdown(barindex-1,high[1]+dist) coloured("lime")endifif c3 and c4 thendrawarrowup(barindex-1,low[1]-dist) coloured("red")endifreturn07/13/2024 at 11:33 PM #23524507/14/2024 at 10:30 AM #2352521234567891011121314151617181920dist = 10 // distance arrow above or below levelc1 = high < high[1] and high[1] > high[2] // fractal highc2 = high[1] > high[2] and high[1] > high[3] and high[1] > high[4] // prior high'sc3 = low > low[1] and low[1] < low[2] // fractal lowc4 = low[1] < low[2] and low[1] < low[3] and low[1] < low[4] // prior low'sif c1 and c2 thendrawarrowup(barindex-1,high[1]+dist) coloured("lime")endifif c3 and c4 thendrawarrowdown(barindex-1,low[1]-dist) coloured("red")endifreturn1 user thanked author for this post.
07/14/2024 at 3:38 PM #235264 -
AuthorPosts
Find exclusive trading pro-tools on