où poster le code de mon indicateur personnel pour le partager ?
Forums › ProRealTime forum Français › Support ProBuilder › où poster le code de mon indicateur personnel pour le partager ?
- This topic has 19 replies, 3 voices, and was last updated 2 years ago by Nicolas.
-
-
10/20/2021 at 5:41 PM #180030
Bonsoir Nicolas ,
Voici le fichier, ma demande reste la même à savoir:
- en positif quand il y a un trendup ,avec affichage positif à gauche des +hauts des prix , et délimité par un segment.. (variation% à 2 chiffres après la virgule)
- en négatif quand il y a un trendown , donc affichage négatif à droite des +bas des prix et délimité par un segment..(variation % à 2 chiffres après la virgule ).
- Du coup l’affichage ne se fait plus sur le croisement des trends up et down .
- Merci de vous lire voici un exemple en fichier joint .Cordialement
- Pierre
10/21/2021 at 1:20 PM #18007710/21/2021 at 1:39 PM #180085Ci-dessous le code en question avec les modifications sur les performances affichées. Félicitations Pierre pour ton travail, je te suit sur twitter, tu penses incorporer cela dans ton LTS-Evoluzione ?
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394//"Little trend Box v5"//DAILY : variables entier par défaut// p1=1,2,3//p2=15,..20 // entier défaut//HEBDO:variables entier par défaut// p1 =2//p2= 15once lastpoint = 0offset = average[50,0](range) * 2hs= (high-low)hh= highest[p1](hs)ll= lowest[p1](hs)hi10=highest[p2](high)lo10=lowest[p2](low)median= ( hi10+lo10)/2if high>= hi10 and hs>= hh thentrendown=( lo10+median+close)/3endifif low<= lo10 and hs<=ll thentrendown=( hi10+median+close)/3endifif low<= lo10 and hs<=ll thentrendup=( low+median+close)/3endifif high>= hi10 and hs >= hh thentrendup= ( high+median+close)/3endiftrend = (trendup+trendown)/2if TRENDUP crosses over TRENDOWN then//>drawarrowup(barindex,TRENDOWN-10*PipSize) coloured(0,255,0)r=0g=255b=0ELSif TRENDUP crosses under TRENDOWN then//<drawarrowdown(barindex,TRENDUP+10*PipSize) coloured(255,0,0)r=255g=0b=0endif////////////////if TRENDUP crosses over TRENDOWN then//>ihh = highiclose=closeBOTy = TRENDUP//low//closeBOTx = barindexlastX = BOTxlastY = BOTyxx = BOTy//diff = round((xx - yy)*100 / yy,2)drawsegment(illbar,ill,illbar-10,ill) coloured(255,0,0)DrawText("#diff#%",illbar-12,ill,Dialog,Bold,16) coloured(255,0,0)ELSif TRENDUP crosses under TRENDOWN and (lastpoint=-1 or lastpoint=0) then//<ill = lowiclose=closeTOPy = trendown//high//closeTOPx = barindexlastX = TOPxlastY = TOPyyy = TOPy//diff = round((yy - xx)*100 / xx,2)drawsegment(ihhbar,ihh,ihhbar-10,ihh) coloured(0,255,0)DrawText("#diff#%",ihhbar-12,ihh,Dialog,Bold,16) coloured(0,255,0)endifif trendup>trendown thenihh=max(ihh,high)diff=round((ihh-iclose)*100/iclose,2)if ihh<>ihh[1] thenihhbar=barindexendifelseill=min(ill,low)diff=round((iclose-ill)*100/iclose,2)if ill<>ill[1] thenillbar=barindexendifendif///////////////////drawcandle(TRENDUP,TRENDOWN, TRENDUP,TRENDOWN)coloured (r,g,b,50)RETURN trendup coloured (0,255,0)as "trendup ", trendown coloured (255,0,0)as " trendown", trend coloured (255,255,255)as "trend"1 user thanked author for this post.
10/21/2021 at 2:22 PM #180095Bonjour Nicolas,
Un grand merci à toi.
Ca y est , tu m’as démasqué…On ne peut rien te cacher, seulement , tu sais je suis un autodidacte et je code comme je peux… ,
j’ai un très grand respect pour toi et tout le travail que tu accomplis, .. “tout à l’air si simple ..”
moi je rame pour arriver à faire des petits pas..
Je vais essayer de comprendre ce que tu as fait et l’intégrer au “LTS -Evoluzione” version TF et version 5 .
j’aimerais pouvoir t’envoyer le code mais de façon “protégée” pour avancer davantage avec toi , mais je ne sais pas encore comment ,
car le LTB-v5 est apparu sur le site sans protection. Tu as peut être une idée?
Encore Merci ,
Pierre
1 user thanked author for this post.
10/21/2021 at 5:44 PM #180115 -
AuthorPosts
Find exclusive trading pro-tools on