NexusFi: Find Your Edge


Home Menu

 





True Strength Indicator/Easy Language programming problem


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one eseeker with 7 posts (1 thanks)
    2. looks_two Big Mike with 3 posts (0 thanks)
    3. looks_3 kzaorski with 2 posts (3 thanks)
    4. looks_4 jguellbo with 2 posts (0 thanks)
      Best Posters
    1. looks_one kzaorski with 1.5 thanks per post
    2. looks_two RM99 with 1 thanks per post
    3. looks_3 pbeguin with 1 thanks per post
    4. looks_4 eseeker with 0.1 thanks per post
    1. trending_up 11,108 views
    2. thumb_up 6 thanks given
    3. group 4 followers
    1. forum 18 posts
    2. attach_file 1 attachments




 
Search this Thread

True Strength Indicator/Easy Language programming problem

(login for full post details)
  #1 (permalink)
eseeker
Vero Beach Florida
 
Posts: 8 since Dec 2011
Thanks Given: 1
Thanks Received: 1

I'm new to this blog, but an old time trader who has been inactive for several years. Decided to get back into the fray, and am seeking info on a programming problem in EasyLanguage. The TSITrader.com website has had some good results using the True Strength Indicator. I have been tracking it in FreeStockCharts.com by Worden. Interested in using it to confirm divergence on the emini ES. In importing the formula into Global Futures, Global Zen platform, I'm getting compile errors because the program does not recognize TSI. Global Futures does not support programming problems. If anyone can help me, I will display the formula. Thanks, Dick Frederick

Reply With Quote
The following user says Thank You to eseeker for this post:

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Volume profile TradeStation
EasyLanguage Programming
Trader Dale [email protected] or Scammer Dale
Trading Reviews and Vendors
Request for MACD with option to use different MAs for fa …
NinjaTrader
ISO Equity Curve Indicator
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Tao te Trade: way of the WLD
34 thanks
GFIs1 1 DAX trade per day journal
23 thanks
Supertradersams Thread Journal on NQ/MNQ
23 thanks
Deaddogs Stock Trading
19 thanks
Leaving CFD trading and learning futures
13 thanks

(login for full post details)
  #3 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Posts: 50,233 since Jun 2009
Thanks Given: 33,105
Thanks Received: 101,349


 
Thread Moved


Moved from Index Futures
Moved to EasyLanguage Programming



When creating a new thread, note which subforum you are in. Here is a short list of suggestions:

- Topic: Anything to do with an Elite indicator -> Subforum: The Elite Circle
- Topic: Looking for an existing indicator, or how-to use an indicator -> Subforum: (the platform)
- Topic: Programmer needing help with non-Elite indicator -> Subforum: (the platform) - Programming
- Topic: Want an indicator created/modified -> Reply to "Want indicator created free" in Elite Circle
- Topic: Vendors (trading rooms, commercial indicators) -> Subforum: Vendors/Product Reviews
- Topic: Discussion of Forex or Currency trading -> Subforum: Forex and Currency Trading
- Topic: Journals of your trading -> Subforum: Trading Journals or Elite Trading Journals
- Topic: General trading related discussions -> Subforum: Traders Hideout
- Topic: Discussion of a trading method -> Subforum: Traders Hideout
- Topic: Automated Trading -> Subforum: Elite Automated Trading

Last, any Elite Member may create more or less any of these topics in The Elite Circle at your own discretion (your support is appreciated).

This is just a short general list and doesn't cover everything. If you are unsure where to create your new thread, just create it in Traders Hideout and a moderator will move it if necessary.

-- Big Mike Trading


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

Quick Links: Change your Username or Register as a Vendor


For the best trading education, watch our webinars
Searching for trading reviews? Review this list


Lifetime Elite Membership: Sign-up for only $149 USD
Receive exclusive offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
(login for full post details)
  #4 (permalink)
 
Jura's Avatar
 Jura   is a Vendor
 
Posts: 775 since Apr 2010
Thanks Given: 2,352
Thanks Received: 690


eseeker View Post
I'm new to this blog, but an old time trader who has been inactive for several years. Decided to get back into the fray, and am seeking info on a programming problem in EasyLanguage. The TSITrader.com website has had some good results using the True Strength Indicator. I have been tracking it in FreeStockCharts.com by Worden. Interested in using it to confirm divergence on the emini ES. In importing the formula into Global Futures, Global Zen platform, I'm getting compile errors because the program does not recognize TSI. Global Futures does not support programming problems. If anyone can help me, I will display the formula. Thanks, Dick Frederick

True Strength Indicator?


eseeker View Post
If anyone can help me, I will display the formula.

We can't help you unless we know your problem, and it would be hard to promise solving your problem without knowing what it is.

Reply With Quote
(login for full post details)
  #5 (permalink)
eseeker
Vero Beach Florida
 
Posts: 8 since Dec 2011
Thanks Given: 1
Thanks Received: 1

I copied the following formula into Global Futures Global Zen Platform and was unable to compile it. GF does not support Easy Language programming. Would appreciate any help you can offer.



