As for the CrossBelow(Close, ATRTrailingStop(ATRTSmulti, ATRTSperiod), 3), you get different backtest results when you type it out redundantly than when you just put the single requirement. Why is that? Thanks
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Multiple Order Exit, ATRTrailingStop
Collapse
X
-
Ok I'll get the print moved and repost. Sorry.
As for the CrossBelow(Close, ATRTrailingStop(ATRTSmulti, ATRTSperiod), 3), you get different backtest results when you type it out redundantly than when you just put the single requirement. Why is that? Thanks
-
Hello TOOLMachine462,
I've made a simple example to demonstrate this behavior with CrossAbove.
The indicator draws a blue dot above the bar when a cross above is detected within 3 bars and draws a green dot below the bar when a cross above is detected within 3 bars or within 2 bars or within 1 bar.
Are finding that there are green dots appearing below the bar without a blue dot appearing above the bar?
Try adding similar code (or use prints) to your script using the indicators of your script to double check that this is the code causing the change in behavior.Attached FilesChelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by johnMoss, 03-04-2024, 01:53 PM
|
2 responses
29 views
0 likes
|
Last Post
by Overnhou
Today, 11:21 AM
|
||
Started by Padan, Today, 02:02 AM
|
5 responses
16 views
0 likes
|
Last Post Today, 11:14 AM | ||
Started by Lele2k24, Yesterday, 11:24 AM
|
8 responses
28 views
0 likes
|
Last Post
by Lele2k24
Today, 11:00 AM
|
||
Started by kramnor2001, Yesterday, 02:30 PM
|
4 responses
24 views
0 likes
|
Last Post
by bltdavid
Today, 10:44 AM
|
||
Started by eduardodipp7, Today, 10:29 AM
|
0 responses
2 views
0 likes
|
Last Post
by eduardodipp7
Today, 10:29 AM
|
Comment