Need help coding a strategy to look for a pullback then buy if it bounces and breaks above previous 10 min high. Example: Price runs higher then pulls back to below the EMA(8 period). If the price closes below the 8 period EMA then buy if it breaks out above the previous run's high within 10 minutes. Tried the below code but I'm having trouble with figuring out the aggregation. def avgby corporatedaytrader142 - Trading Discussion
Hi All, Need help coding a strategy to look for a pullback then buy if it bounces and breaks above previous 10 min high. Example: Price runs higher then pulls back to below the EMA(8 period). If the price closes below the 8 period EMA then buy if it breaks out above the previous run's high within 10 minutes. Tried the below code but I'm having trouble with figuring out the aggregation.by corporatedaytrader142 - Trading Discussion