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

You are here:  Home > Support > Knowledgebase

Knowledgebase


Search in     for   
     
MovAvg Adaptive Fltr [Strategies]

Article/Author: A Guide to Smarter Trading, Perry Kaufman, S&C Magazine, Traders Tips, 03/1998

Download: MAAdaptiveFltr-STR.ela

File Includes:
Signal - MovAvg Adaptive Fltr
Function - AMAF

Category: Strategy > MovAvg Adaptive Fltr

Inputs:
Period
Pcnt

Description:

Signal MovAvg Adaptive Fltr ELA Code:

INPUTS: PERIOD(10), PCNT(.15);

VARS: AMAVAL(0), AMAFVAL(0), AMALS(0), AMAHS(0);

AMAVAL = AMA(PERIOD);
AMAFVAL = AMAF(PERIOD, PCNT);

IF CURRENTBAR = 1 THEN BEGIN
AMALS = AMAVAL;
AMAHS = AMAVAL;
END ELSE BEGIN
IF AMAVAL < AMAVAL[1] THEN
AMALS = AMAVAL;
IF AMAVAL > AMAVAL[1] THEN
AMAHS = AMAVAL;

IF AMAVAL - AMALS CROSSES ABOVE AMAFVAL THEN
BUY THIS BAR ON CLOSE;
IF AMAHS - AMAVAL CROSSES ABOVE AMAFVAL THEN
SELL THIS BAR ON CLOSE;
END;

{COPYRIGHT 1997 TECHNICAL ANALYSIS, INC.}

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.