Hello,
I am currently learning quantstrat, and I am having difficulty with understanding the example in the demo folder called "macd.R".
In this example, alternative risk stops are commented out (rows 98 to 102).  When I uncomment one or both rules, and run the strategy, it doesn't look like any stoplimit orders or trailing orders are generated.  These risk stop rules don't appear to be working.  
Is this example still valid with the current code for quantstrat?
If it is working, any ideas on what I can do to quickly debug why the risk stop orders don't get generated?
Many thanks for any feedback.... 		 	   		  
	[[alternative HTML version deleted]]

