JohnScher

Short on rising markets - 4H OnlyShort-Strategy on Dax

Category: Strategies By: JohnScher Created: May 14, 2018, 6:49 AM
May 14, 2018, 6:49 AM
Strategies
9 Comments
Short on rising markets - 4H OnlyShort-Strategy on Dax

Hello.

For this little OnlyShort-Strategy here in the Dax, we use the power of candles in the form of the Repulse indicator and provide the strategy with two three small filters.

Protected by the repulse stop and in percent, profits are generated when prices fall, while in the rising market with this OnlyShort-Strategy there are no significant losses.

We start the positions at 09.00 / 13.00 / if necessary 17.00 o’clock in timeframe 4H and in the time zone utc+2 (“Berlin-Time”). The position is closed for a peaceful sleep at 21.00 o´clock.

That’s all.
Until then
JohnScher

// OnlyShort-Strategy on Dax
// Dax 1 Euro Mini
// TimeFrame 4H
// Hauptcode : 4H Short with Repulse-Stop flatafter 210000
// created by JohnScher


 
defparam flatafter = 210000
defparam cumulateorders = false


Once positionsize = 1


c1 = Exponentialaverage [1] (close) < Exponentialaverage [2] (close)
c2 = cci[21] (close) >-95
c3 = TR (close) >24

//repulse-indicator from prt as a code
q = 3
a = 100 * (3*close - 2*low - open) / close
b = 100 * (open + 2*high - 3*close) / close
c4 = Exponentialaverage[q](a) - Exponentialaverage[q](b)



// define starttime
TradingDayShort =  Opendayofweek = 1 or Opendayofweek = 2 or Opendayofweek = 3 or Opendayofweek = 4 or Opendayofweek = 5
TradingTimeShort =  time = 090000 or time = 130000 //or time = 170000


r = 0.1 // variable as a digit, could be a indicator too, not tested

//maincode
IF  TradingDayShort and TradingTimeShort Then
 If c1 and c2 and c3 Then
  If c4 <r Then
   sellshort positionsize CONTRACTS AT MARKET
  Endif
 Endif
ENDIF


IF c4 > r  then
 Exitshort at market
ENDIF

set stop %loss 1
set target %profit 2

// not tested
// on other major indizes
// with Saisonalpatternmultipler from Pathfinder-Systems
// with some Re-invest-Stategies


// until then
// JohnScher

Download
Filename: Short-on-rising-markets-DAX-4H.itf
Downloads: 340
Download
Filename: Screenshot_4-1.png
Downloads: 76
Download
Filename: Screenshot_3-1.png
Downloads: 183
JohnScher
JohnScher Veteran
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

Petersson Kristian
8 years ago
#

Hi when I do back test I get 0 results, what do I do wrong? Trade Well Chris

JohnScher
8 years ago
#

Don't know what you're doing wrong. Import ITF and observe time zone settings. This should work. If you have further problems, please describe them in more detail, if necessary add screenshots

FRANCESCO9465
8 years ago
#

Goodmorning John my compliments for your code,is there any way to convert this system in a "Long on declining market"?

JohnScher
8 years ago
#

Yes i did before, see library/strategys/repulse and dpo https://www.prorealcode.com/prorealtime-trading-strategies/repulse-dpo-4hours-dax-strategy/

JanWd
8 years ago
#

Good evening John, Thanks for your new strategy ! Is Exponentialaverage [1] (close) not exactly the same as just Close ? (just for my understanding, maybe you have used it for optimising this line earlier on?)

JohnScher
8 years ago
#

I think it is, but my programming skills are very limited, so I worked with the 2 EMA´s

JohnScher
8 years ago
#

Not every day 1 trade, but it works every day

Geronima Ortiz
8 years ago
#

this trading system, works every day?

Geronima Ortiz
8 years ago
#

thank you

ProRealCode ProRealCode
Loading...