Forum: Platforms and Indicators
February 7th, 2013, 08:38 AM
|
Replies: 1
Views: 2,611
script to close orders only on new bar
Hi,
I trying to create a script that closes all existing orders only when a new bar is detected.
It seems the code below always get executed even when new bar is same as old bar.
Thanks to help....
|
Forum: NinjaTrader
August 17th, 2011, 08:02 AM
|
Replies: 34
Views: 20,850
|
Forum: NinjaTrader
August 16th, 2011, 08:56 AM
|
Replies: 34
Views: 20,850
SbSRenko as primary barchart
Hi,
This is my first post and I am just learning Ninjascript. I am working on a strategy that uses SbSRenko(5) as a primary Bar chart and SbSRenko(20) as a secondary.
In Initialize() I try to...
|