BOX 7 o’clock with CAC40 intraday strategy

BOX 7 o’clock with CAC40 intraday strategy

I would like to share a simple intraday strategy with CAC40, but adaptable also with Ftse100 and Eurostoxx.

Improvements and suggestions are welcome, as well as long term backtesting (I get to 100k units)

Main points:

  • 1-minute chart
  • The code works on the 1-hour timeframe to calculate the highs and lows
  • The code works on the 30-minute(long) and 15-minute(short) timeframe to handle the trailing stop
  • The trade still closes by 10 p.m.

There are two codes, one for LONG and one for SHORT.

Saluti.

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. crusoe76 • 08/21/2023 #

    Hi Stanko,
    thanks to share your strategy, I’m currently testing live, 2 things first trailing stop not working, and second it start long positon today and at 9am had notification that short stratedy failed.

    • Stanko • 08/21/2023 #

      Ciao Crusoe76, questa mattina alle ore 8 il mio sistema ha aperto una posizione Long a 7.352,30 ed attualmente la posizione è ancora aperta senza aver ricevuto notifiche. Forse stai testando LARRY CONNOR? Buona giornata

    • crusoe76 • 08/21/2023 #

      Ciao sto testando su uk100 e su cac40. Tutti e due sistemi hanno aperto long alle 8am, poi alle 9am ho ricevuo due notifiche che i due sistemi short erano stoppati. Su tutti e due i sistemi long il trailing stop si e attivato per poi tornare alla posizione iniziale. Il cac40 long e ancora aperto,mentre il uk100 era con un 40 punti di profitto e poi il sitema l’ha chiuso con 3 punti di profitto. Non sono sicuro che il trailing stop funzioni bene.
      Grazie mille

  2. Stanko • 08/21/2023 #

    Ciao Crusoe, grazie per il commento: confermo che il trailing stop non funziona bene. Provo a chiedere aiuto a Roberto o Nicolas. Buona giornata.

  3. taklause • 362 days ago #

    I was wondering, you said it works on the 1 min Chart, but you never use it in the code as timeframe. Does it in a one minute intervall trigger the other timeframes too? Even if they have UpdateOnClose? I Checked your exists and entries, all are on 15,30,45,00 for short and 00,30 for long.

    • Stanko • 358 days ago #

      Ciao taklause. Utilizzando il grafico a 1 minuto e fino al grafico a 15 minuti il codice funziona regolarmente sia nella versione Long che Short. Nello specifico la versione Long può essere usata solo con grafici da 1 fino a 30 minuti perchè il trailing stop è settato a 30 minuti. La versione Short può essere usata solo con grafici da 1 a 15 minuti perchè il trailing stop è settato a 15 minuti.
      Il motivo di questa differenza tra le due versioni è solo per un tentativo di ottimizzazione del codice.

avatar
Register or

Likes

avatar avatar
Related users ' posts
pdrh Bonjour WE ARE SOCIETY,Vous optimisez toujours votre Algo chaque
WE ARE SOCIETY Bonjour, je l'optimise et l'améliore chaque semaine en évitant au maximum les interdictions ...
dammon c'est un bien beau code que tu nous sors là. il m'a fallu du temps pour bien tout comprendre...
YvesRobert Hello davidelaferla, how do you put a stop loss and where exactly ? the moment you enter on ...
Hypersimo Buongiorno Davide a quale distanza inserire stop loss e tp nella strategia? grazie
beanpole Thank you for sharing the code. I applied it to the "CAC40 Index" on Euronext market on a da...
ProRealAlgos.com Hi JohnScher. Yes I think you refer to the strategy called "Turnaround tuesday". This strate...
JohnScher I am not alluding to the turnaround tuesday. The general opinion is that Turnaroundtuesday ...
ProRealAlgos.com Yeah that's maybe not of importance. Anyway. Enjoy! :)
Patrice210 bonjour STANKO, effectivement la première ligne apparait en anomalie et je ne comprend pas v...
KumoNoJuzza Hi guys, Thanks @Stanko and everyone for your contributions. I have been playing around ...
Stanko Hi KumoNoJuzza, thanks for the post. I also tried your code with Dax and the performance is ...
Dom Hello, hello....je commence le trading et découvre par la même occasion le codage....et ce n...
Nicolas Merci, ça fait plaisir !
Be-n Bonjour tout le monde ! Dans l'indicateur de tendance, j'ai du mal à saisir la nuance entre ...
leoulve Hello, I uploaded correctly the screener and it is not selecting any. Is it normal? cheers
Oliviertrader2020 Hello, where do you find the ZeroLagMACDWeek indicator? You only posted the mtf-macd-diverge...
MJZTrader Good morning! I was trying to tweek the code in the way as to set it for intraday (1 Min to ...
mcha Bonjour Nicolas J'ai mis cet indicateur sur une période graphique 1 heure. J'ai choisi 1...
marzibre Bonjour Nicolas. I work mainly on Daily timeframe. I was looking something similar but usi...
TraderGlyn This is an excellent indicator, it provides a hugely useful visual interpretation that filte...
Nicolas Sorry again, doing my best to fix this problem..
Gianluca Sorry but the 2° code that you posted have some problem it doesn't work
Leo I have to check
Mirko Vaglio Interesting idea to bypass the limit of PRT about multiple timeframe, and I am just trying t...
Mirko Vaglio Looking a little bit more, now I understand what had to be absolutely obvious from the first...
Seb nice code! I'm trying to use your method to do a higher timeframe EMA, without success yet. ...
Francesco78 Hi CKW, yes I do run it live, and so far I had no problem, which kind of errors?
JohnScher Hello Francesco. Are you still active with the Threeliner? I also follow that, that you ...
fatlung Hi Francesco May I know the time zone applicable to this strategy?
Doctrading Yes, nice idea.
noisette I tried some backtests with "9:30 MACD" with "Breakout strategy" but results are much better...
Doctrading Hello, can you send us your code ?
TradSuz C'est étrange, je note donc à nouveau les deux horaires achat et vente =9H/17H, le iRSI de l...
TradSuz Merci à Doctrading pour cette trame de code super et qui marche sur d'autres supports aussi....
Bibi83 Bonsoir à tous Juste pour vous informer que j'ai enlever les conditions short et que cela ...
Wisko But the BUY-trigger is below the High of the first two 15min-candels?
Nicolas That's right, because what we want is to enter the market quickly and not wait for the next ...
Wisko Then I don't understand the backtest data. Yesterday (28.9.) range was from ~ 4410,5 - 4450,...

Top