NexusFi: Find Your Edge


Home Menu

 





Code a T3 indicator for TradeStation


Discussion in EasyLanguage Programming

Updated
    1. trending_up 8,897 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 5 posts
    2. attach_file 1 attachments




 
Search this Thread
  #1 (permalink)
 daveste99 
Bellevue
 
Experience: Intermediate
Platform: Tradestation
Trading: YM
Posts: 18 since Jul 2010
Thanks Given: 0
Thanks Received: 2

Hi all,

I want to use a T3 indicator in Tradestation to compare it to the similar T3 in Ninja 7. I found code to build the T3 in Tradestation and it is in 2 parts, the function and the indicator.

I have no programming skills in Easy Language and am asking for some help in building this indicator. I know it can't be that hard and I have tried a few times to build it but I do not get very far.

Is there someone here that would be willing to help be out to get this going ?

Thanks
Dave S.


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Topstep Acquires The Futures Desk -- Prop Firm Consolida …
Funded Trading Evaluation Firms
Memorandum Watch: How the 60-Day MOU Framework Makes May …
Prediction Markets & Event Contracts
Thursday May 28: GDP + Core PCE + Jobless Claims All at …
Traders Hideout
Iran Update May 8: Still Reviewing MOU, Demands Reparati …
Traders Hideout
Netherlands & Germany Surge as World Cup Field Narro …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
196 thanks
Sober Journey With S&P
27 thanks
30 Sessions
20 thanks
Volume Indicators
8 thanks
BERN ALGOS algo trading journal
8 thanks
  #3 (permalink)
 ValLiant 
redding, CA
 
Experience: None
Platform: ninja/timingsolutions(Wave59 jurys out)
Broker: iB
Trading: CL/GC/NQ
Posts: 74 since May 2010
Thanks Given: 80
Thanks Received: 28


post the code in its original form and separate and can give it a gander


Reply With Quote
  #4 (permalink)
 daveste99 
Bellevue
 
Experience: Intermediate
Platform: Tradestation
Trading: YM
Posts: 18 since Jul 2010
Thanks Given: 0
Thanks Received: 2

Thank you for taking a look at this. Here are the 2 parts of code.

This is part 1, the function code:

Type: Function, Name: GD Inputs:
Price(Numeric),
Period(Numeric),
vFactor(Numeric);
Vars:
X1(0),
X2(0),
Dema1(0);
X1= XAverage(Price, Period) * (1 + vFactor);
X2= XAverage(XAverage(Price, Period), Period) * vFactor;
GD = X1 - X2;


This is part 2, the indicator code:


Type: Indicator, Name: T3
Inputs:
Price(Close),
Period(6),
vFactor(.7);
Vars:
T3(0);
T3 = GD (GD ( GD(Price, Period, vFactor), Period, vFactor), Period, vFactor);
Plot1(T3, "T3");
IF Close Crosses Above Plot1 OR Close Crosses Below Plot1 Then
Alert = True;


Started this thread Reply With Quote
  #5 (permalink)
 ValLiant 
redding, CA
 
Experience: None
Platform: ninja/timingsolutions(Wave59 jurys out)
Broker: iB
Trading: CL/GC/NQ
Posts: 74 since May 2010
Thanks Given: 80
Thanks Received: 28

ok this should work fine i am using the latest Tradestation 8.8 with all the updates so make sure your at least there as that is what i exported it in ... i named it V-T3 as thats the appendage i use when using code from the net --- but you can change the name to whatever suits your fancy...


Attached Files
Elite Membership required to download: V-T3.ELD
Reply With Quote
Thanked by:
  #6 (permalink)
 daveste99 
Bellevue
 
Experience: Intermediate
Platform: Tradestation
Trading: YM
Posts: 18 since Jul 2010
Thanks Given: 0
Thanks Received: 2

ValLiant -

Thank you so much for doing this, I really appreciate it!!

I have installed the indicator and will be testing it against the same one in Ninja to ascertain if they are tracking the same way.

Thanks again!

Dave S.


Started this thread Reply With Quote




Last Updated on September 14, 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