//-------------------------------------------------------------------------
// STORM ... ShorT On Rising Markets
// 4H Short Repulse Timebased
//-------------------------------------------------------------------------
//-------------------------------------------------------------------------
// Dax 1 Euro Mini
// TimeFrame 4H, utc+2 "Berlin Time"
// Haupttode: 4H Short with Repulse-Stop Timebased
// created by JohnScher
defparam flatafter = 210000
defparam cumulateorders = false
Once position = 0.1
r = 0.1
c1 = cci [21] (close) >-95
c2 = TR (close) >24
c3 = repulse [3] (close) <r
t1 = dayofweek = 1 and time = 130000
t2 = dayofweek = 1 and time = 170000
t3 = dayofweek = 2 and time = 090000
t4 = dayofweek = 2 and time = 130000
t5 = dayofweek = 3 and time = 130000
t6 = dayofweek = 4 and time = 090000
t7 = dayofweek = 4 and time = 130000
t8 = dayofweek = 5 and time = 090000
TradingTimeShort = t1 or t2 or t3 or t4 or t5 or t6 or t7 or t8
If TradingTimeShort Then
IF c1 and c2 and c3 Then
IF ExponentialAverage [1] (close) < ExponentialAverage [4] (close) THEN
sellshort position CONTRACTS AT MARKET
Endif
Endif
Endif
If repulse [3] (close) >r then
Exitshort at market
Endif
// not tested:
// -on other major indizes
// -with saisonalpatternmultipler from Pathfinder-Systems
// -with some Re-invest-Stategies
// greets JohnScher