Hi guys,
Basically I am a new trader and would like just some understanding of how some of this works. I originally started in MT5 but found it too hard and moved to cAlgo but limitations of the software meant I didn't enjoy it much. A few questions I have:
1. Can you do partial closing in this on the backtest???? cAlgo didn't support partial closing and it put me off.
2. Can you do indicators of indicators??? This seem straight forward but I'm just making sure.
3. What is tolerance and how does it work???? What is the "m" at the for??? I understand its like slippage but I am just making sure.
4. Is there an optimization feature?
5. Is the following format for an order correct or is it some other way??
if condition than
ORDER
else if reverse condition than
ORDER
end if
thank you for answers and sorry if these are idiotic questions I'm new to this and not much of a coder just looking to backtest a few strategies.
Michael H
// the 'm' at the end here tells the compiler this is a decimal value, not a double value decimal myDecimalValue = 1.23m; double myDoubleValue = 1.23;
4. Optimization is an upcoming feature and is expected to be released following paper/live trading. 5. You can submit orders in any way you choose. It is not uncommon to have completely different entrance and exit criterion. The example you provided is sufficient however. I recommend you take a peak at the MovingAverageCross example in the QC University.Jagtar Sandhu
Jagtar Sandhu
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!