OPEN-SOURCE SCRIPT
Hard Entry & Exit Rules

A strategy built with a considerable amount of help with Claude.Ai.
This indicator/strategy takes a known profitable one and is intended to remove the "human" element to entries and exits, my biggest issue that prevents me from being profitable.
I know what I need to do, but emotion gets the better of me.
By doing this, I hope to reduce the amount of bad trades I take and take emotion out of the equation (or at least remove a considerable amount), with hard rules of when to get in and get out.
This is intended to be tied hand in hand with options trading, and on timeframes 3 minutes to 15 minutes.
It identifies where to enter based and exit on the close of the candles, with a hard stop of the 20ema.
It assumes you take more than 1 share/contract, with 50% being trimmed at the new high/low of day (depending on your direction) and the remaining 50% being trimmed once it crosses under a key level (PDH/PDL, PMH/PML) or the 8ema (or tapping the 20 ema).
It's also time based, and by default only trades in the first hour of the day. This can be changed in the settings.
Human judgement is still required.
Version 1
This indicator/strategy takes a known profitable one and is intended to remove the "human" element to entries and exits, my biggest issue that prevents me from being profitable.
I know what I need to do, but emotion gets the better of me.
By doing this, I hope to reduce the amount of bad trades I take and take emotion out of the equation (or at least remove a considerable amount), with hard rules of when to get in and get out.
This is intended to be tied hand in hand with options trading, and on timeframes 3 minutes to 15 minutes.
It identifies where to enter based and exit on the close of the candles, with a hard stop of the 20ema.
It assumes you take more than 1 share/contract, with 50% being trimmed at the new high/low of day (depending on your direction) and the remaining 50% being trimmed once it crosses under a key level (PDH/PDL, PMH/PML) or the 8ema (or tapping the 20 ema).
It's also time based, and by default only trades in the first hour of the day. This can be changed in the settings.
Human judgement is still required.
Version 1
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.