IFT_Stoch

Description

The IFT_Stoch strategy generates signals based upon IFT Stochastic Oscillator values.

Long Entry signal is generated when IFTStoch Oscillator crosses above 30; Short Entry signal is generated when it crosses below 60 while price is lower than its 165 period SMA. When these conditions are met, strategy adds BUY_TO_OPEN and SELL_TO_OPEN orders, respectively.

Long Exit signal is generated when IFTStoch Oscillator crosses below 60; Short Exit signal is generated when it crosses above 30. When these conditions are met, strategy adds BUY_TO_CLOSE and SELL_TO_CLOSE orders, respectively.

 

Input Parameters

Parameter Description
price The price used in calculations.
length The number of bars in the main period in Stochastic calculation.
slowing length The number of bars in the slowing period in Stochastic calculation.
over bought The overbought level
over sold The oversold level

Further Reading

1. "Applying the Put/Call Ratio Indicator" by Sylvain Vervoort. Technical Analysis of Stocks & Commodities, December 2011.