TANGIER Germany30 – Time frame 30 minutes

TANGIER Germany30 – Time frame 30 minutes

Hello everybody! I post here a strategy that I am using with real money.

It uses trend direction (slope) of the 20 periods moving average and the price momentum.

Orders are then triggered once the RSI 20 periods enter in overbought and oversold areas.

Tested with 100k bars: if someone could test it with 200k bars and let me then know the result, this would be many appreciated!!

Best regards.

H.

 

Share this

Risk disclosure:

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 : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Jean-Christophe • 01/28/2019 #

    Buon Giorno Discomusic ! Tested with 200k bars tick by tick (16/08/2010->now):
    – almost flat from 16/08/2010 till Q2 2015
    – capital curve increases since Q2 2015
    – win position 50%, profit factor 1,26
    – profit = 4719€
    – max drawdown 1176€

    • discomusic • 01/28/2019 #

      many thanks!! Interesting… Just a question, please, how is i psssible to obtain the 200k bars for the backtests?
      Thanks, have a nice day,

    • Jean-Christophe • 01/28/2019 #

      To get 200k bars you must have either a premium or a sponsored CFD account : https://trading.prorealtime.com/it/ig

  2. PastaPesto • 01/28/2019 #

    Hello, Thanks for sharing.
    I did a quick test on Wallstreet and it looks pretty good on 1 hour chart. You probably need to raise pips there because there are many 0 bars on closed positions. It seems to be ok even on larger SL and TP levels on wallstreet.
    Maybe you should look at more index, to see if there is something there.

    • discomusic • 01/28/2019 #

      Hi! thanks!! Very interesting! I shall make some other test, and then I inform you.
      I like to consider us as a team, without secrets or similar… As I guess that ‘together’ we can have more chances.. 🙂

    • discomusic • 01/28/2019 #

      ok, thank you!!!! 🙂

  3. fifi743 • 01/28/2019 #

    Hello, I made some changes attached here
    cordially

  4. discomusic • 01/28/2019 #

    Hi GraHal! Thanks for the suggestion: I have just created this thread: https://www.prorealcode.com/topic/tangier-germany30-strategy-time-frame-30-minutes/
    As PastaPesto remarks, this strategy could work (perhaps better) on other charts. I am doing some test in this direction, with good results..
    I shall post here the best of them. Unfortunately I can only load 100k bars backtests.
    Let us try to work togheter, to obtain something reliable.
    Ciao!

  5. Davide Bramerini • 01/28/2019 #

    it is really good ?

  6. Davide Bramerini • 01/28/2019 #

    is really good for the cac 40

  7. Tony87 • 01/28/2019 #

    on 200k test in the red untill 2017 then strong green

  8. LancerX • 01/28/2019 #

    Please indicate the trade stat to show ave gain against average lost..

  9. Jan Wind • 01/28/2019 #

    Thanks for sharing the strategy !.
    Did you do an Out of Sample run when testing on the 100k bars ? I usually test my strategy with 66% in sample and 34% out of sample (just one, not 5 which is stated by default) on the total run of in this case 100k bars.

  10. jmf125 • 01/28/2019 #

    I don’t know if anyone is following this thread anymore. Anyway I will post my comment.
    After many years I decide to go back to prorealtime and imported this strategy. I am using IG Indexand tried it on Germany30 , 30 mins interval.
    My results are totally different from the time period shown (Feb 2018 to Feb 2019). I have 3 trades and a total loss of 130.
    What am I doing wrong ? Import of the strategy, same market, same timeframe. Is it IG Index ?

  11. Andrea.1981 • 01/28/2019 #

    hey i have optimized this code …if anyone whant look it worck on germany 1euro not 5euro that it was …. and only 1 contract
    i make 2 versiono first is normal take profit but is very linear profit and second a simply trail stop make more profit.

    • Exalaxe • 01/28/2019 #

      Hey, i just noticed you optimized this strategy. Could i see your new version, please?

  12. Andrea.1981 • 01/28/2019 #

    sorry i add my code but it not enter why i dont know

  13. Andrea.1981 • 01/28/2019 #

    this is code simply stop , and you can see another version for stop

    / Codice principale : TANGIER _ ger30 30min ok
    //————————————————————————-
    // Definizione dei parametri del codice
    DEFPARAM CumulateOrders = False // Posizioni cumulate disattivate
    DEFPARAM FLATBEFORE = 090000
    DEFPARAM FLATafter = 175500
    indicator1 = RSI[25](close)
    c1 = (indicator1 CROSSES OVER 50)
    c8=close>average[15]
    c65=Momentum[12]>momentum[13][1]
    c66=momentum[14][1]>momentum[12][2]
    IF c8 and c1 and c65 and c66 THEN
    BUY 1 CONTRACT AT MARKET
    ENDIF

    indicator2 = RSI[15](close)
    c2 = (indicator2 CROSSES UNDER 60)
    c13= average[17]<average[16][1]
    IF c2 or c13 THEN
    SELL AT MARKET
    ENDIF

    indicator3 = RSI[22](close)
    c3 = (indicator3 CROSSES UNDER 32)
    c34=close<average[20]
    c65=Momentum[12]<momentum[12][1]
    c66=momentum[14][1]average[22][1]
    IF c5 or c13 THEN
    EXITSHORT AT MARKET
    ENDIF

    SET STOP pLOSS 40
    //tsl = round(440/10000*close)
    SET TARGET pPROFIT 40//tsl

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+11 more likes

