Dessiner Gann éventail
- This topic has 4 replies, 2 voices, and was last updated 4 years ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
Forums › ProRealTime forum Français › Support ProBuilder › Dessiner Gann éventail
Tagged: gann
Bonjour à tous,
Je cherche à ajouter à l’un de mes indicateurs techniques un tracé.
Je voudrais qu’il me trace sur mon graphique un éventail Gan à 45°. Seul problème je ne vois nulle part la possibilité de le faire…
Merci pour votre aide et au plaisir de vous lire
Example sur un RSI 14 périodes.
Version PRT 10.3:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
defparam drawonlastbaronly=true //X = starting price X = rsi[14] //a = angle a = 45 //Y = next price Y = square(sqrt(X)+a/180) //plot the next price drawline(barindex,X,barindex+1,Y) return X as "price/indi value" |
version PRT v11:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
defparam drawonlastbaronly=true //X = starting price X = rsi[14] //a = angle a = 45 //Y = next price Y = square(sqrt(X)+a/180) //plot the next price drawsegment(barindex,X,barindex+10,Y) coloured(255,200,0) style(line,3) drawpoint(barindex,X,3) coloured(255,0,0) drawpoint(barindex+10,Y,3) coloured(255,0,0) return X as "price/indi value" |