NexusFi: Find Your Edge


Home Menu

 





Tradestation to Ninja 8


Discussion in Traders Hideout

Updated
    1. trending_up 1,863 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 1 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 
Tradeher's Avatar
 Tradeher 
BayShore, New York USA
 
Experience: Advanced
Platform: NinjaTrader
Trading: ES Emini
Posts: 4 since May 2017
Thanks Given: 2
Thanks Received: 2

Looking for Ninja 8 programmer to convert from Tradestation to Ninja 8.
I have one indicator i need converted right away

Trend Correlation

Inputs:
Length(20);
Vars:
Sx(0),
Sy(0),
Sxx(0),
Sxy(0),
Syy(0),
count(0),
X(0),
Y(0),
Corr(0);
Sx = 0;
Sy = 0;
Sxx = 0;
Sxy = 0;
Syy = 0;
For count = 0 to Length - 1 Begin
X = Close[count];
Y = -count;
Sx = Sx + X;
Sy = Sy + Y;
Sxx = Sxx + X*X;
Sxy = Sxy + X*Y;
Syy = Syy + Y*Y;
End;
If (Length*Sxx - Sx*Sx > 0) and (Length*Syy - Sy*Sy > 0) Then Corr = (Length*Sxy
- Sx*Sy) / SquareRoot((Length*Sxx - Sx*Sx)*(Length*Syy - Sy*Sy));
Plot1(Corr);
Plot2(0);


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Thursday May 28: GDP + Core PCE + Jobless Claims All at …
Traders Hideout
June 15 Peace Odds Surge From 3.6% to 12.25% After Trump …
Prediction Markets & Event Contracts
Saylors 41-Month HODL Breaks: Strategy Sells 32 BTC as $ …
Prediction Markets & Event Contracts
Irans Dual Probability: Guns Quiet at 99.95% While Forma …
Prediction Markets & Event Contracts
Iran Airspace Collapses 18 Points to 15.5% While Hormuz …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
1 thanks
  #2 (permalink)
 
bobwest's Avatar
 bobwest 
Western Florida
Site Moderator
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES, YM
Frequency: Several times daily
Duration: Minutes
Posts: 8,175 since Jan 2013
Thanks Given: 58,013
Thanks Received: 26,424


Tradeher View Post
Looking for Ninja 8 programmer to convert from Tradestation to Ninja 8.
I have one indicator i need converted right away

One thing you might try is making a post in the free NInjaTrader indicator thread, here:



To help make it clear to any prospective programmer, I suggest that you include a clear description, in ordinary English, of what the indicator does, and a screenshot showing it in action. It is harder than most non-programmers know for a programmer to understand what a user wants just from reading the code, especially if it's in an unfamiliar language. With a description and an image, it is much easier to get the idea of what the code you have posted actually does. Most of the time, it is possible to make the translation once you get the hang of what it is supposed to do.

Good luck, whether with an outside programmer or with someone in the indicator thread.

Bob.


When one door closes, another opens.
-- Cervantes, Don Quixote
Reply With Quote
Thanked by:




Last Updated on September 8, 2020


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts