echelle réduit en ligne
- This topic has 5 replies, 3 voices, and was last updated 1 year ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
Similar topics:
Forums › ProRealTime forum Français › Support ProBuilder › echelle réduit en ligne
Bonsoir,
J’ai un indicateur perso avec des flèches, mais quand je change d’actif, tout se réduit sur une ligne – voir pj.
Help me please.
Voici le return où je crois qu’il faut modifier mais je ne vois pas…
1 2 3 4 5 6 7 8 |
if achat then DRAWARROWUP(barindex,low-4)coloured(10,255,10) elsif vente then DRAWARROWDOWN(barindex,high+4)coloured(255,10,10) endif RETURN (achat),(vente) |
Bonjour,
Probablement les variables « Achat » et « Vente » ont des valeurs de zéro (0) ou un (1) de sorte qu’elles « tirent vers le bas » l’échelle verticale…
Supprimez donc « Achat » et « Vente » après le « Return »…
Il est également préférable d’utiliser « PipSize » pour que la distance relative reste la même dans chaque graphique…
1 2 3 4 5 6 7 8 |
if achat then DRAWARROWUP(barindex,low-4*PipSize)coloured(10,255,10) elsif vente then DRAWARROWDOWN(barindex,high+4*PipSize)coloured(255,10,10) endif RETURN |
Bonjour @js,
J’ai le même problème avec le code ci dessous du pivot hebodmadaire.
Quand je change le nombre d’unités afficher cela me réduit tout.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
// POINT PIVOT HEBDOMADAIRE IF dayofweek < dayofweek[1] THEN weekhigh = prevweekhigh weeklow = prevweeklow weekclose = prevweekclose prevweekhigh = high prevweeklow = low ENDIF prevweekhigh = max(prevweekhigh, high) prevweeklow = min(prevweeklow, low) prevweekclose = close //Pointpivot Hebdomadaire PPHEBDO = (weekhigh + weeklow + weekclose) / 3 return PPHEBDO |
Merci pour ton aide
Find exclusive trading pro-tools on