When I include and print Close[0] I get the actual close of each bar though many references here say to do this to receive current price. I included "Calculate = Calculate.OnEachTick;" in the state defaults:
if (State == State.SetDefaults) { Description = @"Sample "; Name = "Rus"; Calculate = Calculate.OnEachTick;
p
rotected override void OnBarUpdate() { Print("__" + Close[0]);
How do I print the current price as it creates the bar to include in my strategy?
This is part of a strategy that uses an indicator on a 5 minute chart within the strategy.
Thanks!
Chris
Comment