Here is Blau's True Strength Index. It double smooths momentum and then presents a signal line.

Blau was fascinated by double, triple smoothing changes in momentum and how a system could be built around them.


Basically, if the TSI is above zero and rising (above signal line) then the market is up. If the TSI is above zero but stepping down and below the signal line then you can't tell if the trend has changed or its just a consolation.

Same on the down side. Just reversed.

So in his deal you only trade when the TSI was > 0 and above the signal line or when the TSI < 0 and below the signal line. He says that is the only time when you have a clear sense of what the market is(has) doing(done).

John


First: Create the Function TSI:

code: // Function: TSI [LegacyColorValue = true]; inputs: Price(NumericSeries), Raw(NumericSimple), Smooth(NumericSimple), U(NumericSimple); vars: NetChg(0); NetChg = Price - Price[1]; Value1 = 100 * XAverage(XAverage(XAverage(NetChg,Raw),Smooth),U); Value2 = XAverage(XAverage(XAverage(AbsValue(NetChg),Raw),Smooth),U); if Value2 <> 0 then TSI = Value1 / Value2 else TSI = 0;
Then create the TSI indicator.
code: // Indicator: TSI [LegacyColorValue = true]; [SameTickOpt = True]; inputs: Price(Close), Raw(26), Smoothed(12), Signal(5), OB(20), OS(-20); Plot1(TSI(Price, Raw, Smoothed,1), "TSI"); Plot2(XAverage(Plot1,signal),"XAvg "); Plot3(OB,"Overbought"); Plot4(OS,"Oversold");


PS. The colors are set for grey charts.

The formula posted like this:
1#indicator "True Strength Indes", "Samples", "TSISample"
2
3// Function: TSI
4
5
6inputs:
7 Price(NumericSeries),
8 Raw(NumericSimple),
9 Smooth(NumericSimple),
10 U(NumericSimple);
11
12vars:
13 NetChg(0);
14
15 NetChg = Price - Price[1];
16
17Value1 = 100 * XAverage(XAverage(XAverage(NetChg,Raw),Smooth),U);
18Value2 = XAverage(XAverage(XAverage(AbsValue(NetChg),Raw),Smooth),U);
19
20if Value2 <> 0 then
21 TSI = Value1 / Value2
22else
23 TSI = 0;
24
25
26// Indicator: TSI
27
28
29{[SameTickOpt = True];}
30
31inputs:
32 Price(Close),
33 Raw(26),
34 Smoothed(12),
35 Signal(5),
36 OB(20),
37 OS(-20);
38
39Plot1(TSI(Price, Raw, Smoothed,1), "TSI");
40Plot2(XAverage(Plot1,signal),"XAvg ");
41Plot3(OB,"Overbought");
42Plot4(OS,"Oversold");

Compile Errors were:
21 Unknown symbol: TSI
21 Wrong sybmbol on left side: TSI
23 Unknown symbol: TSI
23 Wrong sybmbol on left side: TSI
32 Variable 'Price" is already defined
33 Variable 'Raw" is already defined
39 Unknown symbol: TSI
22 Cannot compile: True Strength Ind

I'd appreciate any suggestions.
Dick

Reply With Quote
(login for full post details)
  #6 (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: 844


eseeker View Post
GF does not support Easy Language programming.

I'm thinkin most ppl on this site are not familiar with GF, so you may need to provide more info. Is it based on another platform and/or what language does it use?

Reply With Quote
(login for full post details)
  #7 (permalink)
eseeker
Vero Beach Florida
 
Posts: 8 since Dec 2011
Thanks Given: 1
Thanks Received: 1

Global Zen platform found on the Global Futures website, uses OpenECry as a programming language. I was mistaken when I said it was Easy Language.

Reply With Quote
(login for full post details)
  #8 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Posts: 50,233 since Jun 2009
Thanks Given: 33,105
Thanks Received: 101,349


eseeker View Post
Global Zen platform found on the Global Futures website, uses OpenECry as a programming language. I was mistaken when I said it was Easy Language.

OEC uses EasyLanguage.

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


For the best trading education, watch our webinars
Searching for trading reviews? Review this list


Lifetime Elite Membership: Sign-up for only $149 USD
Receive exclusive offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
(login for full post details)
  #9 (permalink)
 kzaorski 
Warsaw, Poland
 
Experience: Beginner
Platform: MultiCharts
Broker: IB, IQFeed
Trading: TF
Posts: 5 since Aug 2011
Thanks Given: 13
Thanks Received: 6

Hmm, I have: ------ Compiled successfully ------

Upsss, this is MultiCharts indicator

Attached Files
Register to download File Type: pla BMT_TSI.pla (4.0 KB, 86 views)
Reply With Quote
The following user says Thank You to kzaorski for this post:
(login for full post details)
  #10 (permalink)
eseeker
Vero Beach Florida
 
Posts: 8 since Dec 2011
Thanks Given: 1
Thanks Received: 1


Thanks for the reply,
But what am I doing wrong, or not doing?

Reply With Quote





Last Updated on August 2, 2012


© 2024 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 - Privacy Policy - Downloads - Top
no new posts