this is my first post in here. I have few questions.
1. I need the strategy to run on a 5 minute candles with 10EMA. Where can I mention the TF in the script. It is running on 1min TF.
I have added this line Add(PeriodType.Minute, 5); inside the initialize. It seems to be not working. Is there any other location, where I need to specify the TF?
2. Does the Now function needs any conversion? I have used the below code to exit the position at 3.15IST, but it did not exit.
TimeSpan Exittime=new TimeSpan(15,15,00);
(Position.MarketPosition == MarketPosition.Long && (now > Exittime))
3. How can I capture the entry price for my order and set a target of 0.05% on the entry price.
Thanks,
Vamsi.
Comment