DAX mini strategy – Contrarian orders accumulation (sellshort) tf = 12h

DAX mini strategy – Contrarian orders accumulation (sellshort) tf = 12h

hi,

I am a new user and wanted to post a very simple strategy which wait and accumulate, based on a supertrend indicator (but this is the less important aspect… you can use any other indicator you like).

The system accumulate when the performance is less then 6% and take profit when greater than 0.6%.

Obviously the results seems to be great….. but it’s risky (high potential drawdown).

I set the system to work at lunch time (because it’s comfortable for my needs).

You can change the time frame according to take profit/accumulate parameters and you can obtain various results….

If you want can turn the same strategy using “buy”.

No moneyManagement applied.

I would like to know your opinion about the strategy, but remember that I am at first experience….

🙂

code

 

thx to all

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. Nicolas • 03/20/2017 #

    Indeed, if you are not willing to loose, you will always win. Averaging down losers can carry your account to disaster, so I must warn everyone willing to trade this strategy in live environment. The fact that you are using a 12 hours timeframe resolve in part the problem of contrarian orders accumulation to get back to their average opened price: you don’t often open new trade. Sometimes price get back to its mean sufficiently (like it always do), to close the basket in profit. Your post passed the pending review test to be part of the library, because even if the strategy is very risky, the way you coded it can be useful to a lot of people. I have also wrote an article, weeks ago, about averaging down and this strategy illustrate it: https://www.prorealcode.com/blog/trading/averaging-techniques-automated-trading/

  2. David • 03/20/2017 #

    You’re always safer going Long especially with averaging down on an index as the probability of it going to ZERO is almost ZERO but conversely you never know how high the index will go especially in a major bull run which will wipe you out 100%. Consider revising this for Long system but it’s still risky.

  3. Oskar Bergvall • 03/20/2017 #

     I noted Davids and Nicolas remarks. Could it be possible to make an indicator for contrarian orders, or will it be the same as an existing indicator maybe?
     

avatar
Register or

Likes

avatar avatar avatar avatar avatar
Related users ' posts
Iván
3 weeks ago
Iván I personally like it in daily timeframe
oliTR Many thanks Ivan, I copy/paste your code to try it but could only get a constant stable unif...
Iván Hi, I've copied the code above and it works... what asset are you trying? $indices array ...
Iván
1 month ago
Madrosat Hello Ivan You have interesting topics on indicators , smart supertrend, optimised trend t...
Iván Hi! thanks. All of these codes are translations requested in the forum. I've on mind to back...
winnie37 bonjour, une petite idée d'ajout mais que je ne saurai coder, ajouter au stop loss un break ...
sfl This is dangerous, did you see aug 2023 ? I would not run live this algo, need more daata to...
winnie37 could you post the backtest please ?
Nicolas Simple strategy with this indicator is available here: https://www.prorealcode.com/topic/ut-...
FXtonio Nicolas.... MERCI 1 millions de fois, cet indicateur gagne dans 75% des cas en scalping m1 ...
davy42 bonjour, à quel moment apparait le fleche, à l'ouverture ou la fermeture de la bougie? merci
JS
9 months ago
JohnScher Short variant, see at https://www.prorealcode.com/topic/late-lunch-trade-dax40-strategy/
DANY Hi JohnScher, Thanks a lot for your contribution. Consider this release to avoid overfit...
JohnScher Thank you so much for exploring the Late Lunch Strategy. For discussion and in answer to yo...
BenJuice JohnScher, merci de partager ta stratégie. Je suis nouveau dans ce domaine, sur ton code q...
JohnScher As a percentage of the price, here 2%. StopLoss as well as TargetProfit. SL and TP come ...
Wilko I absolutely love the simplicity of this mean-reversion strategy. Well done!
KumoNoJuzza Bonjour, @rominet44 pourrais tu expliquer à quoi sert le filtre: M8=average[11](close) // ...
Nicolas la moyenne mobile 11 période actuelle est ascendante ou descendante, on teste sa valeur vis ...
Patrice210 bonjour STANKO, effectivement la première ligne apparait en anomalie et je ne comprend pas v...
snucke i dont think you understod the question. i did not ask about the band pass indicator. i as...
thomas2004ch Hi, Is this startegy suitable for daily SPY? Regards
ebous64 Je cherche à traiter des effets de bords avec un encadrement ajustable des variables. Vous a...
JohnScher Postscript: It's running in the live right now. One position after the other is opened. ...
ullle73 nice!! how's it been since your last post on going live? :)
thomas2004ch Hi, Is this strategy suitable for daily SPY? Regards
AndPar Buongiorno Nicolas, vorrei provare questo indicatore, ma quando lo inserisco in PRT mi vengo...
Nicolas Basta aggiungerlo al prezzo https://www.prorealcode.com/blog/video-tutorials/how-to-add-an-i...
Aragorna hello Nicolas, this indicator works with the last Beta version of PRT? Ive seen tha many in...
wally Hola soy nuevo en el mudo robots. Alguien seria tan amable de poner el archivo itf.file ya q...
Darren Nash I found this works well on the DOW
thomas2004ch Hi John, Is your strategy suitable for daily SPY? Regards
cdc.andersson Hello, I´m trying to paste the code and start testing but can´t get it to work in PRT. Shoul...
Lupo32 Thank You Aaron
superfalcio I'm having no more issue on the new Prorealtime release 11.1
mickey992 salut merci pour ton partage et ton travaille
patapouf Hi Vivien René I just discovered your “Ordered trend-following stocks Screener”. Great work...
Nicolas Oui le code est correct et il fonctionne, j'ai de bons résultats sur la liste NASDAQ par exe...
pincherman Bonjour :-) J'ai coller le script dans prorealtime pour jouer avec le supertrend et j'ai un...
Nicolas Vous l'avez sans doute collé au mauvais endroit, dans l'éditeur de code pour les stratégies,...
FXmike hey my friends, thank you for this great code. my problem is he make no trade open. backtest...
FXmike Can i put a Action that my start contract is smaller than 1 ? 0.3 or 0.5 ? In wich Position...
phoentzs I wrote the code for M15 back then and also variants in H1 and M1. Everything works so far....
Jan Wind Thanks for sharing ! The Gain/Loss ratio is a bit low, 1,16, hardly offset the risks take...
drive whats the period ?
Lucas0000 Hola. estoy buscando un programador en proorder, para hacer un programa basado en el Q-trend...
Ludwig Bonjour Merci pour le code, je souhaite intégrer un break even et mette en place un réinves...
superfalcio hello, this strategy is pretty interesting, anyway on index after diferent suggestion and im...
Fralex Hello everyone I optimized the original “LongOnly-DAX-4H-TMA-Channel” algorithm over a pe...
Nicolas Just add it on the price series.
yomisadiku Hello Nicolas, Can I use high and low price at lines hh=max(hh,close) and ll=min(ll,close) ...
Nicolas Yes you can do that, the impact will be that the trailing stop line will be much close to th...

Top