Sample Trend cBot Help
Sample Trend cBot Help
06 Jul 2014, 09:01
I'm new to all of this coding cAlgo Algorithms. I'm try to experiment the Sample trend cBot with a couple of modifications into it. Which they are TP, ITS and SL values. The parameters are set as follow: TP = 70, ITS = 15, SL = 30. Everything seems fine, however, every time I run backtesting the profit and stop loss values are all over the place. Can someone help to figure this out. Also, I like to know how to code exactly when to trigger the trade when there is a crossover and on the reverse side how to stop the trade when crosses the opposite direction. Say for example, when MA 4 crosses above MA 21 buy and when MA 21 crosses below 4 stop. Any help please.