plus haut et plus bas entre 2 horaires
Forums › ProRealTime forum Français › Support ProBuilder › plus haut et plus bas entre 2 horaires
- This topic has 9 replies, 3 voices, and was last updated 3 years ago by Nicolas.
Viewing 10 posts - 1 through 10 (of 10 total)
-
-
03/12/2021 at 12:14 PM #16392603/12/2021 at 5:13 PM #163948
Le code ci-dessous affiche le plus haut / bas entre les horaires Start et End, pour colorier la zone, ajouter une zone de couleur dans les paramètres du prix.
1234567891011121314start = 220000end = 090000tc = time>=start or time<endif tc thenif not tc[1] thenhh=highll=lowendifhh=max(high,hh)ll=min(low,ll)endifreturn hh,ll03/12/2021 at 10:51 PM #16396303/12/2021 at 10:59 PM #16396403/13/2021 at 10:20 AM #16398803/13/2021 at 2:47 PM #16401403/13/2021 at 7:26 PM #16404403/13/2021 at 10:42 PM #16405304/08/2021 at 9:25 AM #16647404/08/2021 at 10:06 AM #166486Pour des horaires à cheval entre 2 journées, il faut prendre le premier code fournit: https://www.prorealcode.com/topic/plus-haut-et-plus-bas/#post-163948
-
AuthorPosts
Viewing 10 posts - 1 through 10 (of 10 total)
Find exclusive trading pro-tools on
Similar topics: