The tester automatically downloads the history of required symbols from the trading platform (not from the trade server!) during the first call of the symbol data. The chart above shows Google (GOOG) with CCI(20). Horizontal lines at ±200 were added using the advanced indicators options. You can open and close trades in your MT4 account from OANDA desktop and mobile trading platforms. First, stocks must be above their 200-day moving average to be in an overall uptrend. Only functions OnInit(), OnTester() and OnDeinit() are called.