Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Hello everyone, i need a little help with the following problem.I really want to make my NInjatrader7 Parabolic Sar Indicator, to look exactly like Interactive Brokers Psar Indicator. I don't have any ideea how to code,or make a custom psar indicator, or what i really need to do because i have no experience in programming at all.
But i have here the Interactive Brokers Sar Settings :
And Ninja Trader Sar settings or script :
Now , i have literally no ideea how to configure a new sar, but what i do know is i need somehow someway to configure that IB settings in Ninjascript.
I;m sorry if i don't put the question very clearly.
If someone in here know how to fix this it will be very very much appreciated
I also think that it need just to be taken the code from existing ninjascript psar indicator and just fixed it. I don't think it needs to be a complete rewrite.
PS: i can't post the links in here, if someone interested in helping me out , i will figure it out how to send the 2 links.
Can you help answer these questions from other members on NexusFi?
No need to reinvent the wheel. ParabolicSAR is a genuine NT indicator and has exactly the same default settings
of 0.02, 0.2, 0.02 as TWS. So no need for changes there. Changing of colors etc. is via the Indicators Menu like
with any other NT Indicator.
If you want to use it for coding, see NinjaTrader Version 7 for the exact syntax.
You can also modify the code to your needs if needed on a copy of that indicator.
No sir you get it wrong... Look carefully how Interactive Brokers sar is made, even though the custom settings are the same 0.2 00.2 bla bla bla, at IB you can see clearly the candle going through the DOTS OF THE SAR. which on NT IS impossible. So more clearly, when on 1 min TF, the sar is about to end on IB, when the candle goes to break the sar, the actually Last dot of the sar(sometimes more when is a false break) REMAIN THERE with the candle going through the DOT, it doesn't move down or dissapear, the dot remain there all the time.
This is the IB SAR script (coded in R probably or i dont know )
SARt+1 = SARt+ AF x (EPtradex SARt)
Where:
SARt+1 — next period's SAR
SARt - current SAR
AF - acceleration factor, begins at .02 and increases by .02 to a maximum of 0.20.
You can reset the initial, increments and maximum acceleration factor when you create the study.
EPtrade — the extreme price (HIGH for long positions and LOW for short positions).
SO i need someone who can understand what is there, and convert all of the above settings in NINjascript for SAR.
PS: i don't know how to CODE AT ALL, i don't know this language at all that's why i;m here for searching a programmer, a coder.
Does anyone here use the Parabolic for actual trading?
I have reason to believe that there are at least two bugs in the Ninja implementation of this indicator. I know this because I spent time studying Wilder's definitions and rules, and I have …
@Fat Tails has coded a "strictly Wilder" version of the PSAR.
I actually worked on this problem for a while. To complicate matters, different versions of IB have different PSAR calculations. The newer IB versions are more in-line with the built-in NT version, but an older version is quite different. I had a customer that wanted to auto-trade in NT but using the PSAR in the older IB but I couldn't accurately mimic the old IB version. We even tried to contact developers at IB to get the formula of the older version but the project was eventually scrapped.
I understand, thank you for your response, i actually don't know how the IB verssions psar are, or i don't know which one is better in terms of sar, but this is the formula of their Psar that i want to convert into NT script:
For use in trending markets, parabolic SAR uses a trailing stop and reverse method to help determine good exit and entry points. The Parabolic SAR calculation is:
SARt+1 = SARt+ AF x (EPtradex SARt)
Where:
SARt+1 — next period's SAR
SARt - current SAR
AF - acceleration factor, begins at .02 and increases by .02 to a maximum of 0.20.
You can reset the initial, increments and maximum acceleration factor when you create the study.
EPtrade — the extreme price (HIGH for long positions and LOW for short positions).
Now, this sshould be somehow someway the pointo from a programmer can turn it into a ninjatrader sar as weel, i tried last days to talk with mre ppl, even e-mailing the NT support team but nothing seems to work...