This period indicator helps to see different times periods on the price chart.
The ideal would be to have 1 year in the futur these different periods of time.
I failed to do anything conclusive.
Please download to have all the functionality
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
// --- settings Jour = 1 //1 = display ; 0 = do not display (day) Semaine = 1 //1 = display ; 0 = do not display (week) Mois = 1 //1 = display ; 0 = do not display (month) Trimestre = 1 //1 = display ; 0 = do not display (quarter) Annee = 1 //1 = display ; 0 = do not display (year) // --- end of settings IF OpenDay[1]<>OpenDay THEN d = barindex IF Jour THEN drawvline(d)coloured(200,150,0,150)style(line,1) ENDIF ENDIF IF OpenDayOfWeek[1]>OpenDayOfWeek THEN w = barindex IF Semaine THEN drawvline(w)coloured(100,100,255,150)style(line,1) ENDIF ENDIF IF month[1] <> month THEN m = barindex IF Mois THEN drawvline(m)coloured(200,50,50,150)style(line,2) ENDIF ENDIF IF Month = 1 or Month = 4 or Month = 7 or Month = 10 THEN IF month[1] <> month THEN t = barindex IF Trimestre THEN drawvline(t)coloured(0,180,0,150)style(line,3) ENDIF ENDIF ENDIF IF OpenYear[1]<>OpenYear THEN y = barindex IF Annee THEN drawvline(y)coloured(0,0,0,150)style(line,3) ENDIF ENDIF RETURN |
Share this
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.
ProRealTime ITF files and other attachments :
Filename : download the ITF files
How to import ITF files into ProRealTime platform?
PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials