#property strict input ENUM_TIMEFRAMES Timeframe = 60; // Timeframe for calculations input int LookbackPeriod = 240; // Number of bars to look back input double BullishThreshold = 0.4; // Threshold for bullish condition input double BearishThreshold ...