Rendre un script trading view utilisable sur PRT :)
Forums › ProRealTime forum Français › Support ProBuilder › Rendre un script trading view utilisable sur PRT :)
- This topic has 12 replies, 3 voices, and was last updated 3 years ago by AK27.
Viewing 13 posts - 1 through 13 (of 13 total)
-
-
01/30/2021 at 8:18 PM #159945
Bonjour,
Gros noob en informatique, je passe de tradingview à PRT mais je n’arrive pas forcement à retrouver l’équivalence en indicateur, i need help…
Voilà le script :
1234567891011121314151617181920212223//@version=4study(title=”Punch Clouds”, shorttitle=”Punch Cloud”, overlay=true)ema5 = ema(close, 5)ema13 = ema(close, 13)ema5plot = plot(ema5, color=#2ecc71, transp=100, style=plot.style_line, linewidth=1, title=”EMA(5)”)ema13plot = plot(ema13, color=#f00b0b, transp=100, style=plot.style_line, linewidth=1, title=”EMA(13)”)fill(ema5plot, ema13plot, color=ema5 > ema13 ? color.lime : color.teal, transp=60, editable=true)ema34 = ema(close, 34)ema50 = ema(close, 50)ema34plot = plot(ema34, color=#2ecc71, transp=100, style=plot.style_line, linewidth=1, title=”EMA(34)”)ema50plot = plot(ema50, color=#f00b0b, transp=100, style=plot.style_line, linewidth=1, title=”EMA(50)”)fill(ema34plot, ema50plot, color=ema34 > ema50 ? color.aqua : color.blue, transp=60, editable=true)ema72 = ema(close, 72)ema89 = ema(close, 89)ema72plot = plot(ema72, color=#2ecc71, transp=100, style=plot.style_line, linewidth=1, title=”EMA(72)”)ema89plot = plot(ema89, color=#f00b0b, transp=100, style=plot.style_line, linewidth=1, title=”EMA(89)”)fill(ema72plot, ema89plot, color=ema72 > ema89 ? color.aqua : color.blue, transp=60, editable=true)01/30/2021 at 9:14 PM #159950Pour la clarté des messages sur les forums de ProRealCode, merci d’utiliser le bouton “insert PRT code” pour séparer la partie texte de la partie code, merci ! 🙂
01/30/2021 at 10:10 PM #15995801/30/2021 at 10:53 PM #15996301/31/2021 at 11:53 AM #15998401/31/2021 at 12:43 PM #159989Si le code n'est pas complet, vous pouvez le publier à nouveau.
01/31/2021 at 2:05 PM #15999202/01/2021 at 9:05 AM #16001502/01/2021 at 11:44 AM #16003102/01/2021 at 1:43 PM #16004402/01/2021 at 1:51 PM #16004502/01/2021 at 2:15 PM #160050En utilisant le code ci-dessous, ajouter les remplissages et supprimer la visibilité des lignes (voir image exemple).
12345678910ema5 = average[5,1]ema13 = average[13,1]ema34 = average[34,1]ema50 = average[50,1]ema72 = average[72,1]ema89 = average[89,1]return ema5,ema13,ema34,ema50,ema72,ema8902/01/2021 at 2:41 PM #160055 -
AuthorPosts
Viewing 13 posts - 1 through 13 (of 13 total)
Find exclusive trading pro-tools on
Similar topics: