![]() |
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 |
|
Junior Member
Join Date: Mar 2009
Posts: 17
Thanks: 0
Thanked 0 times in 0 posts
|
Hello...
I am trying to write a strategy using the PSAR indicator. Previously, I had this strategy on my TD Ameritrade Strategy Desk. I noticed a difference between the functionality of the PSAR on both platforms. On TD Ameritrade, once the bar penetrates the dot, it pushes it until the previous PSAR dot and once it passes the previous dot, it changes direction. However, in NinjaTrader chart, when I use the PSAR with the same parameters, once the bar reaches the dot, it pushes it further, then it starts flipping back & forth between the two directions or the bar keeps pushing the dot further passes the previous bar's dot and leaves it there. Another words, it does not function correctly....Am I missing something...I hope I was clear in explaining. Appreciate a response... |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
keepdchange,
Please try with CalculateOnBarClose = true. The implementation we use is the generally accepted one outlined here: http://www.fmlabs.com/reference/default.htm?url=SAR.htm Please also ensure you are on at least NT6.5.1000.8.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
keepdchange,
Please try this version of ParabolicSAR and see if it addresses your issues. Let me know if you run into any additional issues. Thank you. Edit: A more up-to-date version has been uploaded. Please redownload.
Josh
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Parabolic SAR indicator is not correct | calin | Charting | 9 | 12-19-2008 06:26 AM |
| Modify Parabolic SAR Colors | arb56 | Indicator Development | 1 | 10-17-2008 03:40 PM |
| parabolic sar stop | TomTheTrader | Automated Trading | 10 | 08-15-2008 01:42 PM |
| Parabolic SAR sync | latkinso | Charting | 1 | 07-08-2008 04:29 PM |
| Parabolic SAR indicator (Download) Version 5 Only | NinjaTrader_Ray | Indicator Development | 4 | 08-04-2006 11:36 AM |