![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Aug 2009
Posts: 52
Thanks: 0
Thanked 0 times in 0 posts
|
I want to be able to tell that a crossover has taken place, but it may not have happened in this bar or last several bars. How would I do this? Can I do this with the Strategy Wizard?
I basically want to flag that a crossover has taken place that I could check. Could I set a variable when a crossover takes places and then check this variable later? |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,384
Thanks: 252
Thanked 967 times in 950 posts
|
Trader61, yes user variables are ideal for this task -
http://www.ninjatrader-support2.com/...ad.php?t=15417
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| buy and hold | alexnj | Strategy Development | 3 | 09-25-2009 01:42 PM |
| BUY and HOLD strategy | Helicopter | Miscellaneous Support | 1 | 08-06-2009 03:34 AM |
| Best Way To Hold Positions Overnight? | tshirtdeal | SuperDOM and other Order Entry Windows | 1 | 03-17-2009 04:05 AM |
| Where does Dorman hold the orders | zq655 | SuperDOM and other Order Entry Windows | 1 | 02-07-2008 06:50 AM |
| 'Hold' function in sim | djayw | Miscellaneous Support | 2 | 01-18-2008 02:40 PM |