Related users ' posts
Elsborgtrading No that is wrong :) 1st runs always- then only run 2nd if 1st is on market with positions(ar...
Elsborgtrading It can only be fully automated if IG change minimum SLto 7 at night on DAX multi timefra...
Elsborgtrading A small example. the strategy would have opened 3 position on Dec 4th 2016 and keept it for ...
Cosmic1
9 years ago
Cosmic1 @JadeDB What times are you putting in?
sincitytrader I tried this one out recently,  and wasn't profitable for me.
Cosmic1 Yes, not great lately. I stopped this live at the end of last year. Will wait to see when th...
rpreviteri Hi Nicolas, thanks a  loto for sharing your knowliedge, Wasn't the original momentum pinball...
air Thank you!  
elanoa Buonasera sig. Nicolas......sarebbe possibile far in modo che quando l'indicatore raggiunga ...
Philip Raphael Hey! Thank so much for sharing this wonderful indicator! I have always tried to code a simil...
CKW Hi Philip, What do you mean "Years" are not defined ? candle? If to code yearly candle size...
dakaodo Years not defined was probably b/c Phillip copied and pasted the code into PRT instead of im...
zilliq The reasons why I think it's time consuming and we loose time to try to do backests and Auto...
filiprb Hello Zilliq, You don't need a system to produce a walk forward test. You can easily create...
Philip Raphael It is incredible! Thanks for sharing, Doctrading!
Reiner
9 years ago
Nicolas You should join and read the forum thread about this strategy. There are plenty of different...
Reiner Hi djtaktik and welcome, I have answered your question in the related Pathfinder forum beca...
danver34 is this version the definitive one or from the original one have there been modifications to...
Reiner
9 years ago
Nicolas Overfit on past history obviously. But it doesn't mean that it would still underperformed in...
Francesco78 Thank you for the clarifications Nicolas, I am more aware of the meaning of the backtesting ...
CanAny1Trade Hi all, could a simple indicator be made to mark the traditional Pit based ORB? I'm tryi...
Fabio Anthony Terrenzio this strategy works only in a well defined trend
brosly Good afternoon I am trying to get the complete code of lex strategy made by adolfo since I s...
dreif123 hi Adolfo, is Alex Auto Trading Botindex working on DAX as well ? if so , can you post the...
s00071609 Hi, could you please suggest, what this codes gives, lowest[b](rsi[a]) -- just trying to us...
Nicolas lowest[b](rsi[a]) returns the lowest values of the RSI of "a" periods, over the last "b" per...
s00071609 Hi, what would be the code to get the price for last bullish DTOSC cross over. I am looking ...
Doctrading I forgot to write at the beginning :  a = 50 b = 50 These are intermediate levels Sorry
DerPat Thank you. This one could be an aid in my current research on stochastics.
Pelayo it is possible that in line 12 we should put seuilinf=-b, thaks for all
hvluthy@sunrise.ch I'm very interested to try out your strategy, but as a bloody newbie I need some help regard...
Scalp Hola Adolfo, tengo una variante de tu estrategia, pero no se programar, me puedes ayudar al ...
ALZ Hi, I tested this strategy and that doesn't work.. strategy is losing.. Does anyone curr...
Nicolas Ahah, I'm not the author of this one :) I know you are a great coder Wilko, why don't you p...
Wilko Thanks for the flattery! I will, I promise.  /F
Nicolas Still don't have seen anything from your own :) You promised me! Ahaha 
Andres Uffff, I didn't adjust the different index spreads. With the heavy spread of Italy It's nega...
davidp13 Good day. I know this was posted such a long time ago, but I though rebuilding the system on...
davidp13 Also to note that the one position in my code does not close the other, which as far as I kn...
Dave Hi, I'm new to coding and have been trying to modify the code a little to backtest an idea I...
Nicolas Better use the forums for coding assistance please. You'll get more results there for sure.
Dave Apologies - only just learning the site layout. Maybe you could delete the post?
lglmrc Can't make it work, says: "Define p variable"
Ezio Hi Xel and thanks, do you know if there is a way in PRC of reading/counting intraday ticks?...
inadis ive just discovered this, i must say very nice thanks.
Nicolas RSI is an oscillator made for price centering. This strategy bet on mean reverting phenomena...
air Good start. Works decently during stock runaway bull market. I have tested it over 80 year p...
TheHovisTrader Hi - the way Larry trades it does not work - discovered that over 10 years ago! BUT If you ...
phili711 Bonjour Si la moyenne 100 est au dessus de la moyenne 20 le trend est baissier zlors pourqu...
Nicolas La comparaison se fait entre la valeur de la moyenne actuelle et telle qu'elle était il y a ...
Thomas007 we should definitely open a new thread for intraday trading - can we post the link once it's...
Glen Marquis I wonder how this fairs on 5 or 15 mins. Maybe 21 or 25 instead of 14 .
Doctrading Hello, you can test it. It's not my best strategy... but I think someone can improve it.

Top