Market Cycle Strategy - H4 & Daily

Category: Strategies By: ThibauldR_Weekenday Created: January 23, 2025, 2:40 PM
January 23, 2025, 2:40 PM
Strategies
1 Comment

// MARKET CYCLES Swing - Thibauld Robin
// ---------------------------------

// MARKET CYCLE DETECTION
Cycle1 = STOCHASTIC[13,8](CLOSE)
Cycle2 = STOCHASTIC[21,13](CLOSE)
Cycle3 = STOCHASTIC[34,21](CLOSE)

// CYCLE ALIGNMENT
CycleAlign = Cycle1 > Cycle2 AND Cycle2 > Cycle3
CycleStrength = (Cycle1 - Cycle3) / Cycle3 * 100

// CYCLE MOMENTUM
CycleMom1 = Cycle1 - Cycle1[1]
CycleMom2 = Cycle2 - Cycle2[1]
CycleMom3 = Cycle3 - Cycle3[1]

// VOLUME
VolCycle = VOLUME / AVERAGE[21](VOLUME)
VolStrength = VolCycle * (CycleMom1 > 0)

// ENTRY
C1 = CycleAlign                          // Cycles
C2 = CycleStrength > 10                  // Force
C3 = CycleMom1 > 0 AND CycleMom2 > 0     // Momentum
C4 = VolStrength > 1.2                   // Volume

ONCE Pos = 0
ONCE EntryPrice = 0

IF C1 AND C2 AND (C3 OR C4) AND Pos = 0 THEN
BUY lotsize  CONTRACTS AT MARKET
//SET STOP %LOSS 1 - Can be used as protection - Otherwise smart exits after cycle ends
Pos = 1
EntryPrice = CLOSE
ENDIF

IF NOT C1 OR CycleMom1 < 0 AND Pos = 1 THEN
SELL AT MARKET
Pos = 0
ENDIF

Download
Filename: Market-Cycle-Strategy-H4-Daily.itf
Downloads: 127
ThibauldR_Weekenday New
This author is like an anonymous function, present but not directly identifiable. More details on this code architect as soon as they exit 'incognito' mode.
Author’s Profile

Comments

Logo Logo
Loading...