I have created a OpeningRangeBreakout strategy which I want it to run once per day per instrument and then shutdown the strategy for that instrument ?
I have 2 questions :
Q1) If I need to run this strategy on 5 instrument I have to open chart for all the 5 instrument and attach strategy on each chart Is there a way to provide list of instrument to strategy ?
How can I check whether the trade for instrument is done if yes then don't initiate new trade
on it.
Q2)I tried to count trades using Performance.RealtimeTrades.Count it's coming greater than 1 as my chart have trades for last few days also and it's counting them as well when I attach my strategy to chart.
Is there anyway to find out how many trades done today ?
Comment