Custom Moving Average Indicator

Questions about MultiCharts and user contributed studies.
kinkeadfx
Posts: 52
Joined: 22 Nov 2010
Has thanked: 5 times
Been thanked: 1 time

Custom Moving Average Indicator

Postby kinkeadfx » 31 Oct 2014

I have downloaded custom moving average indicators from other websites and would like to know how to use the already included moving average crossover signals to work with them for an automated trading system or would i need to custom code the signal to that indicator?

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Custom Moving Average Indicator

Postby TJ » 31 Oct 2014

I have downloaded custom moving average indicators from other websites and would like to know how to use the already included moving average crossover signals to work with them for an automated trading system or would i need to custom code the signal to that indicator?
1. simply load the included signal into your PLE...
2. save the signal under a new name so that you don't mess up the original,
3. substitute the "Average" name in the code with whatever name used by your custom moving average,

eg. replace the line

Code: Select all

MA = AverageFC( price, Length );
with

Code: Select all

MA = MurphyMath( price, Length );
and viola, you have your new custom signal.


Return to “MultiCharts”