| Trading Indicators Post your custom trading indicators. If you download, remember to click INSTALL. |
![]() | | Tweet | |
Bar Numbering Details »» | |||||||||||||||||||||||||||||
Bar Numbering This indicator is for MultiCharts only. description: prints the bar number on the screen, with the option to bold, frame or reverse at specific intervals. you may apply the numbers to a subchart, or the main chart. if you want the bar numbers on the main chart: -- right click on the price scale to select this indicator, -- drag the price scale to position the numbers Download Now
Screenshots Show Your Support
| |||||||||||||||||||||||||||||
| The Following 2 Users Say Thank You to Tams For This Useful Post: | ||
aaa (05-13-2009), TIKITRADER (12-14-2009) | ||
| Comments |
| | #10 | ||
![]() | Re: Bar Numbering re "you can paste it in TS and see what's holding it up." Thanks. Will do... just have been pressed for time lately... | ||
| |
|
| | #11 | ||
![]() | Re: Bar Numbering Last edited by aaa; 05-30-2009 at 01:37 PM. | ||
| |
|
| | #12 | ||
![]() | Re: Bar Numbering inputs: BeginTime ( 0800 ), BeginDate ( 1090527 ); variables: bar_num ( 0 ), LengthBeginTime( 0 ); if Time > BeginTime then begin if bar_num = 0 then bar_num = 1 ; end else bar_num = 0 ; if bar_num > 0 then begin bar_num = bar_num + 1 ; end; LengthBeginTime = bar_num ; Now I have a problem to set BeginDate ( 1090527 ) How to go back in a specified date before ? Is it possible ? Any suggestion is welcomed. | ||
| |
|
| | #13 | ||
![]() | Re: Bar Numbering Returns a numerical value indicating the closing date of a bar. The date is indicated in the YYYMMdd format, where YYY is the number of years since 1900, MM is the month, and dd is the day of the month. Usage Date Examples Date will return a value of 1071030 for October 30th, 2007 Date will return a value of 990402 for April 2th, 1999 | ||
| |
|
| | #14 | ||
![]() | Re: Bar Numbering input: start.date(1090527); if date > start.date then begin code code ... | ||
| |
|
| | #15 | ||
![]() | Re: Bar Numbering ![]() How to compute the numbers of bars from a fixed time and date to the LastBarOnChart ? I've started from your code and here is the result Is it the right way ? Code: Input: start.date( 1090526), start_time( 1500 ), color( black ), text.size( 8 ); var: bar_num( 0), id_txt( 0); if Time > start_time and date > start.date then begin if bar_num = 0 then bar_num = 1; end else bar_num = 0; if bar_num > 0 then begin id_txt = text_new_self( d, time[1], 0, text(bar_num:0:0) ); text_setcolor(id_txt, color ); text_setsize( id_txt, text.size ); bar_num = bar_num + 1; end; | ||
| |
|
| | #16 | ||
![]() | Re: Bar Numbering BarNumber = BarNumber[1] + 1 ; I'm wondering if it is possible to count bars from a date before May be a trick is a solution ? | ||
| |
|
| | #17 | ||
![]() | Re: Bar Numbering Quote:
you can make the indicator to start counting anytime you want. right now the trigger is time/date based: if Time > start_time and date > start.date then begin you can change it to: if marketposition <> 0 then begin | ||
| |
|
![]() |
| Tags |
| bar number, easylanguage, multicharts, text |
| Thread Tools | |
| Help Others By Rating This Thread | |
| |