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?
El code for an upwards trending moving average?
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times