Commencer PRINT 10 jours avant Today
Forums › ProRealTime forum Français › Support plateforme ProRealTime › Commencer PRINT 10 jours avant Today
- This topic has 9 replies, 3 voices, and was last updated 1 hour ago by
umrk.
Viewing 10 posts - 1 through 10 (of 10 total)
-
-
01/07/2026 at 12:07 PM #255050
Bonjour,
A la fin d’un indicateur, je veux lancer des PRINT, mais seulement si je suis près proche de la date du jour (Today), disons 10 jours avant, pour être bien sûr qu’avant d’imprimer j’ai bien calculé tout ce qui m’intéresse.
Je sais comment détecter que je suis sur la dernière barre, avec :
LastBarOnChart=Date=Today
Mais comment détecter que je suis sur la barre &à jours avant ?
LastBarOnChart10DaysBefore=Date=Today[10] ne marche pas !!!!
01/07/2026 at 12:19 PM #255051Essayez ceci :
12345defparam DrawOnLastBarOnly = truemyRSI = Rsi[14](close)print myRSI //print the current RSIprint myRSI[10] //print RSI 10 bars before the current onereturn1 user thanked author for this post.
01/07/2026 at 12:38 PM #25505201/07/2026 at 2:05 PM #255056Bonjour,
If Date >= Today-10 then
Print(…)
EndIf
2 users thanked author for this post.
01/07/2026 at 2:29 PM #25505801/07/2026 at 2:39 PM #25505901/07/2026 at 2:48 PM #25506001/07/2026 at 2:56 PM #25506101/07/2026 at 3:33 PM #25506301/11/2026 at 8:47 AM #255199 -
AuthorPosts
Viewing 10 posts - 1 through 10 (of 10 total)
Find exclusive trading pro-tools on
Similar topics: