I have never tried C#, but have other programming experience. I can follow patterns and figure out most of things from sample code. So could you please direct me to a code example or documentation that can be used to write the following primitive strategy:
"All signals are calculated on daily close. Buy on the next day open Stock_A when Stock_B is more than Value_N. When Stock_B gets less or equal than Value_N, close the position. Repeat."
Thanks in advance!