TS SUPPORT
home contacts site map search
MultiCharts MCFX Other Products & Services Support Company

You are here:  Home > Support > Knowledgebase

Knowledgebase


Search in     for   
     
TRIX System S&C [Strategies]

Article/Author: "Playing TRIX: The Triple Exponential Smoothing Oscillator", Joe Luisi, S&C Magazine, Traders Tips, 06/1997

Download: TRIX S&C Str.ela

File Includes:
Signal - TRIX System S&C
Function - newTRIX

Category: Strategy > TRIX System S&C

Inputs:
Price
TrixLen
TSLen
ZeroCrss
AvgCrss

Description:

Signal TRIX System S&C ELA Code:

INPUTS: PRICE(CLOSE), TRIXLEN(3), TSLEN(8), ZEROCRSS("Y"), AVGCRSS("Y");

VARS: TRXVAL(0), AVGTRX(0), ZERO(0);

TRXVAL = NEWTRIX(PRICE, TRIXLEN);
AVGTRX = LINEARREGVALUE(TRXVAL, TSLEN, 0);

IF UPPERSTR(ZEROCRSS) = "Y" THEN BEGIN
IF TRXVAL CROSSES ABOVE ZERO THEN
BUY ("B_ZCRSS") THIS BAR ON CLOSE;
IF TRXVAL CROSSES BELOW ZERO THEN
SELL ("S_ZCRSS") THIS BAR ON CLOSE;
END;

IF UPPERSTR(AVGCRSS) = "Y" THEN BEGIN
IF TRXVAL CROSSES ABOVE AVGTRX THEN
BUY ("B_AVGCRSS") THIS BAR ON CLOSE;
IF TRXVAL CROSSES BELOW AVGTRX THEN
SELL ("S_AVGCRSSS") THIS BAR ON CLOSE;
END;

Support Menu

Contact Customer Support


Discussion Forum


Online Tutorials


Downloads & Check Version


Knowledgebase

Toll Free

Latest Events

June 29
We are starting beta-testing of MultiCharts 6.0 Beta 4.

September 10
We are glad to announce the release of MultiCharts 5.5!

September 10
Users of MultiCharts's can now subscribe to Barchart's real-time data feeds from $49/m.

February 10
MultiCharts received GOLD in Trade2Win's 2008 Members' Choice Awards.

Devember 8
Free MCFX PRO is now also available with Forex.com




© 1999-2010 TS Support, LLC. All rights reserved.