Hello! I'm new to this community and Python in general. I'm wondering if any one can help with with figuring out the timing of buys and sells within a code.
Essentially, I'm looking to buy crossovers intraday. As an example, I would like to buy a stock whenever its RSI crosses above 70 and sell when it crosses under 30. I understand how to program the crosses, but have hit a wall with programming the algorithm to buy and sell for every cross everyday on the minutes-basis, instead of only working on the first cross of the day.
Can anyone help with this?