I am trying to learn how to set exits in end of day trading systems as a beginner.
For e.g. in the SimpleMACrossover example
1. Can you share some code to set an ATR stop?
2. If wish to sell half of my position after reaching 10% profitTarget
3. Can you explain the CalculationMode.Ticks parameter for setting the StopLoss and SetProfitTarget functions? Whats the difference from Mode-Percent and Price.
4. Will Setting StopLoss and ProfitTarget, I also wish to sell if the MA system reverses i.e. generates a short (For previous long) etc.
Comment