asian session indicator
Forums › ProRealTime forum Français › Support ProBuilder › asian session indicator
- This topic has 4 replies, 4 voices, and was last updated 3 weeks ago by
AdilMed10.
-
-
01/09/2025 at 5:39 PM #24234501/09/2025 at 6:41 PM #242349
Publiez uniquement dans la langue du forum dans laquelle vous publiez. Par exemple, l’anglais uniquement dans les forums anglophones et le français uniquement dans les forums francophones
Merci 🙂
01/09/2025 at 6:58 PM #242350Voilà:
123456789101112131415161718defparam drawonlastbaronly = trueFromTime = 010000ToTime = 060000IF (OpenTime >= FromTime) AND (OpenTime <= ToTime) THENIF OpenTime = FromTime THENBar1 = BarIndexHH = highLL = lowENDIFBar2 = BarIndexHH = max(HH,high)LL = min(LL,low)ENDIFIF (Bar2 - Bar1) < 3 THENBar2 = Bar1 + 3ENDIFDrawRectangle(Bar1,HH*1.001,bar2,LL*0.999) coloured("Cyan",30) bordercolor("Blue",255)RETURN01/09/2025 at 8:18 PM #242354j’utilise celui ci joint
a ajuster les horaires1234567891011121314151617181920212223242526272829defparam drawonlastbaronly = true//ZONE ASIATIQUEif IntradayBarIndex =0 thenHTAsie=HighBSAsie=Lowbstart=barindexendifif opentime>230000 or opentime<=070000 THENhtasie=max(htasie,High)bsasie=min(bsasie,low)bfin=barindexendif//asieif opentime>070000 and opentime<230000 THENDRAWRECTANGLE(bstart, htasie, bfin, bsasie) BORDERCOLOR(255,255,0)DRAWSEGMENT(barindex, htasie, bstart, htasie)COLOURED(255,255,0)STYLE (line,2)DRAWSEGMENT(barindex,bsasie, bstart, bsasie)COLOURED(255,255,0)STYLE (line,2)DRAWSEGMENT(barindex,dopen(0), bstart, dopen(0))COLOURED(0,0,255)STYLE (line,2)DRAWTEXT("Open du jour", barindex+2, dopen(0)) COLOURED(0,0,255)endifreturn2 users thanked author for this post.
05/19/2025 at 12:48 PM #247319Bonjour,
J’utilise ProRealTime avec mon fuseau horaire correctement réglé sur Eastern Time (New York),
mais la session asiatique avec cet indicateur commence toujours à 00:00 ET au lieu de 20:00 ET (jour précédent).Pourriez-vous me confirmer s’il s’agit d’un comportement attendu pour des données intrajournalières ?
Existe-t-il un moyen d’afficher les sessions avec précision en fonction des heures d’ouverture du marché ?Merci d’avance,
ZONE ASIATIQUE1234567891011121314151617181920212223242526defparam drawonlastbaronly = true// ZONE ASIATIQUEif IntradayBarIndex = 0 thenHTAsie = HighBSAsie = Lowbstart = barindexendif// Session asiatique : 20h00 à 04h00 ETif opentime >= 200000 or opentime < 040000 thenHTAsie = max(HTAsie, High)BSAsie = min(BSAsie, Low)bfin = barindexendif// AFFICHAGE DES NIVEAUX APRÈS 04h00 ET UNIQUEMENTif opentime >= 040000 and opentime < 200000 thendrawrectangle(bstart, HTAsie, bfin, BSAsie) bordercolor(255,255,0)drawsegment(barindex, HTAsie, bstart, HTAsie) coloured(255,255,0) style(line,2)drawsegment(barindex, BSAsie, bstart, BSAsie) coloured(255,255,0) style(line,2)drawsegment(barindex, dopen(0), bstart, dopen(0)) coloured(0,0,255) style(line,2)drawtext("Open du jour", barindex+2, dopen(0)) coloured(0,0,255)endifreturn -
AuthorPosts
Find exclusive trading pro-tools on