sessiobarlast[1] is the bar before sessionlastbar?
if true, why f i print sessionlastbar and sessionlastbar[1] i get s the same value?
sessionLastBar and sessionLastBar[1] is egual [SOLVED]
- ABC
- Posts: 721
- Joined: 16 Dec 2006
- Location: www.abctradinggroup.com
- Has thanked: 125 times
- Been thanked: 408 times
- Contact:
Re: sessionLastBar and sessionLastBar[1] is egual [SOLVED]
shivax,
not all reserved words can be back referenced (maybe the Multicharts support can provide a list of the reserved words that you can back reference), in that case the references provide the same value as the current bar does. You can overcome this by storing the reserved word in a variable and back reference the variable.
Regards,
ABC
not all reserved words can be back referenced (maybe the Multicharts support can provide a list of the reserved words that you can back reference), in that case the references provide the same value as the current bar does. You can overcome this by storing the reserved word in a variable and back reference the variable.
Regards,
ABC
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: sessionLastBar and sessionLastBar[1] is egual
Hello ABC,maybe the Multicharts support can provide a list of the reserved words that you can back reference
Here you go:
Code: Select all
open
high
low
close
volume
openint
date
time
ticks
upticks
downticks
time_s
datetime
tickid
symbol_open
symbol_high
symbol_low
symbol_close
symbol_volume
symbol_openint
symbol_date
symbol_time
symbol_ticks
symbol_upticks
symbol_downticks
symbol_time_s
symbol_datetime
symbol_tickid