Shared conversation on NexusTrade
SPY Trading Strategy Using Rate of Change
A user-defined trading strategy for SPY based on the Rate of Change of high and low prices, with a focus on higher highs and lower lows over a 2-day period.
Aurora: Hello. Would you like to use GPT Stock Reports to find the best Electric Vehicles stocks?
User: Let's create a higher high, lower low strategy
Aurora: Okay, so you want to create a strategy that buys when the price makes a higher high and sells when the price makes a lower low. To do this, we'll need to define what constitutes a "higher high" and a "lower low". Do you have any specific indicators in mind? For example, would you like to use: * **Moving Averages:** We could look for a higher high above a certain moving average and a lower low below that same moving average. * **Relative Strength Index (RSI):** We could use RSI to identify overbought and oversold conditions, which might indicate higher highs and lower lows. * **Bollinger Bands:** We could look for a higher high above the upper Bollinger Band and a lower low below the lower Bollinger Band. Let me know what you think!
User: Look at the rate of change of SPY's high price and the rate of change of SPY's low price
Aurora: Okay, so we'll use the Rate of Change (ROC) of SPY's high price and the Rate of Change of SPY's low price to identify higher highs and lower lows. To make this strategy more specific, we need to decide on a few things: 1. **Time Period for ROC:** How many days do we want to look back for the ROC calculation? A shorter period (like 5 days) will be more sensitive to short-term price fluctuations, while a longer period (like 20 days) will be more focused on longer-term trends. 2. **Threshold for Higher Highs and Lower Lows:** What percentage change in the ROC do we want to use as a trigger for buying or selling? For example, we could buy when the ROC of the high price is above a certain positive percentage and sell when the ROC of the low price is below a certain negative percentage. 3. **Amount to Trade:** How much of your portfolio or buying power do you want to allocate to this strategy? Once we have these details, I can generate the JSON for your strategy. Let me know your thoughts!
User: Time period: 2 days. Threshold: You decide and we'll iterate on it. I want to buy 50% of my buying power and sell 50% of my positions
Aurora: Okay, so we'll use a 2-day time period for the ROC calculation. For the threshold, let's start with a 1% change in the ROC for both higher highs and lower lows. This means we'll buy when the 2-day ROC of the high price is greater than 1% and sell when the 2-day ROC of the low price is less than -1%. Here's the strategy in JSON format: This strategy will buy 50% of your buying power in SPY when the 2-day ROC of the high price is greater than 1% and sell 50% of your current SPY positions when the 2-day ROC of the low price is less than -1%. Let's test this strategy out. Do you want to adjust the threshold (1%) or the time period (2 days)? Or are you happy with this strategy as is?