El code for an upwards trending moving average?

Questions about MultiCharts and user contributed studies.
eberle lutz
Posts: 33
Joined: 29 Oct 2007

El code for an upwards trending moving average?

Postby eberle lutz » 03 Oct 2018

I would like to express in a condition that the 200 day moving average has to trend up for at least 1 month:

condition7 = summation[20](ma200>ma200[1])=20;


------ Compiled with error(s): ------
Invalid number of parameters. 2 parameter(s) expected
line 28, column 13

Your help is much aprreciated :) What is wrong respectively what has to be changed?

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

Re: El code for an upwards trending moving average?

Postby TJ » 03 Oct 2018

See post #1 & post #2
viewtopic.php?t=11713



also see example in post #5


Return to “MultiCharts”