in script everything works fine in bollinger band strategy but when ever close position occurs due to opposite signal the next long or short entered but at the same price stoploss also occurring but if the close position is not there then everything is working exactly ... couldn't find what the error is..
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
doubt in the programm running
Collapse
X
-
doubt in the programm running
hi
in script everything works fine in bollinger band strategy but when ever close position occurs due to opposite signal the next long or short entered but at the same price stoploss also occurring but if the close position is not there then everything is working exactly ... couldn't find what the error is..Tags: None
-
Deall, would you mind posting a screenshot here showing the issue at play? That would make hopefully easier to understand. Generally I would suggest adding TraceOrders into the script to make available finer debug details in your output window about the order sequences seen.
BertrandNinjaTrader Customer Service
-
Deall, thanks - what kind of stop are setting here? Price, tick or currency based? Do you reset it when flat like shown here - http://www.ninjatrader.com/support/f...ead.php?t=3222BertrandNinjaTrader Customer Service
Comment
-
Originally posted by DealI View Posti didnt reset the stoploss how to to any syntax available for that i downloaded that zip file in ur reply linkBertrandNinjaTrader Customer Service
Comment
-
hi i checked almost ur sample coding in this < http://www.ninjatrader.com/support/f...ead.php?t=3222 > and my coding are same but u used RSI(14, 3)[0] this Relative Strength Index (RSI)
only missing in my script is this function reset the stoploss
Comment
-
It would not be needed for the reset of the stop loss - this is just the entry used in the sample. Would you mind contacting us via Help >> Mail to Support and attach a copy of your script so we could give it a run here? Please also include which market / timeframe you used. Thanks.BertrandNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Brevo, Today, 01:45 AM
|
0 responses
3 views
0 likes
|
Last Post
by Brevo
Today, 01:45 AM
|
||
Started by aussugardefender, Today, 01:07 AM
|
0 responses
3 views
0 likes
|
Last Post Today, 01:07 AM | ||
Started by pvincent, 06-23-2022, 12:53 PM
|
14 responses
239 views
0 likes
|
Last Post
by Nyman
Today, 12:47 AM
|
||
Started by TraderG23, 12-08-2023, 07:56 AM
|
9 responses
384 views
1 like
|
Last Post
by Gavini
Today, 12:29 AM
|
||
Started by oviejo, Today, 12:28 AM
|
0 responses
6 views
0 likes
|
Last Post
by oviejo
Today, 12:28 AM
|
Comment