NexusFi: Find Your Edge


Home Menu

 





Indi from Tradestation to Ninja 7..


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one edi025 with 2 posts (0 thanks)
    2. looks_two vegasfoster with 1 posts (0 thanks)
    3. looks_3 Big Mike with 1 posts (1 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 5,718 views
    2. thumb_up 1 thanks given
    3. group 1 followers
    1. forum 5 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 edi025 
stuttgart
 
Experience: Advanced
Platform: NinjaTrader, TradeStation
Posts: 20 since Nov 2009
Thanks Given: 30
Thanks Received: 23

Hi

who can program for me these indicators of trade station in Ninja Trader? I would be very grateful. Thanks.
Her is the Indi from Tradestation:


inputs:
tickThreshold(20),
normalColor(yellow),
thresholdColor(red),
horizOffset(0);

variables:
setPosition( 0 ),
tickReg( 0 ),
txtStr( "" ),
txtID( -1 ),
horizontalLocation(-2),
txtPos( 0 );

if BarType = 0 then begin
setPosition = Close;
if BarNumber = 1 then begin
txtID = text_new(date,time,close,"Start");
if horizontalLocation = 0 then text_SetStyle(txtID,1,2)
else text_SetStyle(txtID,1,2);
text_SetColor(txtID,normalColor);
end;
if time <> time[1] or tickReg <= 0 then begin
tickReg = BarInterval;
if horizontalLocation <= 0 then begin
text_SetStyle(txtID,0,1);
Text_SetLocation( TxtID,Date,Calctime( Time, -horizontalLocation),setPosition ) ;
end
else begin
text_SetStyle(txtID,1,2);
txtPos = setPosition;
text_SetLocation(txtID,date[horizontalLocation],time[horizontalLocation],setPosition);
end;
end;
tickReg = tickReg - ticks;
TxtStr = "< "+NumToStr(tickReg,0);
if tickReg >= 10 then begin
horizontalLocation = -3-horizOffset;
end;
if tickReg >= 100 then begin
horizontalLocation = -4-horizOffset;
end;

text_SetString(txtID,TxtStr);
if horizontalLocation <= 0 then begin
if close < open then begin
text_SetStyle(txtID,1,2);
Text_SetLocation( TxtID,Date,Calctime( Time, -horizontalLocation),setPosition);
end
else begin
text_SetStyle(txtID,1,2);
Text_SetLocation( TxtID,Date,Calctime( Time, -horizontalLocation),setPosition);
end;
end;
if tickReg > tickThreshold then text_SetColor(txtID,normalColor)
else text_SetColor(txtID,thresholdColor);
end;

Thanks.


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
CME Group Fee Schedule Changes Hit All Four Exchanges -- …
Traders Hideout
Prop Firm Tracked Payouts Hit $115M in Q1 but Growth Fla …
Funded Trading Evaluation Firms
Double Deadlock: Rubio Calls Hormuz Tolls "Unfeasib …
Traders Hideout
April FOMC Minutes: Most Divided Fed Since 1992 -- Many …
Traders Hideout
Sundays Verdict: Lebanon Locked at 99.85% as Iran June 7 …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #3 (permalink)
 vegasfoster 
las vegas
 
Experience: Intermediate
Platform: Sierra Chart
Broker: Velocity/IB
Trading: 6E
Posts: 1,145 since Feb 2010
Thanks Given: 304
Thanks Received: 845


what's it called and what's it do?


Reply With Quote
  #4 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,557

Hi @edi025.

When posting code, please use the [code]put code here[/code] tags to wrap around it, to make formatting work better.

Also for such a request, you should really include more information on what the indicator does, screen shots, etc if you are wanting to encourage people to help you.

Mike




We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #5 (permalink)
 edi025 
stuttgart
 
Experience: Advanced
Platform: NinjaTrader, TradeStation
Posts: 20 since Nov 2009
Thanks Given: 30
Thanks Received: 23

Hi,
yes I know I have no description, and anything written, sory.
It is a TickCounter Indi. It can be purchased for the Ninja Tick Counter, but it is not the same. I find the version of Tradestation much better. So the tick counter is always right next to the price on when you move the chart. You've got to show what little video I made, you can see better what I mean.

TechSmith | Screencast.com, online video sharing, video
Thanks


Started this thread Reply With Quote
  #6 (permalink)
 
bluemele's Avatar
 bluemele 
Honolulu, Hawaii
 
Experience: Intermediate
Platform: NinjaTrader
Broker: ATC/TT, AMP/Zen-Fire, AMP/CQG
Trading: TF
Posts: 2,543 since Jun 2010
Thanks Given: 3,803
Thanks Received: 2,842


edi025 View Post
Hi,
yes I know I have no description, and anything written, sory.
It is a TickCounter Indi. It can be purchased for the Ninja Tick Counter, but it is not the same. I find the version of Tradestation much better. So the tick counter is always right next to the price on when you move the chart. You've got to show what little video I made, you can see better what I mean.

TechSmith | Screencast.com, online video sharing, video
Thanks

I just use 'TickCounter2' which you can find on here or on the web pretty easily. Just set it to run on the side.

Your screen background looks familiar... hehe...


Visit my NexusFi Trade Journal Reply With Quote




Last Updated on December 11, 2010


© 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