Moving Average Crossover, (Part II)
In "Moving Average Crossovers (Part II)" in this issue, Dimitris Tsokakis further develops his cross-anticipation ideas and looks at the trading opportunities that arise as a result of decreasing the lag of the moving average (MA) crossover.
The Function Builder in Tradecision enables you to recreate tomorrow's close (TC) custom function:
function (Price:numeric,K:numeric, P:numeric):Numeric;
return (P*(K-1)*SMA(Price,K-1)-K*(P-1)*SMA (Price,P-1))/(K-P);
To predict the SMA crosses with stochastics, you need to create a new custom study by using the Study Builder. The following is the code for the study:
var
Stoch:= FastD(3);
Tc1:= TomorrowsClose(Stoch,20,30);
end_var
return CrossAbove(Stoch,Tc1)
OR CrossBelow(Stoch,Tc1);
|
Download to import into Tradecision. 
How to use this indicator in Tradecision:
- Click Download.
- Save this indicator in a safe location on your hard drive.
- Open Tradecision and in the Tools menu click Indicator Builder.
- In the Indicator Builder dialog, click Import, locate the saved file and then click OK.
The indicator will be added to the Custom Indicators list.
|