The article could be found here.
The strategy in plain English:
- Enter at the close if the two-day RSI is below 10.
- Exit at the close when the two-day RSI is above 90.
We test this strategy with many different stops:
- Time stop
- Stop loss
- Trailing stop
- Profit target
oddis=Optimize(“Time based exit”,10,1,15,1); //this optimzes the different settings for each stop (see below)
//ApplyStop(stopTypeNBar,stopModeBars,oddis,1) ; //time stop
//ApplyStop(stopTypeLoss,stopModePercent,oddis,1); //stop loss
//ApplyStop(stopTypeTrailing,stopModePercent,oddis,1); //trailing stop
//ApplyStop(stopTypeProfit,stopModePercent,oddis,1); //profit target
Buy= Random()<.1 ;
Disclaimer: We are not financial advisors. Please do your own due diligence and investment research or consult a financial professional. All articles are our opinions – they are not suggestions to buy or sell any securities.