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, the strategy adds the corresponding exit orders.
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.
Backtesting is the evaluation of a particular trading strategy using historical data. Results presented are hypothetical, and there is no guarantee that the same strategy implemented today would produce similar results.
Technical analysis is not recommended as a sole means of investment research.
For educational purposes only. Not a recommendation of a specific security or investment strategy.