Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Starting and stopping a strategy
Collapse
X
-
Hello,
The strategies cannot communicate with each other so this is not possible.
However you can control when your strategy runs. This link shows an example of how to do this:
Please note that it is not advisable to run your strategies unattended.
Because you are using money management to determine when to run you strategy, you will also find these links helpful:
They show the different techniques in using PnL for money management for the current day. The PnL resets itself each new session.DenNinjaTrader Customer Service
-
automated trading by day
Hi, I would like to test a created strategy by day (not with backtest!). It shall simulate automated live-trading but it does not work. I started the NT, connected to Zen-Fire, and started the strategy and at the end of the day there were no trades. I checked the same day in "backtest" function and there were some trades.
Can anyone tell me why the strategy only work in "backtest" and not in live-trading?!
(By the way I use a demo account on NT.)
Comment
-
Hello,
This could happen for a lot of reasons.
- Backtesting is different from forward testing. This link explains why:
Therefore your signal to trade may happen in backtesting but not in your forward testing.
- Test the forward testing with SampleMACrossOver to see if any strategies will work.
- If neither of these helped please debug you system. This link may help:
If you need help, post some code and ask us questions and we can assist you.DenNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by lightsun47, Today, 03:51 PM
|
0 responses
4 views
0 likes
|
Last Post
by lightsun47
Today, 03:51 PM
|
||
Started by 00nevest, Today, 02:27 PM
|
1 response
8 views
0 likes
|
Last Post
by 00nevest
Today, 03:48 PM
|
||
Started by futtrader, 04-21-2024, 01:50 AM
|
4 responses
44 views
0 likes
|
Last Post
by futtrader
Today, 03:01 PM
|
||
Can someone turn this thinkscript into a ninjascript. 5PM CST OHL and Previous Day
by Option Whisperer
Started by Option Whisperer, Today, 09:55 AM
|
1 response
13 views
0 likes
|
Last Post
by bltdavid
Today, 02:44 PM
|
||
Started by port119, Today, 02:43 PM
|
0 responses
9 views
0 likes
|
Last Post
by port119
Today, 02:43 PM
|
Comment