|
Portland Oregon, United States
Experience: Beginner
Platform: Ninjatrader®
Broker: CQG, Kinetick
Trading: Gameplay Klownbine® Trading of Globex
Posts: 1,333 since Jul 2009
Thanks Given: 1,246
Thanks Received: 2,734
|
If running on COBC false you can reduce the number of executions of OnBarUpdate by at least 70% by rejecting those price ticks that have the same price as the preceding tick and are not FirstTickOfBar.
if close[0]=previous close and NOT FirstTickOfBar return....
"If we don't loosen up some money, this sucker is going down." -GW Bush, 2008
“Lack of proof that something is true does not prove that it is not true - when you want to believe.” -Humpty Dumpty, 2014
“The greatest shortcoming of the human race is our inability to understand the exponential function.” Prof. Albert Bartlett |
|