This is a very simple strategy on dax 1hour. Only one EMA-Pair for long and one for short-side.
Is it real? It´s a very good performance. I can´t believe it. It´s my first code.
Please give me your opinions.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
// Festlegen der Code-Parameter DEFPARAM CumulateOrders = False // Kumulieren von Positionen deaktiviert // Verhindert das Trading an bestimmten Wochentagen daysForbiddenEntry = OpenDayOfWeek = 6 OR OpenDayOfWeek = 0 // Bedingungen zum Einstieg in Long-Positionen indicator1 = ExponentialAverage[60](close) indicator2 = ExponentialAverage[200](close) c1 = (indicator1 CROSSES OVER indicator2) IF c1 AND not daysForbiddenEntry THEN BUY 1 CONTRACT AT MARKET ENDIF // Bedingungen zum Ausstieg von Long-Positionen indicator3 = ExponentialAverage[60](close) indicator4 = ExponentialAverage[200](close) c2 = (indicator3 CROSSES UNDER indicator4) IF c2 THEN SELL AT MARKET ENDIF // Bedingungen zum Einstieg in Short-Positionen indicator5 = ExponentialAverage[40](close) indicator6 = ExponentialAverage[300](close) c3 = (indicator5 CROSSES UNDER indicator6) IF c3 AND not daysForbiddenEntry THEN SELLSHORT 1 CONTRACT AT MARKET ENDIF // Bedingungen zum Ausstieg aus Short-Positionen indicator7 = ExponentialAverage[40](close) indicator8 = ExponentialAverage[300](close) c4 = (indicator7 CROSSES OVER indicator8) IF c4 THEN EXITSHORT AT MARKET ENDIF // Stops und Targets SET STOP pLOSS 400 SET TARGET pPROFIT 200 |
Share this
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.
ProRealTime ITF files and other attachments :
Filename : download the ITF files
How to import ITF files into ProRealTime platform?
PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials
Hi! Thanks for your strategy
Anyone can check it with 200 bars?
Hi, this simple system for DOW and only shorts has worked quite well, maybe because of its quite big stop/profit. I think is worthed a more detailed look. Thanks
Unfortunately, I never pursued this strategy further. Maybe I should take a look with what I know now. What settings did you use?